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

Issue 249653002: document.open(): gracefully handle exception thrown on window.open access. (Closed)

Created:
6 years, 8 months ago by sof
Modified:
6 years, 8 months ago
CC:
blink-reviews, Nils Barth (inactive), arv+blink, jsbell+bindings_chromium.org, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

document.open(): gracefully handle exception thrown on window.open access. Check if the "open" property lookup on the global object returned anything before attempting to use it. R=haraken@chromium.org BUG=365659 TEST=fast/js/document-open-getter-throw-no-crash.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172407

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
A + LayoutTests/fast/js/document-open-getter-throw-no-crash.html View 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/fast/js/document-open-getter-throw-no-crash-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/js/script-tests/document-open-getter-throw-no-crash.js View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sof
Please take a look. Test in the right place (and of the expected form)?
6 years, 8 months ago (2014-04-23 16:23:27 UTC) #1
haraken
Does this behavior align with other browsers and the spec? (It was not clear from ...
6 years, 8 months ago (2014-04-23 16:27:24 UTC) #2
sof
On 2014/04/23 16:27:24, haraken wrote: > Does this behavior align with other browsers and the ...
6 years, 8 months ago (2014-04-23 16:38:06 UTC) #3
haraken
On 2014/04/23 16:38:06, sof wrote: > On 2014/04/23 16:27:24, haraken wrote: > > Does this ...
6 years, 8 months ago (2014-04-23 16:46:11 UTC) #4
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 8 months ago (2014-04-23 18:08:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/249653002/1
6 years, 8 months ago (2014-04-23 18:08:55 UTC) #6
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 21:19:06 UTC) #7
Message was sent while issue was closed.
Change committed as 172407

Powered by Google App Engine
This is Rietveld 408576698