Closed
Bug 1269341
Opened 9 years ago
Closed 8 years ago
tabs.query() disallows searching for extension's pages
Categories
(WebExtensions :: Untriaged, defect, P3)
WebExtensions
Untriaged
Tracking
(firefox49 affected)
RESOLVED
DUPLICATE
of bug 1271354
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | affected |
People
(Reporter: jwkbugzilla, Assigned: kmag)
References
Details
(Whiteboard: triaged)
Attachments
(1 file)
544 bytes,
application/x-xpinstall
|
Details |
Steps to reproduce:
1. Download attached extension.
2. Go to about:config and set xpinstall.signatures.required to false.
3. Open Add-ons Manager and install the extension from file.
4. Press Ctrl-Shift-J (Cmd-Shift-J on OS X) to open the Browser Console.
Expected results:
No error messages, the extension successfully called tabs.query() for one of its own URLs - as happening in Chrome.
Actual results:
Error message:
> Invalid match pattern: 'moz-extension://ab3bef6f-8307-7f4a-a92f-ffdaef522d41/foo.html'
The code causing this is the following:
chrome.tabs.query({
url: chrome.runtime.getURL("foo.html")
});
Updated•9 years ago
|
Assignee: nobody → kmaglione+bmo
Priority: -- → P3
Whiteboard: triaged
Updated•9 years ago
|
Target Milestone: --- → mozilla49
Reporter | ||
Updated•8 years ago
|
Blocks: webext-port-abp
Comment 1•8 years ago
|
||
This is the same as bug 1271354, the problem is MatchPattern doesn't allow/include the moz-extension scheme.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•