Closed
Bug 1190328
Opened 9 years ago
Closed 8 years ago
Test coverage for tabs extension API
Categories
(WebExtensions :: General, defect, P3)
WebExtensions
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gkrizsanits, Unassigned)
References
Details
(Whiteboard: [tabs] triaged)
Comment 1•9 years ago
|
||
This is still missing coverage for:
* The |onCreated| and |onRemoved| events.
* The |onUpdated| event with an image change.
* The |onUpdated| progress listener with (stateFlags & Ci.nsIWebProgressListener.STATE_IS_WINDOW) ever being false.
* The |onLocationChange| listener with a "complete", rather than "loading", status.
* |tabs.create| without the |active| or |selected| states.
* |tabs.create| called before the browser window has fully loaded, and does not yet have a |gBrowser| global.
* |tabs.update| without an explicit tab ID.
* The |reload|, |getAllInWindow|, and |insertCSS| API methods.
* |tabs.query| with a non-matching |lastFocusedWindow| or |windowType| filter.
* The |_execute| method with |code|, |allFrames|, |matchAboutBlank|, and |runAt| properties.
* |tabs.connect| without an explicit |name|, or with a |frameId|.
* |tabs.sendMessage| with a |frameId|.
I think we should probably split this into several bugs.
https://people.mozilla.org/~kmaglione/webextension-test-coverage/browser/components/extensions/ext-tabs.js.html
Updated•9 years ago
|
Component: Extension Compatibility → WebExtensions
Product: Firefox → Toolkit
Updated•9 years ago
|
Assignee: nobody → mwein
Updated•9 years ago
|
Flags: blocking-webextensions-
Updated•9 years ago
|
Flags: blocking-webextensions- → blocking-webextensions+
Updated•9 years ago
|
Iteration: --- → 47.2 - Feb 22
Updated•9 years ago
|
Iteration: 47.2 - Feb 22 → 47.3 - Mar 7
Updated•9 years ago
|
Iteration: 47.3 - Mar 7 → 48.1 - Mar 21
Updated•9 years ago
|
Iteration: 48.1 - Mar 21 → ---
Updated•9 years ago
|
Whiteboard: [tabs] triaged
Updated•8 years ago
|
Assignee: mwein → nobody
Updated•8 years ago
|
Component: WebExtensions: Untriaged → WebExtensions: General
Flags: blocking-webextensions+
Priority: -- → P3
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•