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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-2/inject-stylesheet.html

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layout test readability Created 5 years, 3 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/inspector/elements/styles-2/inject-stylesheet.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/inject-stylesheet.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/inject-stylesheet.html
index a3b1eaf75bf6fa85397455283937ab79fe6ec703..f3f668a905ca2051c4b4b21fa785f40ca3d73bcd 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/inject-stylesheet.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/inject-stylesheet.html
@@ -11,7 +11,7 @@
function injectStyleSheet(context)
{
- var styleSheet = "#main { color: red; -webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) } #iframeBody { background: red }";
+ var styleSheet = "#main { color: red; -webkit-border-image: url(data:image/png;base64," + decodeURIComponent("iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==") + ") } #iframeBody { background: red }";
Timothy Loh 2015/09/25 14:22:05 what does decodeURIComponent do here?
nainar 2015/09/28 01:19:18 Done.
if (context.testRunner)
context.testRunner.insertStyleSheet(styleSheet);
}

Powered by Google App Engine
This is Rietveld 408576698