Bug 147547 - Web Inspector shows elements that are blocked by Content Blocker (iOS 9)
Summary: Web Inspector shows elements that are blocked by Content Blocker (iOS 9)
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad OS X 10.3
: P2 Normal
Assignee: Nobody
URL: all
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-02 15:08 PDT by sal cangleoso
Modified: 2015-08-04 14:52 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sal cangleoso 2015-08-02 15:08:41 PDT
Content Blocker extension is blocking elements, the console confirms this with messages like:

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

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

<script type="text/javascript" src="http://tags.bkrtx.com/js/bk-coretag.js"></script>

I'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 "view source" is being generated before the blocking action is taking place? Or is this a bug? (Or is this user error??)
Comment 1 sal cangleoso 2015-08-02 15:13:52 PDT
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
Comment 2 Timothy Hatcher 2015-08-04 14:52:12 PDT
The load is blocked, not the script element. So the script element should be visible still.