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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/worklet/immutable-prototype-paint-worklet.html

Issue 2452073002: Freeze global prototype chain per WebIDL (Closed)
Patch Set: Freeze worklet global scope too Created 4 years, 1 month 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/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>

Powered by Google App Engine
This is Rietveld 408576698