<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>80494</bug_id>
          
          <creation_ts>2012-03-06 23:16:07 -0800</creation_ts>
          <short_desc>REGRESSION (r100847): Entries are clipped out in Day One</short_desc>
          <delta_ts>2012-03-09 12:03:48 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to>mitz</assigned_to>
          <cc>abarth</cc>
    
    <cc>annevk</cc>
    
    <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>dglazkov</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>ojan</cc>
    
    <cc>sam</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>572573</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-03-06 23:16:07 -0800</bug_when>
    <thetext>REGRESSION (r100847): Entries are clipped out in Day One</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572580</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-03-06 23:22:24 -0800</bug_when>
    <thetext>&lt;rdar://problem/10923294&gt;

With TOT WebKit, journal entires in Day One are clipped vertically. The app uses embedded web content to render its UI, and that content relies on document.width and document.height, which were made inaccessible in &lt;http://trac.webkit.org/r100847&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572587</commentid>
    <comment_count>2</comment_count>
      <attachid>130555</attachid>
    <who name="">mitz</who>
    <bug_when>2012-03-06 23:32:59 -0800</bug_when>
    <thetext>Created attachment 130555
Re-enable the JavaScript bindings for document.wiwidth and document.height</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572596</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-06 23:43:14 -0800</bug_when>
    <thetext>I&apos;m not sure we should make these APIs visible to the web.  They&apos;re not part of any spec and they&apos;re not implemented in any other rendering engine.  It doesn&apos;t seem right for Mac app compatibility to drive changes to the web platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572606</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-03-06 23:57:03 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; I&apos;m not sure we should make these APIs visible to the web.

These properties have been accessible from JavaScript in major web browsers for over 5 years now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572613</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 00:00:46 -0800</bug_when>
    <thetext>That&apos;s true, but so are my statements in Comment #3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572617</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 00:04:37 -0800</bug_when>
    <thetext>Another way of explaining my point of view is that this bug is specific to Mac app compatibility.  As such, it seems appropriate for the solution to also be specific to Mac apps.

If there&apos;s a reason to expose these APIs to the web at large, that&apos;s another matter, but you haven&apos;t given such a reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572899</commentid>
    <comment_count>7</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2012-03-07 08:29:08 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; Another way of explaining my point of view is that this bug is specific to Mac app compatibility.  As such, it seems appropriate for the solution to also be specific to Mac apps.
&gt; 
&gt; If there&apos;s a reason to expose these APIs to the web at large, that&apos;s another matter, but you haven&apos;t given such a reason.

