<?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>8852</bug_id>
          
          <creation_ts>2006-05-11 09:57:56 -0700</creation_ts>
          <short_desc>Scripts should not be executed before preceding stylesheets are loaded</short_desc>
          <delta_ts>2011-03-22 10:41:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.worldofwarcraft.com/realmstatus/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>56842</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
    
    <cc>eric</cc>
    
    <cc>ian</cc>
    
    <cc>koivisto</cc>
    
    <cc>mitz</cc>
    
    <cc>slamm</cc>
    
    <cc>tkent</cc>
    
    <cc>tonyg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42006</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-11 09:57:56 -0700</bug_when>
    <thetext>Steps to reproduce:
1. Open &lt;http://www.worldofwarcraft.com/realmstatus/&gt;.
2. Look at the JavaScript console - lots of error messages.

Most likely, something in this site actually doesn&apos;t work, I haven&apos;t investigated. But the errors are scary enough on their own - the main problem here is that the initialization script fails early with an assertion.

This init script tries to reference a stylesheet that is supposed to be loaded before it. However, WebKit defers loading the stylesheet, so it is not present, so we get an exception.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42007</commentid>
    <comment_count>1</comment_count>
      <attachid>8241</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-11 10:02:51 -0700</bug_when>
    <thetext>Created attachment 8241
test case

Should be:

1st alert: 
0: [object CSSStyleSheet]
1: undefined

2nd alert:
0: [object CSSStyleSheet]
1: [object CSSStyleSheet]

You may need to reload the page or restart Safari to reproduce the problem more than once.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42023</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-11 11:37:47 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; the initialization script fails early with an assertion.

Oops, this should have been &quot;the initialization script fails early with an exception&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49229</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-07-11 04:59:46 -0700</bug_when>
    <thetext>&gt; Scripts should not be executed before preceding subresources are loaded

Is that specified somewhere? If not, what rules would you suggest following?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49234</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-07-11 05:55:01 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Is that specified somewhere?

  I&apos;m not aware of any such specification (or what specification could possibly talk about such things).

&gt; If not, what rules would you suggest following? 

  Defining the rules would be a major step towards resolving this issue :). As a guess to ignite a discussion: perhaps a script should be paused when it accesses DOM for something that causes layout (like offsetTop does), and stylesheets are not loaded yet? And of course, when it accesses stylesheets themselves.

  If I understood Maciej correctly, JSC currently lacks the ability to pause script execution, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49237</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-07-11 06:28:36 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; perhaps a script should be paused when it
&gt; accesses DOM for something that causes layout (like offsetTop does), and
&gt; stylesheets are not loaded yet? And of course, when it accesses stylesheets
&gt; themselves.

OK, one thing I was wondering about was what &quot;subresources&quot; encompassed. Is it limited to stylesheets? The other thing was &quot;preceding&quot; - what if the script inserts a &lt;link rel=&quot;stylesheet&quot;&gt;? Should it block until it&apos;s loaded?

Finally, if the desired behavior is not specified, could there be a way to apply it as a quirk only to pages that may actually need it (those whose authors haven&apos;t heard of onload)?

&gt; If I understood Maciej correctly, JSC currently lacks the ability to pause
&gt; script execution, though.

