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

Issue 2855263004: Throw in window.open() when an invalid URL is being passed (Closed)

Created:
3 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
3 years, 7 months ago
Reviewers:
foolip
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-frames_chromium.org, chromium-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -14 lines) Patch
A third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html View 1 1 chunk +9 lines, -0 lines 3 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Window.idl View 1 chunk +1 line, -1 line 3 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.cpp View 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
jochen (gone - plz use gerrit)
3 years, 7 months ago (2017-05-04 15:01:58 UTC) #1
foolip
LGTM, the testing question I'll leave to you. https://codereview.chromium.org/2855263004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html (right): https://codereview.chromium.org/2855263004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html#newcode7 third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html:7: assert_throws("SyntaxError", ...
3 years, 7 months ago (2017-05-05 11:21:29 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2855263004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html (right): https://codereview.chromium.org/2855263004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html#newcode7 third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html:7: assert_throws("SyntaxError", () => { self.open("http:"); }); On 2017/05/05 at ...
3 years, 7 months ago (2017-05-05 11:25:52 UTC) #9
foolip
https://codereview.chromium.org/2855263004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html (right): https://codereview.chromium.org/2855263004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html#newcode7 third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html:7: assert_throws("SyntaxError", () => { self.open("http:"); }); On 2017/05/05 11:25:51, ...
3 years, 7 months ago (2017-05-05 11:28:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2855263004/20001
3 years, 7 months ago (2017-05-05 11:31:27 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 12:20:43 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4451675d1f2349898d0a84cd2503...

Powered by Google App Engine
This is Rietveld 408576698