Closed Bug 1500395 Opened 7 years ago Closed 6 years ago

[remote-dbg-next] migrate aboutdebugging test: browser_service_workers_status.js

Categories

(DevTools :: about:debugging, enhancement, P1)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 2 open bugs)

Details

(Whiteboard: old-remote-debugging-ng-m3)

Attachments

(3 files)

filter on remote-debugging-next-move-m3-to-m2
filter on remote-debugging-next-move-m3-to-m2
filter on remote-debugging-next-move-m3-to-m2
No longer blocks: remote-debugging-ng-m3
Priority: P3 → P2
Whiteboard: old-remote-debugging-ng-m3

You can have a look at the following documentation for some tips on how to migrate tests: https://gist.github.com/juliandescottes/fecc426ac84600357259bf513cea744c

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: P2 → P1

In its current shape the existing test in about:debugging is not testing anything interesting comparing to our existing tests. It simply waits for a serviceworker to reach the stopped state, but we already do that as a prerequisite to most of our service worker tests.

To design a stable test here we would need to be able to drive the "registering", "starting" and "stopped" phases of the service worker from the test page. I will try to do this, but if it seems too complicated let's move this to P3 or outside of m2 directly since it's not a gap.

Depends on D17555

Not necessary, but one less react warning in the logs :)

Depends on D17629
Small leftover from previous bugs

Depends on D17630
I am not mentioning the original test in the test file because they are not similar.
Original test was not actually testing anything interesting for us.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b9416e476b7 Fix react warning for ServiceWorkerAction component;r=daisuke https://hg.mozilla.org/integration/autoland/rev/8c7f41867ac7 Remove incorrect mentions about push in empty sw;r=daisuke https://hg.mozilla.org/integration/autoland/rev/d2e4d4ff466b Migrate service worker status test to new about:debugging;r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: