Index: third_party/WebKit/LayoutTests/security/immutable-prototype.html |
diff --git a/third_party/WebKit/LayoutTests/security/immutable-prototype.html b/third_party/WebKit/LayoutTests/security/immutable-prototype.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dff8a6d9ab16aa21e801c65d99a801d61da34e43 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/security/immutable-prototype.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="immutable-prototype.js"></script> |
+<script> |
+'use strict'; |
+ |
+test(() => { |
+ let result = prototypeChain(window); |
+ assert_array_equals(result, |
+ ['immutable', 'immutable', 'immutable', 'immutable', 'immutable']); |
+}, 'global object prototype chain should be immutable'); |
+</script> |
+</html> |