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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/assign-to-window-status.html

Issue 2907463003: Remove window.status plumbing, it's unused and the spec says it's a dummy (Closed)
Patch Set: Drop accidental change Created 3 years, 7 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/dom/assign-to-window-status.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/assign-to-window-status.html b/third_party/WebKit/LayoutTests/fast/dom/assign-to-window-status.html
deleted file mode 100644
index 9b730b79a5426d06329c437cc7669442cbbdc3fc..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/assign-to-window-status.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpStatusCallbacks();
-}
-
-function log(s)
-{
- document.getElementById("console").innerHTML += "<li>" + s + "</li>";
-}
-
-function shouldBe(a, b)
-{
- var evalA, evalB;
- try {
- evalA = eval(a);
- evalB = eval(b);
- } catch(e) {
- evalA = e;
- }
-
- var message = (evalA === evalB)
- ? "PASS: " + a + " should be '" + evalB + "' and is."
- : "*** FAIL: " + a + " should be '" + evalB + "' but instead is " + evalA + ". ***";
- log(message);
-}
-
-function test()
-{
- shouldBe("window.status = 'set window.status'; window.status", "'set window.status'");
- shouldBe("status = 'set status'", "'set status'");
- shouldBe("window.status = 1; window.status", "'1'");
- shouldBe("status = 2; status", "'2'");
- shouldBe("window.status={toString:function(){ return 'object.toString'; }}; window.status", "'object.toString'");
-}
-</script>
-This tests that we can assign strings to the status property.
-<ul id="console"></ul>
-<script>
-test();
-</script>

Powered by Google App Engine
This is Rietveld 408576698