Index: third_party/WebKit/LayoutTests/http/tests/worklet/immutable-prototype-paint-worklet.html |
diff --git a/third_party/WebKit/LayoutTests/nfc/idl-NavigatorNFC.html b/third_party/WebKit/LayoutTests/http/tests/worklet/immutable-prototype-paint-worklet.html |
similarity index 51% |
copy from third_party/WebKit/LayoutTests/nfc/idl-NavigatorNFC.html |
copy to third_party/WebKit/LayoutTests/http/tests/worklet/immutable-prototype-paint-worklet.html |
index 5a4b496f9b6f9c5ed5bb5f9ce4d412e8f62942e9..a6132f208f0a4199b9dae0afbef6d357573a2696 100644 |
--- a/third_party/WebKit/LayoutTests/nfc/idl-NavigatorNFC.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/worklet/immutable-prototype-paint-worklet.html |
@@ -1,9 +1,10 @@ |
<!DOCTYPE html> |
+<html> |
+<body> |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
<script> |
-test(function() { |
- assert_true('nfc' in navigator, |
- 'navigator.nfc exists.'); |
-}, 'navigator.nfc IDL test'); |
+ promise_test(t => paintWorklet.import('immutable-prototype-paint-worklet.js'), 'open paint worklet'); |
</script> |
+</body> |
+</html> |