Closed Bug 1835723 Opened 6 months ago Closed 6 months ago

setUninstallURL should be updated to 1023

Categories

(WebExtensions :: General, enhancement, P3)

enhancement

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
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

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.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Chrome was updated to 1023, sending in a PR for firefox to have parity

Assignee: nobody → patrickkettner
Status: UNCONFIRMED → ASSIGNED
Component: DOM: Core & HTML → General
Ever confirmed: true
Product: Core → WebExtensions
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [wecg]

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.

Flags: needinfo?(patrickkettner)

Thanks for the ping, rob! submitted

Flags: needinfo?(patrickkettner)
Attachment #9336467 - Attachment description: WIP: Bug 1835723 - update setUninstallURL to 1023 → Bug 1835723 - Increase setUninstallURL length limit to 1023
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/1de5c0e8f978
Increase setUninstallURL length limit to 1023 r=extension-reviewers,robwu
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Keywords: dev-doc-needed

MDN documentation change made in setUninstallURL to 1023 #27309

You need to log in before you can comment on or make changes to this bug.