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

Issue 2753863003: Clarify Beacon transmission limit checking. (Closed)

Created:
3 years, 9 months ago by sof
Modified:
3 years, 9 months ago
CC:
blink-reviews, blink-reviews-frames_chromium.org, chromium-reviews, haraken
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Clarify Beacon transmission limit checking. The implementation of navigator.sendBeacon() imposes a cap on the size of transmitted beacon payloads. The internal handling of that limit was not as clear as could be, so attempt to clarify its representation and handling. Also clarify the interpretation of a negative cap limit: if a frame's settings provide a negative value, no transmission limit is imposed. R=mkwst, tyoshino BUG=701678 Review-Url: https://codereview.chromium.org/2753863003 Cr-Commit-Position: refs/heads/master@{#459564} Committed: https://chromium.googlesource.com/chromium/src/+/095bbad98260feae3a161c19ca1e9d9809dd544b

Patch Set 1 #

Patch Set 2 : rebased upto r459528 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -35 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-allowance-no-limit.html View 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.json5 View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.h View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.cpp View 1 3 chunks +25 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp View 1 3 chunks +27 lines, -16 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
sof
please take a look. ( i.e., I think we really should keep around the facility ...
3 years, 9 months ago (2017-03-16 12:01:00 UTC) #6
sof
ping? would be good to send this one along :)
3 years, 9 months ago (2017-03-21 08:41:47 UTC) #7
sof
+mkwst
3 years, 9 months ago (2017-03-23 20:50:14 UTC) #9
tyoshino (SeeGerritForStatus)
Sorry! I'll take a look at this today.
3 years, 9 months ago (2017-03-23 23:40:46 UTC) #10
Mike West
LGTM.
3 years, 9 months ago (2017-03-24 08:29:08 UTC) #11
tyoshino (SeeGerritForStatus)
lgtm! thanks
3 years, 9 months ago (2017-03-24 10:14:38 UTC) #12
sof
great, thanks both :)
3 years, 9 months ago (2017-03-24 15:22:03 UTC) #13
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/2753863003/1
3 years, 9 months ago (2017-03-24 15:23:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/177004) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 9 months ago (2017-03-24 15:26:45 UTC) #18
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/2753863003/20001
3 years, 9 months ago (2017-03-24 20:16:20 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 21:48:08 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/095bbad98260feae3a161c19ca1e...

Powered by Google App Engine
This is Rietveld 408576698