| Index: third_party/WebKit/LayoutTests/fast/css/cached-sheet-assert.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/cached-sheet-assert.html b/third_party/WebKit/LayoutTests/fast/css/cached-sheet-assert.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..363fc0a8fcd7ac9684908c06a0c8b078173e5fd2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/cached-sheet-assert.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<style id="styleElement">@media all { } </style>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + var s = document.getElementById("styleElement");
|
| + document.head.appendChild(s.cloneNode(true));
|
| + s.sheet.cssRules[0].insertRule("div { }", 0);
|
| +</script>
|
| +<p>This test should not crash/assert.</p>
|
|
|