Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/remove-body-during-body-replacement2.html

Issue 2669403002: Move tests for sections elements to html/sections/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body><div><script>
4
5 if (!window.testRunner)
6 document.write("This test requires GCController.");
7 else {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
10
11 function crash() {
12 document.open();
13 document.write("PASS. WebKit didn't crash.");
14 document.close();
15 GCController.collect();
16 setTimeout("testRunner.notifyDone()", 0);
17 }
18
19 setTimeout(function () {
20 document.addEventListener('DOMFocusOut', function () { crash(); }, true) ;
21 document.addEventListener('DOMSubtreeModified', function () { /* noop */ }, false);
22 document.designMode = "on";
23 document.execCommand("SelectAll");
24 document.body.outerText = "ABC";
25 }, 0);
26 }
27
28 </script>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698