Open Bug 1565829 Opened 6 years ago Updated 1 year ago

"Error retrieving Push subscription." is too scarce of details

Categories

(Core :: DOM: Push Subscriptions, enhancement, P5)

enhancement

Tracking

()

Tracking Status
firefox69 --- affected
firefox70 --- affected
firefox71 --- affected

People

(Reporter: marco, Unassigned)

Details

(Whiteboard: dom-lws-bugdash-triage)

I have integration tests for the web-push library for Firefox Release, Beta and Nightly. Since a few weeks ago, they started failing on Nightly. They started failing on Beta too recently with "Error retrieving Push subscription.".

With no additional details, debugging this is very painful.
The same can happen to developers, I can see a few StackOverflow questions and issues mentioning this, e.g.:
https://stackoverflow.com/questions/56378140/i-get-domexception-error-retrieving-push-subscription-while-using-firefox-67
https://stackoverflow.com/questions/34489810/firefox-push-api-aborterror-error-retrieving-push-subscription
https://github.com/mozilla/wp-web-push/issues/157

If you want to use a custom build of Firefox, you can add something like:

    browser.getExecutablePath = function() {
        return "/home/marco/Documenti/FD/mozilla-unified/obj/dist/bin/firefox";
    };

to https://github.com/web-push-libs/web-push/blob/5df44693b0a466faedeb2b0a89d6606cb0f16e0f/test/testSelenium.js#L64.

P5 for now

Priority: -- → P5

69 (release) is failing too, so the library is no longer tested against Firefox.

Severity: normal → S3
Severity: S3 → S4

(This is not a bug but is annoying)

Type: defect → enhancement
Whiteboard: dom-lws-bugdash-triage
You need to log in before you can comment on or make changes to this bug.