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

Issue 1209933003: ServiceWorkerClients::openWindow() should reject with TypeError for an invalid URL. (Closed)

Created:
5 years, 6 months ago by Paritosh Kumar
Modified:
5 years, 5 months ago
Reviewers:
falken, nhiroki
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

ServiceWorkerClients::openWindow() should reject with TypeError for an invalid URL. As per https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#clients-openwindow Clients.openWindow() should throw TypeError instead of SyntaxError for an Invalid URL. BUG=506071 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198127

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M LayoutTests/http/tests/serviceworker/chromium/clients-openwindow.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerClients.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
Paritosh Kumar
As the spec looks changing to allow about:blank after all: https://github.com/slightlyoff/ServiceWorker/issues/699 Made this cl as ...
5 years, 6 months ago (2015-06-25 13:13:11 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209933003/20001
5 years, 5 months ago (2015-07-01 06:56:50 UTC) #4
nhiroki
Looks good to me. Could you file an issue for this and update the BUG= ...
5 years, 5 months ago (2015-07-01 07:00:29 UTC) #5
Paritosh Kumar
Thanks nhiroki Updated the cl description with newly created issue and updated cl to address ...
5 years, 5 months ago (2015-07-01 07:43:19 UTC) #6
nhiroki
LGTM!
5 years, 5 months ago (2015-07-01 07:46:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209933003/40001
5 years, 5 months ago (2015-07-01 08:40:04 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 10:25:05 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198127

Powered by Google App Engine
This is Rietveld 408576698