Opened on 03/28/2019 at 01:24:03 PM
Closed on 08/29/2019 at 05:43:18 PM
#7418 closed defect (rejected)
Subframe request blocked in whitelisted frame
Reported by: | greiner | Assignee: | |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Platform | Keywords: | closed-in-favor-of-gitlab |
Cc: | sebastian, greiner | Blocked By: | |
Blocking: | Platform: | Unknown / Cross platform | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Environment
Ubuntu 16.04
Chrome 71
Adblock Plus 3.4.3 / 3.4.2
How to reproduce
- Add the custom filters /ad.htm^ and @@/sub.htm$document
- Create top.htm, sub.htm and ad.htm and launch static web server (see file contents below)
- Open top.htm (e.g. http://localhost:8080/top.htm)
Example file contents
top.htm
<iframe src="sub.htm" height="500"></iframe>
sub.htm
<strong>With srcdoc</strong> <iframe srcdoc=""></iframe> <strong>Without srcdoc</strong> <iframe></iframe> <script> let iframes = document.querySelectorAll("iframe"); for (let iframe of iframes) { iframe.contentDocument.write(` <iframe src="ad.htm"></iframe> `); } </script>
ad.htm
ADVERTISEMENT
Observed behavior
- Frame under heading "With srcdoc" failed to load
- Frame under heading "Without srcdoc" loads successfully
- Request to ad.htm is shown in DevTools as being blocked by filter /ad.htm^
Expected behavior
- Both frames load successfully
- Request to ad.htm is not shown in DevTools as being blocked
Further information
This ticket refers to an edge case related to subframes that we didn't cover in #7305.
Attachments (0)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Sorry, but we switched to GitLab. If this issue is still relevant, please file it again in the new issue tracker.