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

Unified Diff: LayoutTests/inspector/styles/inject-stylesheet.html

Issue 66383005: Remove the concept of user stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix WebFrameCSSCallbackTest tests Created 7 years, 1 month 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/inspector/styles/inject-stylesheet.html
diff --git a/LayoutTests/inspector/styles/inject-stylesheet.html b/LayoutTests/inspector/styles/inject-stylesheet.html
index dad03002adb64e6f1d352c077eb742d0298fb1f6..8ca86b4147f18ae6be811d339a303a262263cd29 100644
--- a/LayoutTests/inspector/styles/inject-stylesheet.html
+++ b/LayoutTests/inspector/styles/inject-stylesheet.html
@@ -13,7 +13,7 @@ function injectStyleSheet()
{
var styleSheet = "#main { color: red; -webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) } #iframeBody { background: red }";
if (window.testRunner)
- window.testRunner.addUserStyleSheet(styleSheet, true);
+ window.testRunner.injectStyleSheet(styleSheet, true);
}
function loadIframe()

Powered by Google App Engine
This is Rietveld 408576698