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

Unified Diff: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js
diff --git a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js
index 53937e8acc5701cd9d8f3e052e76cfe832b03468..e2ce067986bcbba50ed35df7a37016f551734183 100644
--- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js
+++ b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js
@@ -20,7 +20,7 @@ function testRunnerGeometryLogging(tests, workletCode) {
testRunner.dumpAsText();
}
- paintWorklet.import('resources/paint-logging-green.js').then(function() {
+ paintWorklet.addModule('resources/paint-logging-green.js').then(function() {
tests.reduce(function(chain, obj) {
return chain.then(function() {
console.log('The worklet should log: \'width: ' + obj.expected.width + ', height: ' + obj.expected.height + '\'');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698