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

Issue 2347473005: Make required dictionary members non-nullable again (Closed)

Created:
4 years, 3 months ago by foolip
Modified:
4 years, 3 months ago
CC:
awdf+watch_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, emircan+watch+mediarecorder_chromium.org, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+serviceworker, mcasas+watch+mediarecorder_chromium.org, michaeln, nhiroki, Peter Beverloo, rwlbuis, serviceworker-reviews, shimazu+serviceworker_chromium.org, sof, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make required dictionary members non-nullable again These were changed to non-nullable to preserve existing behavior. Because they are required, the risk here is that developers have noticed they were required but successfully found and used the null loophole. At the slightest sign of trouble with any of these, it should be reverted and perhaps the specs should be changed to allow null. BlobEvent test will be imported from: https://github.com/w3c/web-platform-tests/pull/3749 PresentationConnectionAvailableEvent is untested: https://crbug.com/648922 BUG=647693 Committed: https://crrev.com/bb539825927adfa6f082056d63a9a0c47be8a3b4 Cr-Commit-Position: refs/heads/master@{#420285}

Patch Set 1 #

Patch Set 2 : rm TouchInit, add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -16 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-basics.html View 1 1 chunk +7 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-event.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-event-worker.js View 1 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js View 1 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/BlobEventInit.idl View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationConnectionAvailableEventInit.idl View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/FetchEventInit.idl View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEventInit.idl View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ForeignFetchResponse.idl View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
foolip
Depends on https://codereview.chromium.org/2342393002/ Do you think we should tread carefully with this, with use counters ...
4 years, 3 months ago (2016-09-16 16:30:00 UTC) #2
haraken
On 2016/09/16 16:30:00, foolip wrote: > Depends on https://codereview.chromium.org/2342393002/ > > Do you think we ...
4 years, 3 months ago (2016-09-17 00:01:06 UTC) #3
Rick Byers
I couldn't find the history of this issue by looking at the bug and related ...
4 years, 3 months ago (2016-09-17 19:48:44 UTC) #4
foolip
On 2016/09/17 19:48:44, Rick Byers (slow until 9-26) wrote: > I couldn't find the history ...
4 years, 3 months ago (2016-09-21 13:22:24 UTC) #9
mlamouri (slow - plz ping)
lgtm
4 years, 3 months ago (2016-09-22 08:48:17 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/2347473005/20001
4 years, 3 months ago (2016-09-22 08:49:23 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-22 08:54:29 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 08:56:37 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bb539825927adfa6f082056d63a9a0c47be8a3b4
Cr-Commit-Position: refs/heads/master@{#420285}

Powered by Google App Engine
This is Rietveld 408576698