As we currently don&apos;t have a way to easily enable a JS binding for a particular mac app, it seems to me the need to fix a regression out weighs the theoretical pollution of the web platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572949</commentid>
    <comment_count>8</comment_count>
    <who name="Ms2ger (he/him; ⌚ UTC+1/+2)">Ms2ger</who>
    <bug_when>2012-03-07 09:17:35 -0800</bug_when>
    <thetext>This is not a case of &quot;theoretical pollution&quot;, and phrasing it as such is disingenuous. This is yet another case where WebKit makes the web worse for no reason at all; issues with non-web embeddings should be fixed with those embeddings, as has been done in a number of cases already. (Canvas comes to mind, in particular.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572960</commentid>
    <comment_count>9</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-03-07 09:34:27 -0800</bug_when>
    <thetext>Disingenuity is having this discussion as if WebKit had not been shipping with this behavior for over half a decade, it was changed very recently in TOT without compelling justification, causing a regression, and attachment 130555 is restoring the status quo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572961</commentid>
    <comment_count>10</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 09:37:22 -0800</bug_when>
    <thetext>&gt; As we currently don&apos;t have a way to easily enable a JS binding for a particular mac app, it seems to me the need to fix a regression out weighs the theoretical pollution of the web platform.

We actually do have an easy mechanism for doing that.  One simply needs to add a script similar to http://trac.webkit.org/browser/trunk/Source/WebKit/mac/Misc/MailQuirksUserScript.js</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572966</commentid>
    <comment_count>11</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 09:39:08 -0800</bug_when>
    <thetext>&gt; it was changed very recently in TOT without compelling justification

The justification is the same as in comment #6, namely that this API isn&apos;t part of any standard and isn&apos;t implemented by other rendering engines.  Exposing this API to the web is bad for the web because it reduces interoperability.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572970</commentid>
    <comment_count>12</comment_count>
      <attachid>130555</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 09:43:22 -0800</bug_when>
    <thetext>Comment on attachment 130555
Re-enable the JavaScript bindings for document.wiwidth and document.height

I&apos;m not saying we shouldn&apos;t fix the regression---we should---I&apos;m saying we should do so in a way that doesn&apos;t expose this API to the web platform.  We might later discover that there&apos;s a reason to expose this API to the web platform, but currently it appears that doing so has only costs and not benefits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572975</commentid>
    <comment_count>13</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 09:48:46 -0800</bug_when>
    <thetext>(To be clear, the reason I changed Sam&apos;s r+ to an r- is because half of the reason he gave for marking it r+ was factually incorrect.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572977</commentid>
    <comment_count>14</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-03-07 09:52:31 -0800</bug_when>
    <thetext>Fixed in http://trac.webkit.org/projects/webkit/changeset/110065

Feel free to reopen bug 72591 and propose a different approach to addressing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573006</commentid>
    <comment_count>15</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 10:39:02 -0800</bug_when>
    <thetext>To be clear, you landed this patch over my explicit objection even though the patch was marked review- at the time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573050</commentid>
    <comment_count>16</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-03-07 11:28:43 -0800</bug_when>
    <thetext>(In reply to comment #15)
&gt; To be clear, you landed this patch over my explicit objection even though the patch was marked review- at the time.

What makes you say this? At &lt;https://bugs.webkit.org/show_activity.cgi?id=80494&gt; I see a line that says

abarth@webkit.org	2012-03-07 09:43:22 PST	 Attachment #130555 Flag	review+	review-

and at &lt;http://trac.webkit.org/changeset/110065&gt; I see

Timestamp: 03/07/2012 09:38:56

My understanding is that the clocks on these two systems are within less than one minute of each other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573058</commentid>
    <comment_count>17</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-07 11:34:55 -0800</bug_when>
    <thetext>(Thanks for pointing out the date on the commit.  I was only looking at the comments on this bug.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573856</commentid>
    <comment_count>18</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-03-08 08:40:20 -0800</bug_when>
    <thetext>(In reply to comment #17)
&gt; (Thanks for pointing out the date on the commit.  I was only looking at the comments on this bug.)

Still seems a bit of an uncool situation. If I remember correctly, I&apos;ve been in Dan&apos;s place a couple of years back and I immediately rolled out the patch and apologized profusely. Perhaps I am just too nice of a guy :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574243</commentid>
    <comment_count>19</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-03-08 14:46:16 -0800</bug_when>
    <thetext>I&apos;m not going to press the issue.  However, I&apos;m not sure this bug is a model for how we&apos;d like the project to operate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>575052</commentid>
    <comment_count>20</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-03-09 12:03:41 -0800</bug_when>
    <thetext>&gt; However, I&apos;m not sure this bug is a model for how we&apos;d like the project to operate.

I think (and what I did in some cases before) is that in controversial cases, it&apos;s desirable to give all parties some time to comment even when there is already r+ on a patch. This patch was in attachment overnight, which seems almost enough, but obviously wasn&apos;t enough to avoid complications.

Monitoring bugs realtime for quick erroneous r+/commit is not something I&apos;d like reviewers to be pressed into.

However, I don&apos;t necessarily agree that undoing the commit is always the right action upon review override that happened during commit. In this case specifically, Dan returned us to a state that we&apos;ve been in for years, and where we don&apos;t have a regression in a shipping 3rd party application. That&apos;s clearly a better state for calm and thoughtful discussions on the merits of API removal.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>130555</attachid>
            <date>2012-03-06 23:32:59 -0800</date>
            <delta_ts>2012-03-07 09:43:22 -0800</delta_ts>
            <desc>Re-enable the JavaScript bindings for document.wiwidth and document.height</desc>
            <filename>bug-80494-20120306233257.patch</filename>
            <type>text/plain</type>
            <size>3245</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDExMDAyMCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDEyLTAzLTA2ICBEYW4gQmVy
bnN0ZWluICA8bWl0ekBhcHBsZS5jb20+CisKKyAgICAgICAgPHJkYXI6Ly9wcm9ibGVtLzEwOTIz
Mjk0PiBSRUdSRVNTSU9OIChyMTAwODQ3KTogRW50cmllcyBhcmUgY2xpcHBlZCBvdXQgaW4gRGF5
IE9uZQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9ODA0
OTQKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBUZXN0
OiBmYXN0L2RvbS9IVE1MRG9jdW1lbnQvd2lkdGgtYW5kLWhlaWdodC5odG1sCisKKyAgICAgICAg
KiBodG1sL0hUTUxEb2N1bWVudC5pZGw6IFJldmVydGVkIHIxMDA4NDcgYnkgcmUtZW5hYmxpb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lKCJQQVNTLiBUaGUgZG9jdW1lbnQud2lkdGggYW5kIGRvY3VtZW50LmhlaWdodCBwcm9w
ZXJ0aWVzIGFyZSBhY2Nlc3NpYmxlIGZyb20gSmF2YVNjcmlwdC4iKTsKKyAgICBlbHNlCisgICAg
ICAgIGRvY3VtZW50LndyaXRlKCJGQUlMLiBkb2N1bWVudC53aWR0aCBvciBkb2N1bWVudC5oZWln
aHQgYXJlIG5vdCBhY2Nlc3NpYmxlIGZyb20gSmF2YVNjcmlwdC4iKTsKKzwvc2NyaXB0Pgo=
</data>
<flag name="review"
          id="133584"
          type_id="1"
          status="-"
          setter="abarth"
    />
          </attachment>
      

    </bug>

</bugzilla>