Bug 147547
| Summary: | Web Inspector shows elements that are blocked by Content Blocker (iOS 9) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | sal cangleoso <salcan> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | iPhone / iPad | ||
| OS: | OS X 10.3 | ||
| URL: | all | ||
sal cangleoso
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
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
The load is blocked, not the script element. So the script element should be visible still.