Bug 180618

Summary: Make an SWServer's registration store be optional
Product: WebKit Reporter: Brady Eidson <beidson>
Component: Service WorkersAssignee: Brady Eidson <beidson>
Status: ASSIGNED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, dbates, ews-watchlist, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-watchlist: commit-queue-
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
none
Archive of layout-test-results from ews125 for ios-simulator-wk2
none
Archive of layout-test-results from ews124 for ios-simulator-wk2 none

Brady Eidson
Reported 2017-12-08 20:16:31 PST
Make an SWServer's registration store be optional If the database failed to open, we shouldn't both pretending to do any of the extra work interacting with it. This also lets us skip the whole step of pretending to open a database for a private browsing store (which should have no database path).
Attachments
Patch (9.13 KB, patch)
2017-12-08 21:22 PST, Brady Eidson
ews-watchlist: commit-queue-
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (3.35 MB, application/zip)
2017-12-08 22:59 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (61.81 MB, application/zip)
2017-12-08 23:25 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews124 for ios-simulator-wk2 (61.61 MB, application/zip)
2017-12-09 01:44 PST, EWS Watchlist
no flags
Brady Eidson
Comment 1 2017-12-08 21:22:00 PST
EWS Watchlist
Comment 2 2017-12-08 22:59:20 PST
Comment on attachment 328903 [details] Patch Attachment 328903 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/5555795 New failing tests: storage/indexeddb/pending-version-change-on-exit-private.html storage/indexeddb/pending-version-change-stuck-works-with-terminate-private.html storage/indexeddb/pending-version-change-stuck-private.html http/tests/cache-storage/cache-persistency.https.html http/tests/workers/service/basic-register.html storage/indexeddb/open-bad-versions-private.html http/tests/workers/service/serviceworker-private-browsing.https.html http/tests/cache-storage/cache-representation.https.html http/tests/security/cookies/third-party-cookie-blocking-redirect.html storage/domstorage/localstorage/private-browsing-affects-storage.html storage/indexeddb/dont-wedge-private.html storage/indexeddb/modern/transactions-stop-on-navigation-private.html
EWS Watchlist
Comment 3 2017-12-08 22:59:21 PST
Created attachment 328906 [details] Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 4 2017-12-08 23:25:17 PST
Comment on attachment 328903 [details] Patch Attachment 328903 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5555860 New failing tests: http/tests/workers/service/serviceworker-private-browsing.https.html http/tests/security/cookies/third-party-cookie-blocking.html http/tests/security/cookies/third-party-cookie-blocking-xslt.xml http/tests/cache-storage/cache-persistency.https.html http/tests/workers/service/basic-register.html http/tests/cache-storage/cache-representation.https.html http/tests/security/cookies/third-party-cookie-blocking-main-frame.html http/tests/security/cookies/third-party-cookie-blocking-redirect.html storage/domstorage/localstorage/private-browsing-affects-storage.html http/tests/security/cookies/first-party-cookie-allow-xslt.xml
EWS Watchlist
Comment 5 2017-12-08 23:25:21 PST
Created attachment 328907 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 6 2017-12-09 01:44:22 PST
Comment on attachment 328903 [details] Patch Attachment 328903 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5557338 New failing tests: http/tests/cache-storage/cache-representation.https.html http/tests/security/cookies/third-party-cookie-blocking.html http/tests/security/cookies/third-party-cookie-blocking-xslt.xml http/tests/cache-storage/cache-persistency.https.html http/tests/security/cookies/third-party-cookie-blocking-redirect.html http/tests/workers/service/serviceworker-private-browsing.https.html http/tests/security/cookies/third-party-cookie-blocking-main-frame.html http/tests/workers/service/basic-register.html storage/domstorage/localstorage/private-browsing-affects-storage.html http/tests/security/cookies/first-party-cookie-allow-xslt.xml
EWS Watchlist
Comment 7 2017-12-09 01:44:27 PST
Created attachment 328909 [details] Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Brady Eidson
Comment 8 2017-12-10 20:10:55 PST
Will resist these failures later after I do more important things.
Note You need to log in before you can comment on or make changes to this bug.