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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/image-document-write-assert.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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/images/image-document-write-assert.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/image-document-write-assert.html b/third_party/WebKit/LayoutTests/fast/images/image-document-write-assert.html
deleted file mode 100644
index 9b27e19d8dc0ad95e94b4852c2fe1f520c2aa5f5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/image-document-write-assert.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<script>
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.setCanOpenWindows();
- testRunner.waitUntilDone();
-}
-
-function log(message)
-{
- var console = document.getElementById("console");
- console.appendChild(document.createTextNode(message + "\n"));
-}
-
-function loadPage()
-{
- var newwindow = window.open("resources/dice.png");
- newwindow.onload = function() {
- if (window.eventSender) {
- newwindow.document.write("This doesn't crash");
- log ("Test Success");
- testRunner.notifyDone();
- } else
- newwindow.document.write("This doesn't crash");
- };
-}
-</script>
-<body onload="loadPage()">
-<p>This tests that writing on an "image page" doesn't asserts the tab. This test requires testRunner to run. To test manually, open <a href="resources/dice.png">this image</a> in a browser window, and write into the page using document.write. It must not crash.</p>
-<pre id="console"></pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698