Changes between Version 42 and Version 46 of Ticket #7305


Ignore:
Timestamp:
03/28/2019 11:20:41 AM (7 months ago)
Author:
greiner
Comment:

Sorry, forgot to take action on the subframe edge case I mentioned, which this fix doesn't cover. I've now updated the ticket with a working test case and will create a follow-up ticket for the subframe case later today.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7305

    • Property Status changed from reopened to closed
    • Property Resolution changed from to fixed
  • Ticket #7305 – Description

    v42 v46  
    55 
    66=== How to reproduce === 
    7 1. Add the custom filters `/ad.htm^` and `@@/sub.htm$document` 
     71. Add the custom filters `/ad.js^` and `@@/sub.htm$document` 
    882. Create top.htm, sub.htm and ad.htm and launch static web server (see file contents below) 
    993. Open top.htm (e.g. http://localhost:8080/top.htm) 
     
    2727for (let iframe of iframes) { 
    2828  iframe.contentDocument.write(` 
    29     <iframe src="ad.htm"></iframe> 
     29    <script src="ad.js"></scr` + `ipt> 
    3030  `); 
    3131} 
     
    3333}}} 
    3434 
    35 **ad.htm** 
     35**ad.js** 
    3636{{{ 
    37 ADVERTISEMENT 
     37document.write("ADVERTISEMENT"); 
    3838}}} 
    3939