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

Issue 340943002: ServiceWorker: Update IDLs to use ScalarValueString (Closed)

Created:
6 years, 6 months ago by jsbell
Modified:
6 years, 6 months ago
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, arv+blink, tzik, serviceworker-reviews, nhiroki, abarth-chromium, falken, blink-reviews-bindings_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, alecflett+watch_chromium.org
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Update IDLs to use ScalarValueString Based on the IDLs in the SW spec and now Fetch spec, use ScalarValueString as appropriate. Also, add cases to the overload resolution implementation for ByteString (and ScalarValueString, though the spec hasn't caught up yet). R=nbarth@chromium.org,haraken@chromium.org,horo@chromium.org BUG=379009 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176531

Patch Set 1 #

Patch Set 2 : Add URLs and one real test case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -12 lines) Patch
M LayoutTests/http/tests/serviceworker/resources/request-worker.js View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/bindings/scripts/v8_interface.py View 1 chunk +6 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/Client.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/FetchEvent.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/HeaderMap.idl View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/InstallEvent.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/InstallPhaseEvent.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/NavigatorServiceWorker.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/RegistrationOptionList.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/Request.idl View 1 1 chunk +2 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/Response.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.idl View 1 2 chunks +5 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerClients.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.idl View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl View 1 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jsbell
horo@, nbarth@, haraken@ - please take a look? Should I add tests for some or ...
6 years, 6 months ago (2014-06-18 22:14:30 UTC) #1
haraken
On 2014/06/18 22:14:30, jsbell wrote: > horo@, nbarth@, haraken@ - please take a look? > ...
6 years, 6 months ago (2014-06-18 23:29:27 UTC) #2
jsbell
On 2014/06/18 23:29:27, haraken wrote: > On 2014/06/18 22:14:30, jsbell wrote: > > horo@, nbarth@, ...
6 years, 6 months ago (2014-06-19 00:31:27 UTC) #3
haraken
On 2014/06/19 00:31:27, jsbell wrote: > On 2014/06/18 23:29:27, haraken wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-19 00:50:57 UTC) #4
horo
lgtm
6 years, 6 months ago (2014-06-19 07:39:08 UTC) #5
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-19 16:03:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/340943002/20001
6 years, 6 months ago (2014-06-19 16:04:34 UTC) #7
commit-bot: I haz the power
Change committed as 176531
6 years, 6 months ago (2014-06-19 17:48:14 UTC) #8
Nils Barth (inactive)
6 years, 6 months ago (2014-06-20 01:06:30 UTC) #9
Message was sent while issue was closed.
On 2014/06/18 23:29:27, haraken wrote:
> On 2014/06/18 22:14:30, jsbell wrote:
> > Should I add tests for some or all of the properties (e.g. register
"\uD800",
> > verify that "\uFFFD" got registered instead), or should we trust in the
> bindings
> > code?
> 
> ScalarValueString is brand-new, so adding tests sounds nice.

Agreed: in principle, general type behavior should be sufficiently covered by
e.g.
fast/js/webidl-type-mapping.html
...but as this is new and we don't have strict unit test separation,
it doesn't hurt.

Powered by Google App Engine
This is Rietveld 408576698