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

Issue 157273005: Fix potential crash causes in ServiceWorker LayoutTests (Closed)

Created:
6 years, 10 months ago by kinuko
Modified:
6 years, 10 months ago
Reviewers:
alecflett
CC:
blink-reviews
Visibility:
Public.

Description

Fix potential crash causes in ServiceWorker LayoutTests 1. Adds an empty serviceworker.js Registering nonexistent worker script will start to return InstallError, so create an empty serviceworker.js in the LayoutTests (we should also add nonexistent worker case once the registration patch re-lands) 2. Handle all possible error cases in ServiceWorkerError.cpp Getting an error other than DisabledError hits ASSERT in debug build, so handle other error cases too. BUG=285976 TEST=virtual/serviceworker/http/tests/serviceworker/registration.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166739

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
A LayoutTests/http/tests/serviceworker/serviceworker.js View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerError.cpp View 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kinuko
Alec, can you review this (and click CQ if it looks good to you)? This ...
6 years, 10 months ago (2014-02-07 13:47:06 UTC) #1
alecflett
lgtm
6 years, 10 months ago (2014-02-07 18:53:35 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/157273005/50001
6 years, 10 months ago (2014-02-07 18:53:49 UTC) #3
commit-bot: I haz the power
6 years, 10 months ago (2014-02-07 21:21:11 UTC) #4
Message was sent while issue was closed.
Change committed as 166739

Powered by Google App Engine
This is Rietveld 408576698