Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / script-tests / activation-proto.js
blob9642fb191069171b6ca62f0eb78a563c4be431f6
1 description(
3 "This test checks that activation objects (the local scope for a function) don't have the special __proto__ property that lets you get and set a normal object's prototype. This is important because the impossibility of swizzling activation object prototype chains allows various optimizations."
5 );
7 shouldBe("(function() { __proto__.testVariable = 'found'; return window.testVariable; })()", "'found'");