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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-custom-prototype-crash.html

Issue 2452073002: Freeze global prototype chain per WebIDL (Closed)
Patch Set: Test improvements 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 unified diff | Download patch
OLDNEW
(Empty)
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4
5 var newPrototype = new Object();
6 newPrototype.myNewPrototypeFunction = function() { return "myNewPrototypeFun ction"; }
7 window.__proto__ = newPrototype;
8 window.myNewPrototypeFunction();
9 </script>
10 If this did not crash the test has succeeded.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698