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

Unified Diff: LayoutTests/fast/css/content-language-dynamically-changed.html

Issue 1090423007: Serialize <string> with double quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 8 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/css/content-language-dynamically-changed.html
diff --git a/LayoutTests/fast/css/content-language-dynamically-changed.html b/LayoutTests/fast/css/content-language-dynamically-changed.html
index acd5f617054db340b164506fba1badfa6003b3bf..684486a473b9444cff9f82a1c2a8e7f3b64c1d0d 100644
--- a/LayoutTests/fast/css/content-language-dynamically-changed.html
+++ b/LayoutTests/fast/css/content-language-dynamically-changed.html
@@ -23,21 +23,21 @@ function languageOfNode(id) {
var element = document.getElementById(id);
return window.getComputedStyle(element).webkitLocale;
}
-shouldBeEqualToString("languageOfNode('x')", "'zh'");
-shouldBeEqualToString("languageOfNode('y')", "'ar'");
+shouldBeEqualToString("languageOfNode('x')", '"zh"');
+shouldBeEqualToString("languageOfNode('y')", '"ar"');
var meta = document.getElementById("target");
meta.content = "ja";
-shouldBeEqualToString("languageOfNode('x')", "'zh'");
-shouldBeEqualToString("languageOfNode('y')", "'ar'");
+shouldBeEqualToString("languageOfNode('x')", '"zh"');
+shouldBeEqualToString("languageOfNode('y')", '"ar"');
meta.httpEquiv = "foobar";
-shouldBeEqualToString("languageOfNode('x')", "'zh'");
-shouldBeEqualToString("languageOfNode('y')", "'ar'");
+shouldBeEqualToString("languageOfNode('x')", '"zh"');
+shouldBeEqualToString("languageOfNode('y')", '"ar"');
meta.httpEquiv = "content-language";
-shouldBeEqualToString("languageOfNode('x')", "'zh'");
-shouldBeEqualToString("languageOfNode('y')", "'ar'");
+shouldBeEqualToString("languageOfNode('x')", '"zh"');
+shouldBeEqualToString("languageOfNode('y')", '"ar"');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698