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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/marquee-destroyed-without-removed-from-crash.html

Issue 2674673005: Move tests for MARQUEE element to html/marquee/. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/html/marquee-destroyed-without-removed-from-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/html/marquee-destroyed-without-removed-from-crash.html b/third_party/WebKit/LayoutTests/fast/html/marquee-destroyed-without-removed-from-crash.html
deleted file mode 100644
index f62ce87f0f501797b2f533783831b020a0fc0ee7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/html/marquee-destroyed-without-removed-from-crash.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<script>
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-function start() {
- div = document.createElement('div');
- marquee = document.createElement('marquee');
- div.appendChild(marquee);
- doc = document.documentElement;
- iframe = document.createElement('iframe');
- iframe.src='resources/marquee-destroyed-without-removed-from-crash.svg';
- doc.appendChild(top.iframe);
-
- if (location.hash == '#done') {
- document.write('PASS');
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.notifyDone();
- }
- return;
- }
- setTimeout('top.reload_page()', 25);
-}
-
-function reload_page() {
- document.removeChild(doc);
- document.appendChild(doc);
-
- var count = 0;
- if (location.hash !== "")
- count = parseInt(location.hash.substr(1));
- if (count < 5) {
- ++count;
- location.hash = '#' + count;
- } else {
- location.hash = 'done';
- }
- setTimeout("gc(); location.reload();", 10);
-}
-</script>
-<body onload="start()">
-crbug.com/447976: crash when marquee element is destroyed without removedFrom.

Powered by Google App Engine
This is Rietveld 408576698