Especially given that, it would be very sad to not even start executing any script until stylesheets have loaded, although that does seem to be exactly what Firfox does :-(
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50464</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2006-07-20 16:01:10 -0700</bug_when>
    <thetext>What Mozilla does is a long-standing bug that they intend to fix:

   https://bugzilla.mozilla.org/show_bug.cgi?id=84582

There, I suggest blocking when trying to evaluate a &lt;script&gt; until the short timer has blown or the styles heets have been loaded. I wouldn&apos;t bother doing any special about inline event handlers, or scripts attached from other documents, or anything like that. They can just live in the not-yet-styled world if they are fired early. People who want to reliably do offsetTop nonsense in esoteric cases like that can use the onload event. As far as accessing style sheets that haven&apos;t loaded yet, i.e. this bug, I think there&apos;s not much one can do. That&apos;s what the &quot;load&quot; event is for; if the load hasn&apos;t completed yet then trying to access the style sheets isn&apos;t going to work.

In short, I think this is WONTFIX or INVALID.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327588</commentid>
    <comment_count>7</comment_count>
      <attachid>77623</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 09:29:12 -0800</bug_when>
    <thetext>Created attachment 77623
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327590</commentid>
    <comment_count>8</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 09:33:33 -0800</bug_when>
    <thetext>Firefox (3.5) also blocks inline scripts inserted by document.write() which this patch doesn&apos;t do. That behavior gives a rather strange script execution order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327592</commentid>
    <comment_count>9</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 09:35:29 -0800</bug_when>
    <thetext>*** Bug 24898 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327595</commentid>
    <comment_count>10</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 09:39:42 -0800</bug_when>
    <thetext>&lt;rdar://problem/5471785&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327677</commentid>
    <comment_count>11</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-29 13:08:06 -0800</bug_when>
    <thetext>What does HTML5 say now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327684</commentid>
    <comment_count>12</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 13:30:38 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; What does HTML5 say now?

&quot;If the element does not have a src attribute, and the element has been flagged as &quot;parser-inserted&quot;, and the Document of the HTML parser or XML parser that created the script element has a style sheet that is blocking scripts:

The element is the pending parsing-blocking script of the Document of the parser that created the element. (There can only be one such script per Document at a time.)&quot;

http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327715</commentid>
    <comment_count>13</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-29 15:29:36 -0800</bug_when>
    <thetext>&gt; If the element does not have a src attribute

But this bug is about a link element with an href attribute, not a script element without src?

Please don&apos;t get me wrong, I&apos;m not opposing this change myself, but there seems to be significant controversy around it. I&apos;m also not sure what Mozilla did in &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=84582&gt; in the end.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327747</commentid>
    <comment_count>14</comment_count>
      <attachid>77623</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-12-29 16:49:42 -0800</bug_when>
    <thetext>Comment on attachment 77623
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=77623&amp;action=review

&gt; WebCore/dom/PendingScript.h:95
&gt; +    CachedResourceHandle&lt;CachedScript&gt; m_cachedScript; 

The patch adds a trailing space to this line, which made the source code control system think we modified it.

&gt; WebCore/html/parser/HTMLScriptRunner.cpp:-310
&gt; -            // FIXME: We do not block inline &lt;script&gt; tags on stylesheets to match the
&gt; -            // old parser for now.  When we do, the ASSERT below should be added.
&gt; -            // See https://bugs.webkit.org/show_bug.cgi?id=40047
&gt; -            // ASSERT(document()-&gt;haveStylesheetsLoaded());

Why didn’t you add the assertion the way the comment said we would?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327748</commentid>
    <comment_count>15</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-12-29 16:50:21 -0800</bug_when>
    <thetext>(In reply to comment #13)
&gt; &gt; If the element does not have a src attribute
&gt; 
&gt; But this bug is about a link element with an href attribute, not a script element without src?
&gt; 
&gt; Please don&apos;t get me wrong, I&apos;m not opposing this change myself, but there seems to be significant controversy around it. I&apos;m also not sure what Mozilla did in &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=84582&gt; in the end.

I didn’t see this comment about controversy when I reviewed the patch. Please don’t consider my review an attempt to override Alexey’s concerns.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327749</commentid>
    <comment_count>16</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 16:50:42 -0800</bug_when>
    <thetext>(In reply to comment #13)
&gt; &gt; If the element does not have a src attribute
&gt; 
&gt; But this bug is about a link element with an href attribute, not a script element without src? 

We implemented blocking external script execution on stylesheet loads years ago. Using this bug for the remaining work seems appropriate. Your test case is about inline scripts too.
 
&gt; Please don&apos;t get me wrong, I&apos;m not opposing this change myself, but there seems to be significant controversy around it. I&apos;m also not sure what Mozilla did in &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=84582&gt; in the end.

What controversy? The only reason we didn&apos;t do this along with the original change was that it was much more work with the old parser and there was other stuff to do. Having this kind of behavior difference between inline and external scripts makes no sense at all (besides, HTML5 requires it and no other engine behaves like this as far as I know).

I think the unclear part is what to do with script inserted external stylesheet/inline script pair. The patch maintains the old behavior in this rare case for now even though HTML5 (or Gecko) apparently do not have this special case. https://bugs.webkit.org/show_bug.cgi?id=40047 had some discussion...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327754</commentid>
    <comment_count>17</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 16:55:44 -0800</bug_when>
    <thetext>&gt; &gt; WebCore/html/parser/HTMLScriptRunner.cpp:-310
&gt; &gt; -            // FIXME: We do not block inline &lt;script&gt; tags on stylesheets to match the
&gt; &gt; -            // old parser for now.  When we do, the ASSERT below should be added.
&gt; &gt; -            // See https://bugs.webkit.org/show_bug.cgi?id=40047
&gt; &gt; -            // ASSERT(document()-&gt;haveStylesheetsLoaded());
&gt; 
&gt; Why didn’t you add the assertion the way the comment said we would?

Because the assert would be wrong as we still allow script execution with pending sheets in the case of nested script execution. The comment above tries to explain.

(I could modify the assert, but asserting for the exact same thing I test with if() above seems pointless)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327759</commentid>
    <comment_count>18</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-29 17:20:21 -0800</bug_when>
    <thetext>&gt; What controversy?

Please see comment 6 from Ian: &quot;I think this is WONTFIX or INVALID&quot;. Mitz seemed unhappy about this in comment 5. And some comments in the Mozilla bug talk about crazy things like having a short timeout - as mentioned before, I&apos;m not sure what they ended up doing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327774</commentid>
    <comment_count>19</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 18:00:07 -0800</bug_when>
    <thetext>(In reply to comment #18)
&gt; &gt; What controversy?
&gt; 
&gt; Please see comment 6 from Ian: &quot;I think this is WONTFIX or INVALID&quot;. Mitz seemed unhappy about this in comment 5. And some comments in the Mozilla bug talk about crazy things like having a short timeout - as mentioned before, I&apos;m not sure what they ended up doing.

That comment is from 2006!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328027</commentid>
    <comment_count>20</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-30 13:24:37 -0800</bug_when>
    <thetext>Alexey, I don&apos;t know how to address your concern. Perhaps you could suggest a way to move forward?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328029</commentid>
    <comment_count>21</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-30 13:34:14 -0800</bug_when>
    <thetext>I suggest addressing comments from 2006 (perhaps reaching out to people who made them, and to Hyatt, who made some comments on IRC, if I remember correctly). Figuring out what exactly Mozilla did seems important, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328040</commentid>
    <comment_count>22</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-30 14:30:34 -0800</bug_when>
    <thetext>(In reply to comment #21)
&gt; I suggest addressing comments from 2006 (perhaps reaching out to people who made them, and to Hyatt, who made some comments on IRC, if I remember correctly). Figuring out what exactly Mozilla did seems important, too.

Hyatt was unhappy I didn&apos;t do this change right away when I made external scripts block on stylesheet (since it is a bad inconsistency). Ian&apos;s current position is probably best expressed by the HTML5 spec. Dan is cc&apos;d and can comment. I have tested Mozilla 3.5 behavior and it is more aggressive than this patch (pending stylesheets block script execution in all cases, including nested document.write()).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328042</commentid>
    <comment_count>23</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-30 14:34:06 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/33544 was the change that implemented most of this bug (making external script execution block on stylesheets)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328043</commentid>
    <comment_count>24</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-30 14:35:40 -0800</bug_when>
    <thetext>...where the ChangeLog says

&quot;This will make external script execution block on external stylesheet loads. A full fix (as discussed with Hyatt) will also need to block inline script execution.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328045</commentid>
    <comment_count>25</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-30 14:36:00 -0800</bug_when>
    <thetext>Did you test Firefox 4.0pre? Behavior of Firefox 3.x is irrelevant at this point.

If you are unwilling to read &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=84582&gt;, that just means that a reviewer has to do that for you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328046</commentid>
    <comment_count>26</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-30 15:04:52 -0800</bug_when>
    <thetext>&gt; Did you test Firefox 4.0pre? Behavior of Firefox 3.x is irrelevant at this point.

No, as this seemed like an unlikely thing to regress. I can certainly download it and test.

&gt; If you are unwilling to read &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=84582&gt;, that just means that a reviewer has to do that for you.

I didn&apos;t manage extract any relevant information out of that bug, closed in early 2007. Perhaps you can?

I would be more interested about technical comments. What kind of problems do you expect from this change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328061</commentid>
    <comment_count>27</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-30 15:53:52 -0800</bug_when>
    <thetext>There are several aspects here (as in every other bug):
1) Is the patch moving in the right direction? In this case, it almost certainly is.
2) Are there any minor details we&apos;d rather not overlook? Unclear - there was a Mozilla bug that was allegedly supposed to make Mozilla behave like WebKit, and it&apos;s marked as fixed, but Mozilla still doesn&apos;t behave like WebKit in your testing.
3) Does the patch accurately implement what it claims to? That&apos;s up to reviewer to assess.
4) Is regression testing adequate? Test coverage seems good here.
5) Is there a clear history trail to follow if this causes regressions, or if someone just claims that this was a bad idea? I think that there is much more of that now as a result of our discussion.

