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

Unified Diff: chrome/test/data/webui/util_test.html

Issue 1938063002: WebUI: Fix favicon URL regression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 4 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
« no previous file with comments | « no previous file | ui/webui/resources/js/util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/util_test.html
diff --git a/chrome/test/data/webui/util_test.html b/chrome/test/data/webui/util_test.html
index a93b48f89375fc2dcf6befdc8cc99c3c6fde8346..6fdb55127b703430e23ef35c59d6d1fbdf7e2b68 100644
--- a/chrome/test/data/webui/util_test.html
+++ b/chrome/test/data/webui/util_test.html
@@ -20,14 +20,14 @@ function testQuoteString() {
assertEquals(null, match);
}
-// Test the case where the origin URL is passed.
-function testGetFaviconImageSet_Origin() {
+// Test the case where a non-favicon URL is passed.
+function testGetFaviconImageSet_NonFavicon() {
var url = 'http://foo.com';
var expectedDesktop = '-webkit-image-set(' +
- 'url("chrome://favicon/size/16@1x/origin/http://foo.com") 1x, ' +
- 'url("chrome://favicon/size/16@2x/origin/http://foo.com") 2x)';
+ 'url("chrome://favicon/size/16@1x/http://foo.com") 1x, ' +
+ 'url("chrome://favicon/size/16@2x/http://foo.com") 2x)';
var expectedOther = '-webkit-image-set(' +
- 'url("chrome://favicon/size/16@1x/origin/http://foo.com") ' +
+ 'url("chrome://favicon/size/16@1x/http://foo.com") ' +
window.devicePixelRatio + 'x)';
var isDesktop = cr.isMac || cr.isChromeOS || cr.isWindows || cr.isLinux;
« no previous file with comments | « no previous file | ui/webui/resources/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698