Closed Bug 1625878 Opened 5 years ago Closed 5 years ago

Service workers isn't displayed on about:debugging page while remote debugging via USB

Categories

(DevTools :: about:debugging, defect)

76 Branch
defect
Not set
normal

Tracking

(firefox74 unaffected, firefox75 wontfix, firefox76 wontfix)

RESOLVED INVALID
Tracking Status
firefox74 --- unaffected
firefox75 --- wontfix
firefox76 --- wontfix

People

(Reporter: hyacoub, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image Screenshot 2020-03-30 at 12.13.05.png (deleted) —

Affected versions

76.0a1 (2020-03-29)

Affected platforms

macOS 10.14
Windows 10 x64

What were you doing?

  1. Enabling remote debugging via USB -> https://developer.mozilla.org/en-US/docs/Tools/WebIDE/Troubleshooting.
  2. Launch Firefox preview on your android phone and make sure that all the setups from step 1 are made
  3. Launch Firefox on your desktop and make sure that all the setups from step 1 are made.
  4. Make sure that devtools.debugger.features.windowless-service-workers is set to true in about:config
  5. From desktop Firefox go to "about:debugging".
  6. Click on "Setup" tab.
  7. From "USB" click on "Enable USB Device" button.
  8. From the left menu click on "Connect".
  9. From the mobile device Allow USB debugging connection.
  10. From mobile Firefox navigate to: https://thoughtful-archduchess.glitch.me/
  11. From Desktop Firefox make sure you are on the correct runtime in about:debugging page and click on "Inspect" from "Service Worker Test Page".
  12. Select the "Debugger" tab.
  13. From mobile Firefox navigate to: https://thoughtful-archduchess.glitch.me/
  14. From mobile Firefox press the "Register Worker" button from "Test Case #1".
  15. From desktop Firefox navigate to about:debugging -> mobile runtime
  16. Observe Service workers section.

What happened?

Service workers isn't displayed on about:debugging page while remote debugging via USB

What should have happened?

Service workers should be displayed on about:debugging page while remote debugging via USB

Hi Hani!

I can't reproduce this bug so far, testing against Firefox Preview (4.2.0).
The service worker shows up both in about:debugging and about:devtools-toolbox.

Can you confirm which version of Firefox Preview you used for the test?
Can you also check if the issue reproduces consistently for you?

Thanks

Flags: needinfo?(hani.yacoub)

Hi Julian,
I'm using Firefox Preview 4.2.0, I managed to reproduce the issue many times on windows and on MacOS.
I'm not sure what other info I could provide.

Flags: needinfo?(hani.yacoub)

Any error in the browser console for Firefox Desktop that could help?
Could you attach a screen recording to make sure we are following the same steps?

I can't reproduce the bug any more on the same build, after I reproduce it many times yesterday.
However after I updated Firefox nightly to the latest build, connection via USB is not possible.

Flags: needinfo?(jdescottes)

Thanks for the report Hani, I opened Bug 1626210, will fix shortly

Flags: needinfo?(jdescottes)

Closing this one as Resolved: Invalid.
Thanks you.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: