<?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>147547</bug_id>
          
          <creation_ts>2015-08-02 15:08:41 -0700</creation_ts>
          <short_desc>Web Inspector shows elements that are blocked by Content Blocker (iOS 9)</short_desc>
          <delta_ts>2015-08-04 14:52:12 -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>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>OS X 10.3</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>all</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="sal cangleoso">salcan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1114117</commentid>
    <comment_count>0</comment_count>
    <who name="sal cangleoso">salcan</who>
    <bug_when>2015-08-02 15:08:41 -0700</bug_when>
    <thetext>Content Blocker extension is blocking elements, the console confirms this with messages like:

&quot;Content blocker prevented frame displaying http://xxxxxxxx/ from loading a resource from http://tags.bkrtx.com/js/bk-coretag.js&quot;

but then I go into web inspector (Safari &gt; Develop &gt; Simulator &gt; ....) and see:

&lt;script type=&quot;text/javascript&quot; src=&quot;http://tags.bkrtx.com/js/bk-coretag.js&quot;&gt;&lt;/script&gt;

I&apos;ve done tests on some scripts and can confirm that they are not running, but they are appearing in web inspector. 

Is it just that the &quot;view source&quot; is being generated before the blocking action is taking place? Or is this a bug? (Or is this user error??)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114120</commentid>
    <comment_count>1</comment_count>
    <who name="sal cangleoso">salcan</who>
    <bug_when>2015-08-02 15:13:52 -0700</bug_when>
    <thetext>This is iOS 9 + xcode 7 + iPhone Simulator on OSX 10.10.3 + Safari 8.0.6. 

Could certainly be due to pre-release version of iOS and xcode. 

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114787</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-08-04 14:52:12 -0700</bug_when>
    <thetext>The load is blocked, not the script element. So the script element should be visible still.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>