| Index: third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/crash-on-incomplete-not.html b/third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet.html
|
| similarity index 50%
|
| copy from third_party/WebKit/LayoutTests/fast/css/crash-on-incomplete-not.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet.html
|
| index 0d1b1393af12f27ce0885fb909cacfe1ed4f3a09..31ecd2ce383a9947b68a002a041fc281be068991 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/crash-on-incomplete-not.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet.html
|
| @@ -1,23 +1,17 @@
|
| +<!DOCTYPE html>
|
| <html>
|
| -<head>
|
| -<style id="m"></style>
|
| -</head>
|
| <body>
|
| <script>
|
| - var g = ":not\\( .title{}";
|
| - var me = document.getElementById("m");
|
| - window.setTimeout(runTest,0);
|
| - function runTest(){
|
| - me.textContent=g;
|
| - if (window.testRunner) {
|
| - testRunner.notifyDone();
|
| - }
|
| - }
|
| if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| testRunner.waitUntilDone();
|
| + testRunner.dumpAsText();
|
| }
|
| +
|
| + paintWorklet.import('resources/global-interface-listing-worklet.js').then(function() {
|
| + if (window.testRunner) {
|
| + testRunner.notifyDone();
|
| + }
|
| + });
|
| </script>
|
| -<p>PASS without crash.</p>
|
| </body>
|
| </html>
|
|
|