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

Unified Diff: LayoutTests/fast/dom/document-set-title-no-reuse.html

Issue 138213005: Revert "Remove children of title node before updating" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: LayoutTests/fast/dom/document-set-title-no-reuse.html
diff --git a/LayoutTests/fast/dom/document-set-title-no-reuse.html b/LayoutTests/fast/dom/document-set-title-no-reuse.html
deleted file mode 100644
index e3975db6ac6ad554bcebaead434421d9408bdd91..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/document-set-title-no-reuse.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/js-test.js"></script>
-<script type="text/javascript">
-description("Test that setting document.title does not reuse &lt;title&gt;'s textnode child");
-
-onload = function()
-{
- document.title = "aaa";
- oldnode = document.getElementsByTagName("title")[0].firstChild;
- document.title = "bbb";
- shouldBeTrue('oldnode.textContent != "bbb"');
- shouldBeTrue('oldnode != document.getElementsByTagName("title")[0].firstChild');
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698