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

Unified Diff: LayoutTests/fast/css/user-stylesheet-crash.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/fast/css/user-stylesheet-crash.html
diff --git a/LayoutTests/fast/css/user-stylesheet-crash.html b/LayoutTests/fast/css/user-stylesheet-crash.html
deleted file mode 100644
index 1e73476232bcb35851e52accfcd6e6b1b90eebb4..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/user-stylesheet-crash.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
-<head>
-<script>
-function createIframe()
-{
- var iframe = document.createElement("iframe");
- document.body.appendChild(iframe);
- var iframeDocument = iframe.contentDocument;
- var link = iframeDocument.createElement("link");
- link.setAttribute("rel", "stylesheet");
- link.setAttribute("href", "does_not_exist.css");
- iframeDocument.head.appendChild(link);
- if (window.testRunner) {
- testRunner.addUserStyleSheet("#test { color: blue: }", true);
- setTimeout("window.testRunner.notifyDone()", 100);
- }
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.addUserStyleSheet("#test { color: red: }", true);
-}
-window.onload = createIframe;
-
-</script>
-</head>
-<body>
-This test requires DRT. It passes if it doesn't crash.
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698