Closed
Bug 1011813
Opened 11 years ago
Closed 11 years ago
make test addon for native options unload
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zombie, Assigned: evold)
References
Details
Attachments
(1 file, 1 obsolete file)
my understanding is this test addon must land separately after native options are uplifted, see bug 903039 comment 24 for more details.
Reporter | ||
Comment 1•11 years ago
|
||
Priority: -- → P1
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8424471 [details] [review]
Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1493
simply extracted from my previous PR.
Erik, is this ok, or did you have something else/different in mind?
Attachment #8424471 -
Flags: review?(evold)
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Tomislav Jovanovic [:zombie] from comment #2)
> Comment on attachment 8424471 [details] [review]
> Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1493
>
> simply extracted from my previous PR.
>
> Erik, is this ok, or did you have something else/different in mind?
Ya I did, do you mind if I take this one?
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(tomica+amo)
Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8424471 [details] [review]
Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1493
no, be my guest..
Attachment #8424471 -
Attachment is obsolete: true
Attachment #8424471 -
Flags: review?(evold)
Flags: needinfo?(tomica+amo)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → evold
Blocks: sdk/simple-prefs
Assignee | ||
Comment 5•11 years ago
|
||
From bug 903039 comment 15:
I'm also concerned that the AOM could change one day by caching these inline option documents and still fire the event which we use to update them, in which case we wouldn't have any tests fail but there would be duplicate <setting> nodes, so we need some tests to protect ourselves against this. Either we can handle that possible case, or we can add a test that this is not the case, which would fail if this assumption changes.
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Erik Vold [:erikvold] [:ztatic] from comment #5)
> From bug 903039 comment 15:
>
> I'm also concerned that the AOM could change one day by caching these inline
> option documents and still fire the event which we use to update them, in
> which case we wouldn't have any tests fail but there would be duplicate
> <setting> nodes, so we need some tests to protect ourselves against this.
> Either we can handle that possible case, or we can add a test that this is
> not the case, which would fail if this assumption changes.
Oh I think we have this test, bug 903039 comment 20 is the description of the test needed here.
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Erik Vold [:erikvold] [:ztatic] from comment #6)
> Oh I think we have this test, bug 903039 comment 20 is the description of
> the test needed here.
yes, we do.
https://github.com/mozilla/addon-sdk/pull/1368/files#diff-16
Assignee | ||
Updated•11 years ago
|
Summary: add follow-up test addon for native options → make test addon for native options unload
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8432326 -
Flags: review?(jsantell)
Comment 9•11 years ago
|
||
Haven't looked through all of the PR yet, but is there a reason we're landing a zipwriter in the SDK outside of tests? Couldn't we have this as `./test/utils/zip`, rather than exposing it as a module?
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #9)
> Haven't looked through all of the PR yet, but is there a reason we're
> landing a zipwriter in the SDK outside of tests? Couldn't we have this as
> `./test/utils/zip`, rather than exposing it as a module?
No reason, I took it from the cfx-js branch which had it in `sdk/zip`. I suppose it's better to move it to the test directory for now, and JEP a zip api.
Comment 11•11 years ago
|
||
Some nits -- I'd say the zip and preferences/utils modules should be moved into a test utils directory or something so it's not something we have to support/discuss, and can promote it as a "public" module if we need to.
I don't understand why `promises` were removed from the promise test suite as well. Other than that, r+
Updated•11 years ago
|
Attachment #8432326 -
Flags: review?(jsantell) → review+
Assignee | ||
Comment 12•11 years ago
|
||
I addressed the review comments, I couldn't move the preferences/utils file without duplicating it, so I'd rather not do that. Is this alright with you? I'm pretty sure Irakli is alright stuff like this in low level apis.
Flags: needinfo?(jsantell)
Comment 14•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/5724de6d65fbf6b7352ccae9aea902a5f3067450
Bug 1011813 - make test addon for native options unload
https://github.com/mozilla/addon-sdk/commit/6a7c0249a6e7893696a9d1151034e6db8fe64ca4
Bug 1011813 - making sdk/zip/utils return promises
https://github.com/mozilla/addon-sdk/commit/5fb5579ee9162981ed7c9d99c618170c9b086dd5
Bug 1011813 fixing test after sdk/addon/installer revert
https://github.com/mozilla/addon-sdk/commit/f5be70456676b46838653ac5b226d0984d593567
Bug 1011813 addressing review comments
https://github.com/mozilla/addon-sdk/commit/4e55354f41a06172c236cff732f1f6a41b8e7a36
Merge pull request #1504 from erikvold/1011813
Bug 1011813 - make test add-on for native options unload r=@jsantell
Comment 15•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/a302f5801cd6d800dbb59563387e511b3d47007b
Bug 1011813 bug fix r=me r=jsantell
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•