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

Unified Diff: LayoutTests/fast/css/style-scoped/changing-scoped-attribute-asan-crash.html

Issue 325663003: Remove scoped styles (retry) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test (and expectation) Created 6 years, 6 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/fast/css/style-scoped/changing-scoped-attribute-asan-crash.html
diff --git a/LayoutTests/fast/css/style-scoped/changing-scoped-attribute-asan-crash.html b/LayoutTests/fast/css/style-scoped/changing-scoped-attribute-asan-crash.html
deleted file mode 100644
index 6d0e471ca122d97a90197a1603b01af3efa7f2aa..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/style-scoped/changing-scoped-attribute-asan-crash.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-</script>
-</head>
-<body onload="onLoad()">><p id="scopingNode"><style scoped></style>
-></p>
-<style>
-</style>
-<script>
-document.body.contentEditable = "true";
-
-function onLoad() {
- var style = document.getElementsByTagName("style")[0];
- style.scoped = false;
- setTimeout("runTest()", 0);
-}
-
-function invokeEditingCommand() {
- if (!window.eventSender)
- return;
- for (var i = 0; i < 8; i++)
- eventSender.keyDown("\t", []);
- for (var i = 0; i < 5; i++)
- eventSender.keyDown("X");
- for (var i = 0; i < 6; i++)
- eventSender.keyDown("\t", []);
- eventSender.keyDown("\r", []);
-
- document.body.innerHTML = 'PASS';
- testRunner.notifyDone();
-}
-
-function runTest() {
- document.adoptNode(scopingNode);
- gc();
- setTimeout('invokeEditingCommand();', 0);
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698