Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/circumvention/anoniframe-documentwrite.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Addressed more feedback. Added README. Created June 7, 2018, 10:20 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 title = Anonymous Frame document.write() - Circumvention - ABP Test Pages 1 title = Anonymous Frame document.write() - Circumvention
2 template = testcase 2 template = testcase
3 3
4 <script> 4 <script>
5 setTimeout(function() 5 setTimeout(function()
6 { 6 {
7 var iframe = document.getElementById("append"); 7 var iframe = document.getElementById("append");
8 var span = document.createElement("span"); 8 var span = document.createElement("span");
9 span.className = "testcase-circ-anoniframe-docwrite"; 9 span.className = "testcase-circ-anoniframe-docwrite";
10 span.textContent = "This text should be hidden"; 10 span.textContent = "This text should be hidden";
11 iframe.contentDocument.body.appendChild(span); 11 iframe.contentDocument.body.appendChild(span);
(...skipping 16 matching lines...) Expand all
28 Subframe (Element.appendChild): [<iframe id="append"></iframe>] 28 Subframe (Element.appendChild): [<iframe id="append"></iframe>]
29 </p> 29 </p>
30 30
31 <p> 31 <p>
32 Subframe (document.write): [<iframe id="write"></iframe>] 32 Subframe (document.write): [<iframe id="write"></iframe>]
33 </p> 33 </p>
34 </div> 34 </div>
35 <h3>Related links</h3> 35 <h3>Related links</h3>
36 <p><a href="https://issues.adblockplus.org/ticket/3185">Issue #3185</a></p> 36 <p><a href="https://issues.adblockplus.org/ticket/3185">Issue #3185</a></p>
37 </section> 37 </section>
OLDNEW

Powered by Google App Engine
This is Rietveld