WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
147547
Web Inspector shows elements that are blocked by Content Blocker (iOS 9)
https://bugs.webkit.org/show_bug.cgi?id=147547
Summary
Web Inspector shows elements that are blocked by Content Blocker (iOS 9)
sal cangleoso
Reported
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??)
Attachments
Add attachment
proposed patch, testcase, etc.
sal cangleoso
Comment 1
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
Timothy Hatcher
Comment 2
2015-08-04 14:52:12 PDT
The load is blocked, not the script element. So the script element should be visible still.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug