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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/marquee-clone-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-clone-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/html/marquee-clone-crash.html b/third_party/WebKit/LayoutTests/fast/html/marquee-clone-crash.html
deleted file mode 100644
index 91e322ae16c15c2e0dd4fde71c41a2603ccec2a0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/html/marquee-clone-crash.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<script>
-var ex = false;
-var doc;
-var count = 0;
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-function start() {
- if (location.hash == "") {
- location.hash = "#0";
- } else {
- count = parseInt(location.hash.substring(1));
- if (count >= 5) {
- document.write('PASS');
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.notifyDone();
- }
- return;
- }
- }
-
- doc = document.documentElement;
- mq1 = document.createElement('marquee');
- var iframe = document.createElement('iframe');
- iframe.src = "nonexistent";
-
- doc.appendChild(iframe);
- mq2 = mq1.cloneNode(false);
-
- iframe.onload = iframe_onload;
- setTimeout('start_pause1()', 100);
-}
-
-function start_pause1() {
- document.removeChild(doc);
- document.appendChild(doc);
- setTimeout('start_pause2()', 100);
-}
-
-function start_pause2() {
- document.removeChild(doc);
- gc();
- document.appendChild(doc);
- location.hash = '#' + ++count;
- location.reload();
-}
-
-function iframe_onload() {
- if (ex)
- return;
- ex = true;
-
- var iframe = document.createElement('iframe');
- iframe.src='resources/marquee-crash.svg';
- doc.appendChild(iframe);
-}
-</script>
-<body onload="start()"></body>

Powered by Google App Engine
This is Rietveld 408576698