<?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>51684</bug_id>
          
          <creation_ts>2010-12-28 11:49:45 -0800</creation_ts>
          <short_desc>Remove unused member of PendingScript</short_desc>
          <delta_ts>2010-12-29 12:08:39 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Gentilcore">tonyg</reporter>
          <assigned_to name="Tony Gentilcore">tonyg</assigned_to>
          <cc>abarth</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>koivisto</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>327298</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2010-12-28 11:49:45 -0800</bug_when>
    <thetext>Remove unused member of PendingScript</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327301</commentid>
    <comment_count>1</comment_count>
      <attachid>77569</attachid>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2010-12-28 11:52:19 -0800</bug_when>
    <thetext>Created attachment 77569
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327304</commentid>
    <comment_count>2</comment_count>
      <attachid>77569</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-28 12:07:50 -0800</bug_when>
    <thetext>Comment on attachment 77569
Patch

OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327305</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-28 12:08:48 -0800</bug_when>
    <thetext>How does this relate to our eventual desire to show better line numbers for javascript errors?  I assume not at all.

I guess the time we&apos;re missing line numbers is document.written JS which I don&apos;t know how you&apos;d show line numbers for anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327352</commentid>
    <comment_count>4</comment_count>
      <attachid>77569</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-28 13:58:01 -0800</bug_when>
    <thetext>Comment on attachment 77569
Patch

Clearing flags on attachment: 77569

Committed r74724: &lt;http://trac.webkit.org/changeset/74724&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327353</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-28 13:58:07 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327398</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-12-28 15:03:03 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/74724 might have broken Leopard Intel Debug (Tests)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327556</commentid>
    <comment_count>7</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 07:22:20 -0800</bug_when>
    <thetext>We are going to need this code to make inline scripts block on stylesheet loads as required by HTML5. Why was it so important to wipe it out right now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327578</commentid>
    <comment_count>8</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2010-12-29 08:40:54 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; We are going to need this code to make inline scripts block on stylesheet loads as required by HTML5. Why was it so important to wipe it out right now?

Feel free to add the member back if you need it. It has been dead for several months, so I cleaned it up.

Out of curiosity, are you planning to implement inline script blocking on stylesheet loads? We had initially held off on that because we didn&apos;t know of any compat problems so weren&apos;t in a rush to take the perf hit. However, if there are any sites that would benefit from it, we should obviously do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327580</commentid>
    <comment_count>9</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 09:01:22 -0800</bug_when>
    <thetext>&gt; Feel free to add the member back if you need it. It has been dead for several months, so I cleaned it up.
&gt; 
&gt; Out of curiosity, are you planning to implement inline script blocking on stylesheet loads? We had initially held off on that because we didn&apos;t know of any compat problems so weren&apos;t in a rush to take the perf hit. However, if there are any sites that would benefit from it, we should obviously do it.

Yeah, I was just working on a patch (which is why I noticed when the code I was using was gone).

This causes small rendering issues all over, for example my bank login page has incorrect layout on first load due to this (https://solo1.nordea.fi/nsp/engine).

Another advantage is that simplifies script and stylesheet loading. We should be able to wipe out most of the nasty updateLayoutIgnorePendingStylesheets() code and probably find performance improvements there too.

Generally there shouldn&apos;t be a significant performance hit from this, the preloader picks up the resources that would otherwise have their load start delayed (though you can construct a case which this would slow down). Blocking execution of external scripts was a much bigger change and didn&apos;t cause performance issues in practice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327593</commentid>
    <comment_count>10</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2010-12-29 09:38:56 -0800</bug_when>
    <thetext>Patch in bug 8852 (including reverting this patch)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327657</commentid>
    <comment_count>11</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2010-12-29 12:08:39 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; &gt; Feel free to add the member back if you need it. It has been dead for several months, so I cleaned it up.
&gt; &gt; 
&gt; &gt; Out of curiosity, are you planning to implement inline script blocking on stylesheet loads? We had initially held off on that because we didn&apos;t know of any compat problems so weren&apos;t in a rush to take the perf hit. However, if there are any sites that would benefit from it, we should obviously do it.
&gt; 
&gt; Yeah, I was just working on a patch (which is why I noticed when the code I was using was gone).

Sorry for the trouble, I obviously wouldn&apos;t have done this had I seen your patch.

&gt; 
&gt; This causes small rendering issues all over, for example my bank login page has incorrect layout on first load due to this (https://solo1.nordea.fi/nsp/engine).

I&apos;m not sure if I agree with your point below about blocking external scripts on style not paying a performance cost in practice. While preloading may allow the overall page to complete in the same amount of time, the blocking means that during the load the user may be looking at less rendered content (a hard effect to quantify).

However, I definitely agree that if there are any compat bugs, it should be fixed. Thanks for pointing out the bank login example. I wonder if this is also causing https://bugs.webkit.org/show_bug.cgi?id=50529 (which we haven&apos;t reduced yet).

&gt; 
&gt; Another advantage is that simplifies script and stylesheet loading. We should be able to wipe out most of the nasty updateLayoutIgnorePendingStylesheets() code and probably find performance improvements there too.
&gt; 
&gt; Generally there shouldn&apos;t be a significant performance hit from this, the preloader picks up the resources that would otherwise have their load start delayed (though you can construct a case which this would slow down). Blocking execution of external scripts was a much bigger change and didn&apos;t cause performance issues in practice.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77569</attachid>
            <date>2010-12-28 11:52:19 -0800</date>
            <delta_ts>2010-12-28 13:58:01 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-51684-20101228115218.patch</filename>
            <type>text/plain</type>
            <size>4129</size>
            <attacher name="Tony Gentilcore">tonyg</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
YzA4N2FkNjQ2YmE0MDRhOWQ0YTFhNTUxODE3YThhZGE2Y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