Closed Bug 850947 Opened 13 years ago Closed 13 years ago

fix addon install panel location

Categories

(Firefox Graveyard :: SocialAPI, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 22

People

(Reporter: mixedpuppy, Assigned: mixedpuppy)

References

Details

Attachments

(1 file, 1 obsolete file)

The 3rd party addon window should appear as a dropdown sheet on osx, however it is appearing as a dialog.
Attached patch fix parent for addon panel (obsolete) — Splinter Review
Assignee: nobody → mixedpuppy
Attachment #724707 - Flags: review?(mhammond)
Comment on attachment 724707 [details] [diff] [review] fix parent for addon panel messed up this patch, fixing it
Attachment #724707 - Attachment is obsolete: true
Attachment #724707 - Flags: review?(mhammond)
fixes the previous patch where I missed the installprovider change in the blocklist test, also does some minor cleanup there.
Attachment #724723 - Flags: review?(mhammond)
Comment on attachment 724723 [details] [diff] [review] fix parent for addon panel Review of attachment 724723 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, but untested as to whether it passes all tests and whether it actually fixes the described problem (TBH, I'm not even sure what the described problem actually means, but that's OK ;) ::: browser/base/content/test/social/browser_blocklist.js @@ +116,5 @@ > + Social.installProvider(doc, manifest_bad, function(addonManifest) { > + gBrowser.removeTab(tab); > + finish(false); > + }); > + } catch(e) { While it isn't directly related to the patch, can we do something simple to check that the exception being thrown is what we expect?
Attachment #724723 - Flags: review?(mhammond) → review+
Comment on attachment 724723 [details] [diff] [review] fix parent for addon panel Felipe, can you give a secondary review on this from an osx perspective? This should land for 23, bug 836452 will likely be blocked on this as well.
Attachment #724723 - Flags: review?(felipc)
Blocks: 836452
Comment on attachment 724723 [details] [diff] [review] fix parent for addon panel Review of attachment 724723 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/modules/Social.jsm @@ -177,5 @@ > } > return null; > }, > > - installProvider: function(origin ,sourceURI, data, installCallback) { Changes looks good, but this previous code is odd-looking: was this broken before? there are 4 params here but the function was called with only three
(In reply to :Felipe Gomes from comment #6) > Comment on attachment 724723 [details] [diff] [review] > fix parent for addon panel > > Review of attachment 724723 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/modules/Social.jsm > @@ -177,5 @@ > > } > > return null; > > }, > > > > - installProvider: function(origin ,sourceURI, data, installCallback) { > > Changes looks good, but this previous code is odd-looking: was this broken > before? there are 4 params here but the function was called with only three It was wrong before, only worked because the params were in the right order otherwise.
Attachment #724723 - Flags: review?(felipc) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Verified fixed in Firefox 22.0b5.
Status: RESOLVED → VERIFIED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: