Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / script-tests / document-open-getter-throw-no-crash.js
blobb4f8ccad5ec03f1e4b0501d2ae39bc1f23903405
1 description("document.open() - propagate exception thrown when accessing window.open.");
3 var frame = document.body.appendChild(document.createElement("iframe"));
4 frame.contentWindow.__defineGetter__("open", function() { throw 'PASS (no crash)';});
5 shouldThrow("frame.contentDocument.open(1, 1, 1, 1, 1);");