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

Side by Side Diff: LayoutTests/fast/js/script-tests/document-open-getter-throw-no-crash.js

Issue 249653002: document.open(): gracefully handle exception thrown on window.open access. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months 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 description("document.open() - propagate exception thrown when accessing window. open.");
2
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);");
6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698