Closed Bug 1582047 Opened 2 months ago Closed Last month

[wpt-sync] Sync PR 19132 - Clear-Site-Data: clients uncontrolled by service workers

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 19132 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19132
Details from upstream follow.

asakusuma <asa.kusuma@gmail.com> wrote:

Clear-Site-Data: clients uncontrolled by service workers

Adds a failing test, asserting that pages actively controlled by a service worker become uncontrolled after the Clear-Site-Data storage directive.

We agreed on this behavior in a spec issue and confirmed the need for this test at the TPAC Service Workers F2F.

https://github.com/w3c/ServiceWorker/issues/614
F2F notes: https://docs.google.com/document/d/1_Qfw5m3BJEaL1xIzTJd41HXjgJ9gq7mroBDXqSJIzic/edit

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
## GitHub CI Results
wpt.fyi [PR Results](https://wpt.fyi/results/?sha=ec95f4e4466707cc2466021b84c7212d6de9d9a9&label=pr_head) [Base Results](https://wpt.fyi/results/?sha=ec95f4e4466707cc2466021b84c7212d6de9d9a9&label=pr_base)

Ran 4 tests and 21 subtests

### Firefox
  OK     : 3
  PASS   : 17
  FAIL   : 1
  TIMEOUT: 2

### Chrome
  OK     : 3
  PASS   : 19
  FAIL   : 1
  TIMEOUT: 2

### Safari
  OK     : 1
  PASS   : 8
  FAIL   : 3
  TIMEOUT: 5
  ERROR  : 1
  NOTRUN : 5

### Existing tests that now have a worse result

/clear-site-data/storage.https.html: Firefox: OK->TIMEOUT, Chrome: OK->TIMEOUT, Safari: OK->TIMEOUT

### Other new tests that's don't pass

/clear-site-data/storage.https.html
   Service worker no longer responds to requests: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
   Clear backend when 'storage' is deleted: filesystems: Firefox: MISSING, Chrome: PASS, Safari: MISSING
   Clear backend when 'storage' is deleted: WebSQL: Firefox: MISSING, Chrome: PASS, Safari: MISSING
   controllerchange event fires and client no longer has controller: Firefox: TIMEOUT, Chrome: TIMEOUT, Safari: TIMEOUT

## Gecko CI Results

Ran 4 tests and 12 subtests
  OK     : 3
  PASS   : 12

### Tests that are disabled
/clear-site-data/storage.https.html
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream error][domsecurity-backlog]
Too many busted try pushes. Check the try results for infrastructure issues.
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream][domsecurity-backlog]

Is there a problem with the testing infrastructure?

Too many busted try pushes. Check the try results for infrastructure issues.

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b899d0a8c9d
[wpt PR 19132] - Clear-Site-Data: clients uncontrolled by service workers, a=testonly
Status: NEW → RESOLVED
Closed: Last month
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.