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

Unified Diff: LayoutTests/http/tests/misc/extract-http-content-language-against-equiv.php

Issue 973623002: Fix serialization of content property to always quote (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add another method Created 5 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: LayoutTests/http/tests/misc/extract-http-content-language-against-equiv.php
diff --git a/LayoutTests/http/tests/misc/extract-http-content-language-against-equiv.php b/LayoutTests/http/tests/misc/extract-http-content-language-against-equiv.php
index 81bd97a5e0bff5a694ac70f7ecfc5aa56f5e7310..1375928fa03303259ab6084c8e2f36e432db2990 100644
--- a/LayoutTests/http/tests/misc/extract-http-content-language-against-equiv.php
+++ b/LayoutTests/http/tests/misc/extract-http-content-language-against-equiv.php
@@ -15,9 +15,9 @@ Extract HTTP Content-Language header.</p>
<div id="y" lang="ar"></div>
<script>
debug('==> Value extracted from meta "http-equiv" and overriding HTTP "Content-Language"...');
- shouldBe('window.getComputedStyle(document.getElementById("x")).webkitLocale', '"en-GB"')
+ shouldBe('window.getComputedStyle(document.getElementById("x")).webkitLocale', '"\'en-GB\'"')
debug('==> Value set by div "lang" tag...');
- shouldBe('window.getComputedStyle(document.getElementById("y")).webkitLocale', '"ar"')
+ shouldBe('window.getComputedStyle(document.getElementById("y")).webkitLocale', '"\'ar\'"')
debug('==> All done...');
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698