A reviewer who actually reads the patch can make more technical comments. My primary interest here is making sure that investigation was reasonably complete and that there is a history trail. In no way am I going to be a gatekeeper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328149</commentid>
    <comment_count>28</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-31 04:06:19 -0800</bug_when>
    <thetext>Firefox 4 beta8 behaves exactly the same as this patch in the included tests. This means they have changed the behavior (compared to ff3.5) to not block the nested script execution on stylesheets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328152</commentid>
    <comment_count>29</comment_count>
      <attachid>77713</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-31 04:23:03 -0800</bug_when>
    <thetext>Created attachment 77713
modified the link element fix slightly to match the same test elsewhere (test for document changes too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329133</commentid>
    <comment_count>30</comment_count>
      <attachid>77713</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2011-01-04 12:35:18 -0800</bug_when>
    <thetext>Comment on attachment 77713
modified the link element fix slightly to match the same test elsewhere (test for document changes too)

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329142</commentid>
    <comment_count>31</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-01-04 12:46:50 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/74995</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329264</commentid>
    <comment_count>32</comment_count>
      <attachid>77713</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-01-04 15:46:06 -0800</bug_when>
    <thetext>Comment on attachment 77713
modified the link element fix slightly to match the same test elsewhere (test for document changes too)

View in context: https://bugs.webkit.org/attachment.cgi?id=77713&amp;action=review

&gt; LayoutTests/platform/mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:17
&gt;            text run at (0,0) width 4: &quot; &quot;
&gt;          RenderText {#text} at (0,0) size 0x0
&gt;        RenderBlock {DIV} at (0,41) size 784x0
&gt; -      RenderBlock (anonymous) at (0,41) size 784x0
&gt; -        RenderText {#text} at (0,0) size 0x0
&gt; -        RenderText {#text} at (0,0) size 0x0
&gt;  layer at (13,13) size 119x13
&gt;    RenderBlock {DIV} at (3,3) size 119x13
&gt;  caret: position 0 of child 0 {DIV} of child 1 {INPUT} of child 1 {DIV} of body
&gt;  

The pixel result of this test has been changed.  Is it expected?
The body background color is gray on Mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329501</commentid>
    <comment_count>33</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-01-05 03:56:34 -0800</bug_when>
    <thetext>Yeah, this is expected. The test calls layoutTestContoller.display() which marks non-updated area with grey color. With this patch the stylesheet arrives before the script runs and the document is fully displayed already at that point.

Updated results in http://trac.webkit.org/changeset/75057</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329852</commentid>
    <comment_count>34</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-01-05 16:15:20 -0800</bug_when>
    <thetext>(In reply to comment #33)
&gt; Yeah, this is expected. The test calls layoutTestContoller.display() which marks non-updated area with grey color. With this patch the stylesheet arrives before the script runs and the document is fully displayed already at that point.
&gt; 
&gt; Updated results in http://trac.webkit.org/changeset/75057

ok, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>369322</commentid>
    <comment_count>35</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-03-17 14:57:31 -0700</bug_when>
    <thetext>FYI, this change caused a 15% regression in the initial load time of Google Docs (as they measure for users in the real-world). Since the old behavior caused compat problems, that obviously trumps performance.

I&apos;m working with them to rearrange things to be more efficient again, but this is likely to have hit other sites as well so I just wanted to add a note to the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371472</commentid>
    <comment_count>36</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-03-22 10:41:51 -0700</bug_when>
    <thetext>(In reply to comment #35)
&gt; FYI, this change caused a 15% regression in the initial load time of Google Docs (as they measure for users in the real-world). Since the old behavior caused compat problems, that obviously trumps performance.

Similar sized regressions are showing up on more Google properties. I&apos;ve filed https://bugs.webkit.org/show_bug.cgi?id=56842.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>8241</attachid>
            <date>2006-05-11 10:02:51 -0700</date>
            <delta_ts>2006-05-11 10:02:51 -0700</delta_ts>
            <desc>test case</desc>
            <filename>css-loading.html</filename>
            <type>text/html</type>
            <size>322</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGxpbmsgcmVsPSJzdHlsZXNoZWV0IiB0eXBlPSJ0ZXh0L2NzcyIgaHJlZj0iZGF0YTp0ZXh0L2Nz
cywiPgo8c2NyaXB0PgogICAgYWxlcnQoIjA6ICIgKyBkb2N1bWVudC5zdHlsZVNoZWV0c1swXSAr
ICJcbjE6ICIgKyBkb2N1bWVudC5zdHlsZVNoZWV0c1sxXSk7Cjwvc2NyaXB0Pgo8bGluayByZWw9
InN0eWxlc2hlZXQiIHR5cGU9InRleHQvY3NzIiBocmVmPSJkYXRhOnRleHQvY3NzLCI+CjxzY3Jp
cHQ+CiAgICBhbGVydCgiMDogIiArIGRvY3VtZW50LnN0eWxlU2hlZXRzWzBdICsgIlxuMTogIiAr
IGRvY3VtZW50LnN0eWxlU2hlZXRzWzFdKTsKPC9zY3JpcHQ+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77623</attachid>
            <date>2010-12-29 09:29:12 -0800</date>
            <delta_ts>2010-12-31 04:23:03 -0800</delta_ts>
            <desc>patch</desc>
            <filename>block-inline-scripts-on-stylesheets.patch</filename>
            <type>text/plain</type>
            <size>10921</size>
            <attacher name="Antti Koivisto">koivisto</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3NDc0NCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMzMgQEAKKzIwMTAtMTItMjkgIEFudHRpIEtvaXZpc3RvICA8YW50dGlAYXBwbGUu
Y29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFNj
cmlwdHMgc2hvdWxkIG5vdCBiZSBleGVjdXRlZCBiZWZvcmUgcHJlY2VkaW5nIHN0eWxlc2hlZXRz
IGFyZSBsb2FkZWQKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTg4NTIKKworICAgICAgICBCbG9jayBpbmxpbmUgc2NyaXB0IGV4ZWN1dGlvbiBvbiBwZW5k
aW5nIHN0eWxlc2hlZXQgbG9hZHMuIFRoaXMgbWF0Y2hlcworICAgICAgICBvdGhlciBicm93c2Vy
cyBhbmQgSFRNTDUuCisKKyAgICAgICAgVGVzdHM6IGZhc3QvdG9rZW5pemVyL2lubGluZS1zY3Jp
cHQtc3R5bGVzaGVldC13cml0ZS5odG1sCisgICAgICAgICAgICAgICBmYXN0L3Rva2VuaXplci9p
bmxpbmUtc2NyaXB0LXN0eWxlc2hlZXQuaHRtbAorCisgICAgICAgICogZG9tL1BlbmRpbmdTY3Jp
cHQuY3BwOgorICAgICAgICAoV2ViQ29yZTo6UGVuZGluZ1NjcmlwdDo6cmVsZWFzZUVsZW1lbnRB
b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BhdCAoMCwwKSBzaXplIDgwMHg2
MDAKICAgICAgICAgICB0ZXh0IHJ1biBhdCAoMCwwKSB3aWR0aCA0OiAiICIKICAgICAgICAgUmVu
ZGVyVGV4dCB7I3RleHR9IGF0ICgwLDApIHNpemUgMHgwCiAgICAgICBSZW5kZXJCbG9jayB7RElW
fSBhdCAoMCw0MSkgc2l6ZSA3ODR4MAotICAgICAgUmVuZGVyQmxvY2sgKGFub255bW91cykgYXQg
KDAsNDEpIHNpemUgNzg0eDAKLSAgICAgICAgUmVuZGVyVGV4dCB7I3RleHR9IGF0ICgwLDApIHNp
emUgMHgwCi0gICAgICAgIFJlbmRlclRleHQgeyN0ZXh0fSBhdCAoMCwwKSBzaXplIDB4MAogbGF5
ZXIgYXQgKDEzLDEzKSBzaXplIDExOXgxMwogICBSZW5kZXJCbG9jayB7RElWfSBhdCAoMywzKSBz
aXplIDExOXgxMwogY2FyZXQ6IHBvc2l0aW9uIDAgb2YgY2hpbGQgMCB7RElWfSBvZiBjaGlsZCAx
IHtJTlBVVH0gb2YgY2hpbGQgMSB7RElWfSBvZiBib2R5Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77713</attachid>
            <date>2010-12-31 04:23:03 -0800</date>
            <delta_ts>2011-01-04 15:46:06 -0800</delta_ts>
            <desc>modified the link element fix slightly to match the same test elsewhere (test for document changes too)</desc>
            <filename>block-inline-scripts-on-stylesheets-2.patch</filename>
            <type>text/plain</type>
            <size>11076</size>
            <attacher name="Antti Koivisto">koivisto</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3NDgyNykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCk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h0IHsjdGV4dH0g
YXQgKDAsMCkgc2l6ZSAweDAKICAgICAgIFJlbmRlckJsb2NrIHtESVZ9IGF0ICgwLDQxKSBzaXpl
IDc4NHgwCi0gICAgICBSZW5kZXJCbG9jayAoYW5vbnltb3VzKSBhdCAoMCw0MSkgc2l6ZSA3ODR4
MAotICAgICAgICBSZW5kZXJUZXh0IHsjdGV4dH0gYXQgKDAsMCkgc2l6ZSAweDAKLSAgICAgICAg
UmVuZGVyVGV4dCB7I3RleHR9IGF0ICgwLDApIHNpemUgMHgwCiBsYXllciBhdCAoMTMsMTMpIHNp
emUgMTE5eDEzCiAgIFJlbmRlckJsb2NrIHtESVZ9IGF0ICgzLDMpIHNpemUgMTE5eDEzCiBjYXJl
dDogcG9zaXRpb24gMCBvZiBjaGlsZCAwIHtESVZ9IG9mIGNoaWxkIDEge0lOUFVUfSBvZiBjaGls
ZCAxIHtESVZ9IG9mIGJvZHkK
</data>
<flag name="review"
          id="68898"
          type_id="1"
          status="+"
          setter="hyatt"
    />
          </attachment>
      

    </bug>

</bugzilla>