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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/worklet/import.html

Issue 1818223002: Introduce PaintWorkletGlobalScope, rename renderWorklet attribute to paintWorklet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix interface listing order. 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/webexposed/global-interface-listing-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/import.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/worklet/import.html b/third_party/WebKit/LayoutTests/http/tests/worklet/import.html
index 3e44c5ff2faedd85ba4e53fa84a531b82e9dce4d..2b99c5c254cbd33e3b7dab0b0d3c1e73a1771b3b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/worklet/import.html
+++ b/third_party/WebKit/LayoutTests/http/tests/worklet/import.html
@@ -8,7 +8,7 @@
<script>
promise_test(function() {
- return renderWorklet.import('resources/empty-worklet-script.js').then(function(undefined_arg) {
+ return paintWorklet.import('resources/empty-worklet-script.js').then(function(undefined_arg) {
assert_equals(undefined_arg, undefined, 'Promise should resolve with no arguments.');
}).catch(function(error) {
assert_unreached('unexpected rejection: ' + error);
@@ -18,7 +18,7 @@
promise_test(function() {
- return renderWorklet.import('resources/throwing-worklet-script.js').then(function(undefined_arg) {
+ return paintWorklet.import('resources/throwing-worklet-script.js').then(function(undefined_arg) {
assert_equals(undefined_arg, undefined, 'Promise should resolve with no arguments.');
}).catch(function(error) {
assert_unreached('unexpected rejection: ' + error);
@@ -28,7 +28,7 @@
promise_test(function() {
- return renderWorklet.import('non-existant-worklet-script.js').then(function() {
+ return paintWorklet.import('non-existant-worklet-script.js').then(function() {
assert_unreached('import should fail.');
}).catch(function(error) {
assert_equals(error.name, 'NetworkError', 'error should be a NetworkError.');
@@ -38,7 +38,7 @@
promise_test(function() {
- return renderWorklet.import('http://invalid:123$').then(function() {
+ return paintWorklet.import('http://invalid:123$').then(function() {
assert_unreached('import should fail.');
}).catch(function(error) {
assert_equals(error.name, 'SyntaxError', 'error should be a SyntaxError.');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698