setUninstallURL should be updated to 1023
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(firefox116 fixed)
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: patrickkettner, Assigned: patrickkettner)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [wecg])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Steps to reproduce:
browser.runtime.setUninstallURL(https://example.org?a={"a".repeat(300)}
);
Actual results:
It throws an error, that setUninstallURL can only take strings up to 255 in length
Expected results:
Chrome updated setUninstallURL to allow for strings of a length of 1023. Firefox should be updated to match
Comment 1•6 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Comment 2•6 months ago
|
||
Chrome was updated to 1023, sending in a PR for firefox to have parity
Updated•6 months ago
|
Updated•6 months ago
|
Comment 3•6 months ago
|
||
Patrick, not sure if you've seen my comment in the patch (https://phabricator.services.mozilla.com/D179403#5939217), but I cannot approve the patch when it is in a draft state.
Assignee | ||
Comment 4•6 months ago
|
||
Thanks for the ping, rob! submitted
Updated•6 months ago
|
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/1de5c0e8f978 Increase setUninstallURL length limit to 1023 r=extension-reviewers,robwu
Comment 6•6 months ago
|
||
bugherder |
Updated•6 months ago
|
MDN documentation change made in setUninstallURL to 1023 #27309
Description
•