Open Bug 1829583 Opened 1 year ago Updated 3 months ago

Revert to lookbehind syntax once supported on iOS

Categories

(Toolkit :: Form Autofill, task, P5)

task

Tracking

()

ASSIGNED

People

(Reporter: issammani, Assigned: issammani)

Details

Attachments

(1 file)

In order to support webkit, we need to avoid usage of negative lookbehind due to low support. The first safari version with support is 16.4 (Release Date: 27th March 2023). The workaround to mimic the behaviour of negative lookbehinds is using a named capture group (?<!not)word -> (?<neg>notword)|word.

Severity: -- → N/A
Priority: -- → P5
Assignee: nobody → imani
Status: NEW → ASSIGNED

Update on this. We will need to wait until the min supported iOS version in Firefox is 16. Right now this is still 15.

From slack:

Hard to say. Our general strategy has been to support 2 versions older than the current one, but this next release will be a little different than previous ones because it's going to impact a lot more users than previous releases.
Once we get closer to the release of iOS 18 I'll put together a document with the pros and cons of continuing to support iOS 15 and then it will be a product decisions of if we drop support or not.
If we do drop support then it will happen sometime around September/October.

I will keep the patch as WIP for whenever we are ready to do this.

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

Attachment

General

Created:
Updated:
Size: