Changes between Version 51 and Version 53 of Ticket #7067


Ignore:
Timestamp:
01/31/2019 05:41:33 AM (19 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7067

    • Property Status changed from closed to reopened
    • Property Priority changed from Unknown to P2
    • Property Ready set
    • Property Resolution changed from fixed to
  • Ticket #7067 – Description

    v51 v53  
    3636=== Hints for testers === 
    3737 
    38 TBD 
     38Suppose we have the following HTML document: 
     39 
     40{{{ 
     41<!DOCTYPE html> 
     42<html> 
     43  <body> 
     44    <iframe src="/foo/bar.html"></iframe> 
     45  </body> 
     46</html> 
     47}}} 
     48 
     49Now the filter `||/foo/bar.html^$rewrite=abp-resource:blank-html,~third-party` should serve the HTML `<!DOCTYPE html><html><head></head><body></body></html>` into the frame. This should work no matter from which host the document is served. 
     50 
     51If the filter is changed to `*/foo/bar.html^$rewrite=abp-resource:blank-html,~third-party` (replace `||` with `*`), the filter should be considered invalid and the original document at `/foo/bar.html` on the same host should be served. 
     52 
     53But if the filter is then changed to `*/foo/bar.html^$rewrite=abp-resource:blank-html,domain=example.com`, the filter should work again (assuming the document is served from `example.com`). 
     54 
     55If the `*` at the beginning is removed, the filter should be considered invalid and no longer work. 
     56 
     57If the resource name is misspelt (e.g. `blank-htm` instead of `blank-html`), the filter should be considered valid and the filter hit should get logged in the DevTools panel, but the filter should still have no effect.