| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worklet-import-blocked.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worklet-import-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worklet-import-blocked.html
|
| index ec11a1a45221813f608eb0eca13c2f499beee3f2..de879a37fca18b805fe5d12a744c53e2145bbf09 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worklet-import-blocked.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worklet-import-blocked.html
|
| @@ -10,9 +10,9 @@
|
| <script>
|
| promise_test(function() {
|
|
|
| - return paintWorklet.import('/resources/worklet.js').then(
|
| + return paintWorklet.addModule('/resources/worklet.js').then(
|
| function(undefined_arg) {
|
| - assert_unreached('import should fail.')
|
| + assert_unreached('addModule should fail.')
|
| },
|
| function(error) {
|
| assert_equals(error.name, 'NetworkError', 'error should be a NetworkError.');
|
|
|