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•2 years 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•2 years ago
|
||
Chrome was updated to 1023, sending in a PR for firefox to have parity
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years 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•2 years ago
|
||
Thanks for the ping, rob! submitted
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
MDN documentation change made in setUninstallURL to 1023 #27309
Description
•