Open Bug 1947683 Opened 12 days ago Updated 12 days ago

[webdriver-bidi] webExtension.install with path should not accept archives

Categories

(Remote Protocol :: WebDriver BiDi, defect)

Firefox 134
defect

Tracking

(Not tracked)

People

(Reporter: chrmod, Unassigned)

References

(Blocks 1 open bug, )

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:134.0) Gecko/20100101 Firefox/134.0

Component: Untriaged → WebDriver BiDi
Product: Firefox → Remote Protocol

It looks like that we do not correctly handle a case when path is given as type but the actual pass specified is an XPI file. Checking the BiDi specification for expand a web extension data spec it says:

Let locator be a directory locator with path path and root corresponding to the root of the file system.

We most likely have to update it to Try to create a ... and specifying the error that will be thrown if the given path is not a directory.

Blocks: 1934549
Status: UNCONFIRMED → NEW
Depends on: 1934551
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.