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

Issue 2818563004: sendBeacon should throw a TypeError on bad URLs. (Closed)

Created:
3 years, 8 months ago by nikhil.sahni
Modified:
3 years, 7 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

sendBeacon should throw a TypeError on bad URLs. sendBeacon should throw a TypeError on bad URLs instead of syntax error. Bug=660241 Review-Url: https://codereview.chromium.org/2818563004 Cr-Commit-Position: refs/heads/master@{#465183} Committed: https://chromium.googlesource.com/chromium/src/+/0cfcab89310f8e7ad6db537c686200c0f545b613

Patch Set 1 #

Patch Set 2 : Changed Layout Tests #

Patch Set 3 : Patch Set 2 was the final submit, 3 was uploaded by mistake. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -545 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-context-gc-custom-properties.html View 1 2 1 chunk +1 line, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/webgl/context-destroyed-crash.html View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/detached-doctype.html View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-gc.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/HTMLInputElement/cloned-input-checked-state.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/NodeList/adoptNode-node-list-cache.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/NodeList/childNodes-reset-cache.html View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html View 1 2 1 chunk +1 line, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/timer-null-script-execution-context.html View 1 2 1 chunk +1 line, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/dataset-gc.html View 1 2 1 chunk +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html View 1 2 2 chunks +1 line, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/navigator-detached-no-crash.html View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/node-iterator-document-moved-crash.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/text-node-append-data-remove-crash.html View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/gc-freeze-with-attribute-listeners.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-channel-gc.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-channel-gc-2.html View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-channel-gc-3.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-channel-gc-4.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-port-constructor-for-deleted-document.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-port-deleted-document.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-port-deleted-frame.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/message-port-no-wrapper.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/resources/message-port-iframe.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/ValidityState-removed-control.html View 1 2 1 chunk +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/change-form-element-document-crash.html View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/dangling-form-element-crash.html View 1 2 1 chunk +1 line, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash2.html View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/removed-image-as-property.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/html/pending-stylesheet-crash.html View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/js/exec-state-marking.html View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/media/lifetime.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/shared-worker-event-listener.html View 1 2 2 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/shared-worker-gc.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/worker-event-listener.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/worker-exception-during-navigation.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/worker-gc.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/worker-init.html View 1 2 1 chunk +1 line, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/worker-supplement-gc.html View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/workers/worker-terminate.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/xpath/xpath-other-nodeset-result-should-mark-its-nodeset.html View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/xpath/xpath-snapshot-result-should-mark-its-nodeset.html View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/geolocation-api/remove-remote-context-in-error-callback-crash.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/from-disk-cache-timing.html View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/long-script-content.html View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/images/destroyed-image-load-event.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/mediasession/mojo/callback-alive-after-gc.html View 1 2 1 chunk +1 line, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html View 1 2 1 chunk +1 line, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/custom/tref-clone-crash.html View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html View 1 2 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
Srirama
Peer review looks good.
3 years, 8 months ago (2017-04-13 11:36:28 UTC) #3
tyoshino (SeeGerritForStatus)
Code looks good. Could you please add a layout test?
3 years, 8 months ago (2017-04-14 04:30:03 UTC) #6
nikhil.sahni
On 2017/04/14 04:30:03, tyoshino wrote: > Code looks good. Could you please add a layout ...
3 years, 8 months ago (2017-04-17 03:56:27 UTC) #7
nikhil.sahni
On 2017/04/14 04:30:03, tyoshino wrote: > Code looks good. Could you please add a layout ...
3 years, 8 months ago (2017-04-17 03:56:30 UTC) #8
tyoshino (SeeGerritForStatus)
On 2017/04/17 03:56:30, nikhil.sahni wrote: > On 2017/04/14 04:30:03, tyoshino wrote: > > Code looks ...
3 years, 8 months ago (2017-04-17 04:12:53 UTC) #9
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/2818563004/1
3 years, 8 months ago (2017-04-17 15:02:52 UTC) #11
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-17 15:02:54 UTC) #13
nikhil.sahni
Hi Tyoshino, I found a file beacon-basic-expected.txt, which tests the sendBeacon function on bad URL's ...
3 years, 8 months ago (2017-04-17 15:28:44 UTC) #18
tyoshino (SeeGerritForStatus)
On 2017/04/17 15:28:44, nikhil.sahni wrote: > Hi Tyoshino, > > I found a file beacon-basic-expected.txt, ...
3 years, 8 months ago (2017-04-18 04:45:22 UTC) #21
nikhil.sahni
Hi Tyoshino 2 Layout tests were failing prior to the new changes. After changing these ...
3 years, 8 months ago (2017-04-18 09:04:49 UTC) #26
tyoshino (SeeGerritForStatus)
Thank you. Patch set 2 lgtm.
3 years, 8 months ago (2017-04-18 09:06:21 UTC) #27
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/2818563004/20001
3 years, 8 months ago (2017-04-18 09:07:46 UTC) #29
tyoshino (SeeGerritForStatus)
On 2017/04/18 09:06:21, tyoshino wrote: > Thank you. Patch set 2 lgtm. Checked AUTHORS and ...
3 years, 8 months ago (2017-04-18 09:08:20 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 09:11:11 UTC) #33
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0cfcab89310f8e7ad6db537c6862...

Powered by Google App Engine
This is Rietveld 408576698