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

Unified Diff: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-helper.js

Issue 2826983002: Rename Worklet.import() to Worklet.addModule(). (Closed)
Patch Set: Fixing Layout Tests Created 3 years, 8 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: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-helper.js
diff --git a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-helper.js b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-helper.js
index d5bd770ab78a5f6a36f603dba52f4ae013578afa..e7aec3d12ad8b45b46f70e53d0908bb1c28a0808 100644
--- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-helper.js
+++ b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-helper.js
@@ -19,7 +19,7 @@ function runner(tests) {
console.log('The worklet should not throw an error.');
}
var blob = new Blob([obj.script], {type: 'text/javascript'});
- return paintWorklet.import(URL.createObjectURL(blob));
+ return paintWorklet.addModule(URL.createObjectURL(blob));
});
}, Promise.resolve()).then(function() {
if (window.testRunner) {

Powered by Google App Engine
This is Rietveld 408576698