Closed
Bug 891463
Opened 11 years ago
Closed 10 years ago
window/utils module's windows() method requires special undocumented parameters in order to see private windows
Categories
(Add-on SDK Graveyard :: Documentation, defect, P2)
Add-on SDK Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: josesigna, Unassigned)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 Steps to reproduce: Used window/utils module to iterate through all open windows using its windows() method. Actual results: The method does not iterate through private windows (even after adding the required permission to package.json). It only works when adding the following parameters: window(null, { includePrivate: true }) Expected results: The required parameters to make this method work with private windows should be specified on the docs: https://addons.mozilla.org/en-US/developers/docs/sdk/latest/modules/sdk/window/utils.html#windows()
Updated•11 years ago
|
Assignee: nobody → evold
Comment 1•11 years ago
|
||
Github won't let me create a pull request atm, need to attach this later: https://github.com/erikvold/addon-sdk/tree/891463
Updated•11 years ago
|
Flags: needinfo?(evold)
Comment 2•11 years ago
|
||
Pointer to Github pull-request
Updated•11 years ago
|
Attachment #772819 -
Flags: review?(wbamberg)
Updated•11 years ago
|
Flags: needinfo?(evold)
Updated•11 years ago
|
Priority: -- → P2
Updated•11 years ago
|
Assignee: evold → nobody
Comment 3•11 years ago
|
||
Comment on attachment 772819 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/1090 I've left comments on this in the pull request.
Attachment #772819 -
Flags: review?(wbamberg) → review-
Comment 4•10 years ago
|
||
-> https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/window_utils#windows%28%29
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•