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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet.html

Issue 1841633002: Make constructors in Worklets be properly exposed on the global. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698