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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Document/document-charset.html

Issue 1707473002: Remove document.defaultCharset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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/Document/document-charset.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Document/document-charset.html b/third_party/WebKit/LayoutTests/fast/dom/Document/document-charset.html
index 1594696cec89c1833103bedc6097a81f01c19cd2..d417528b137c2ca6a69cdec00a5bd7e9d097336c 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Document/document-charset.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Document/document-charset.html
@@ -11,14 +11,12 @@ if (window.testRunner)
document.write("<p>Initial</p>");
document.write("<p>&nbsp;document.charset: " + document.charset + "</p>"); // MSIE
-document.write("<p>&nbsp;document.defaultCharset: " + (document.defaultCharset ? "defined" : "undefined") + "</p>"); // MSIE
document.write("<p>&nbsp;document.characterSet: " + document.characterSet + "</p>"); // Firefox
document.write("<p>&nbsp;document.inputEncoding: " + document.inputEncoding + "</p>"); // DOM3
document.write("<p>Setting charset to UTF-8... (expected to have no effect)</p>");
document.charset = "utf-8";
document.write("<p>&nbsp;document.charset: " + document.charset + "</p>");
-document.write("<p>&nbsp;document.defaultCharset: " + (document.defaultCharset ? "defined" : "undefined") + "</p>");
document.write("<p>&nbsp;document.characterSet: " + document.characterSet + "</p>");
document.write("<p>&nbsp;document.inputEncoding: " + document.inputEncoding + "</p>");

Powered by Google App Engine
This is Rietveld 408576698