Closed
Bug 999443
Opened 11 years ago
Closed 11 years ago
IE Tab Plug-in is not automatically activated
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Tracking
(firefox30+ verified, firefox31 verified)
VERIFIED
FIXED
mozilla31
People
(Reporter: pauly, Assigned: benjamin)
References
Details
(Whiteboard: p=2 s=it-31c-30a-29b.3 [qa!])
Attachments
(2 files)
5.24 KB,
patch
|
gfritzsche
:
review+
|
Details | Diff | Splinter Review |
3.45 KB,
patch
|
gfritzsche
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR:
1. Install https://addons.mozilla.org/addon/ie-tab-2-ff-36/
2. Restart FF
3. Open Addons Manager/Plugins
Actual result: IE Tab Plug-in is set to 'Ask to Activate'
Expected result: IE Tab Plug-in is set to 'Always Activate'
Path: C:\Users\paul.silaghi\AppData\Roaming\Mozilla\Firefox\Profiles\jhkta1cy.21\extensions\{1BC9BA34-1EED-42ca-A505-6D2F1A935BBB}\plugins\npietab2.dll
Reporter | ||
Comment 1•11 years ago
|
||
31.0a1 (2014-04-21), Win 7 x64
Updated•11 years ago
|
Flags: firefox-backlog?
Priority: -- → P2
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → benjamin
Whiteboard: p=2
Assignee | ||
Updated•11 years ago
|
Flags: firefox-backlog? → firefox-backlog+
Updated•11 years ago
|
QA Whiteboard: [qa+]
Whiteboard: p=2 → p=2
Updated•11 years ago
|
Status: NEW → ASSIGNED
Whiteboard: p=2 → p=2 s=it-31c-30a-29b.3 [qa+]
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8410409 -
Flags: review?(georg.fritzsche)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8410411 -
Flags: review?(georg.fritzsche)
Comment 4•11 years ago
|
||
Comment on attachment 8410409 [details] [diff] [review]
plugin-extension-test
Review of attachment 8410409 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with comments addressed.
::: dom/plugins/test/unit/head_plugins.js
@@ +12,5 @@
> const gIsLinux = ("@mozilla.org/gnome-gconf-service;1" in Cc) ||
> ("@mozilla.org/gio-service;1" in Cc);
> const gDirSvc = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties);
>
> +const kPluginNames = [
k-prefixing for constants seems unusual in test js - use upper- or plain mixed-case without prefix?
@@ +29,5 @@
> var pluginEnum = gDirSvc.get("APluginsDL", Ci.nsISimpleEnumerator);
> while (pluginEnum.hasMoreElements()) {
> let dir = pluginEnum.getNext().QueryInterface(Ci.nsILocalFile);
> + let names = secondplugin ? kSecondNames : kPluginNames;
> + for (let name of names) {
Can't this just use |get_platform_specific_plugin_name()| plus handling for the second plugin?
Attachment #8410409 -
Flags: review?(georg.fritzsche) → review+
Comment 5•11 years ago
|
||
Comment on attachment 8410411 [details] [diff] [review]
plugin-extension-fix
Review of attachment 8410411 [details] [diff] [review]:
-----------------------------------------------------------------
Ouch, that was quite an oversight.
::: dom/plugins/base/nsPluginHost.cpp
@@ +1633,4 @@
> {
> + for (uint32_t i = 0; i < extensionDirs.Length(); ++i) {
> + bool contains;
> + if (NS_FAILED(extensionDirs[i]->Contains(pluginFile, true, &contains)) || !contains) {
So we now automatically activate plugins no matter where they are in extension dirs, not just <extension-dir>/plugins/.
So far i can't think of a problem with this though.
@@ +1660,5 @@
> }
>
> + bool more;
> + nsCOMPtr<nsISupports> next;
> + nsCOMPtr<nsIFile> file;
next & file don't need to be in this scope, can just move them where they are actually needed.
Attachment #8410411 -
Flags: review?(georg.fritzsche) → review+
Updated•11 years ago
|
QA Contact: florin.mezei
Assignee | ||
Comment 6•11 years ago
|
||
code https://hg.mozilla.org/integration/fx-team/rev/6892fe04273f
test https://hg.mozilla.org/integration/fx-team/rev/7ddc0333be78
Target Milestone: --- → mozilla31
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8410411 [details] [diff] [review]
plugin-extension-fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 982101
User impact if declined: feature bug 982101 doesn't work, blocks bug 992995
Testing completed (on m-c, etc.): just landed, automated tests and we'll have manual QA verify also
Risk to taking this patch (and alternatives if risky): fairly low risk
String or IDL/UUID changes made by this patch: None
Attachment #8410411 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
QA Contact: florin.mezei → paul.silaghi
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6892fe04273f
https://hg.mozilla.org/mozilla-central/rev/7ddc0333be78
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 10•11 years ago
|
||
Hi Paul, confirming if this resolved bug can be verified before the end of the desktop iteration on Monday April 28?
Flags: needinfo?(paul.silaghi)
Reporter | ||
Comment 11•11 years ago
|
||
Confirmed
Reporter | ||
Comment 12•11 years ago
|
||
IE Tab Plug-in is now set to 'Always Activate' after installation.
Verified fixed 31.0a1 (2014-04-24), Win 7 x64.
The plugin is N/A for Mac and Linux.
Status: RESOLVED → VERIFIED
status-firefox31:
--- → verified
Flags: needinfo?(paul.silaghi)
Whiteboard: p=2 s=it-31c-30a-29b.3 [qa+] → p=2 s=it-31c-30a-29b.3 [qa!]
Reporter | ||
Comment 13•11 years ago
|
||
I noticed 2 other issues with this addon (both reproducible on builds before landing bug 982101):
1. With the plugin 'Always activate', right click/open in IE Tab on a link, block the plugin from the doorhanger and then reload => plugin crash https://crash-stats.mozilla.com/report/index/d0ef86f6-577a-4511-a538-d7f4b2140425
2. Setting IT Tab to 'Ask to Activate' doesn't really block the plugin (right click/open in IE Tab on a link works just fine). Allowing from the doorhanger and then re-blocking finally blocks the plugin (the CTP overlay is displayed)
Let me know is these worth to be filed separately.
Flags: needinfo?(benjamin)
Assignee | ||
Comment 14•11 years ago
|
||
No, that's part of the addon and not something to track here.
Flags: needinfo?(benjamin)
Updated•11 years ago
|
Attachment #8410411 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
status-firefox30:
--- → affected
tracking-firefox30:
--- → +
Comment 15•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/622ae811fe06
https://hg.mozilla.org/releases/mozilla-aurora/rev/7940ae66d505
Flags: in-testsuite+
Comment 16•11 years ago
|
||
Verified as fixed using the following environment:
FF 30 Aurora
Build Id:20140428004000
OS: Win7 x64
QA Whiteboard: [qa+] → [qa!]
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•