Closed
Bug 727915
Opened 13 years ago
Closed 4 years ago
"/suite/browser/test/browser_pluginnotification.js | Console message: [JavaScript Warning: "WARN addons.manager: Exception calling callback: TypeError: createItem is not a function" {file: "chrome://mozapps/content/extensions/extensions.js" line: 2389}]"
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sgautherie, Unassigned)
References
(Blocks 1 open bug, )
Details
https://tbpl.mozilla.org/php/getParsedLog.php?id=9384818&tree=Firefox&full=1
Rev3 Fedora 12x64 mozilla-central debug test mochitest-other on 2012-02-16 04:30:20 PST for push 6989376471f7
FF 13 is not affected, whereas SM 2.10 is.
(Test codes have differences, but they should hopefully be irrelevant here.)
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1329382375.1329388034.29824.gz&fulltext=1
OS X 10.6 comm-central-trunk debug test mochitest-other on 2012/02/16 00:52:55
{
TEST-PASS | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | Should have opened the correct tab
TEST-PASS | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | Should have displayed the plugins pane
TEST-INFO | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | Console message: [JavaScript Warning: "WARN addons.manager: Exception calling callback: TypeError: createItem is not a function" {file: "chrome://mozapps/content/extensions/extensions.js" line: 2389}]
Document chrome://mochitests/content/browser/suite/browser/test/plugin_test.html loaded successfully
TEST-PASS | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | Test 5, Should not have displayed the missing plugin notification
}
Already noticed on WINNT 5.2 in bug 725058 comment 1.
***
I can reproduce with an Opt build on my Windows 2000.
It happens while "plugin_test.html" is loading, after prepareTest5() and before test5():
{
152 function prepareTest5() {
153 var plugin = get_test_plugin();
154 plugin.disabled = false;
155 plugin.blocklisted = true;
156 prepareTest(test5, gTestRoot + "plugin_test.html");
157 }
158
159 // Tests a page with a blocked plugin in it.
160 function test5() {
161 var notificationBox = gBrowser.getNotificationBox(gTestBrowser);
}
Code is
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/content/extensions.js
{
2370 show: function(aType, aRequest) {
...
2382 getAddonsAndInstalls(aType, function(aAddonsList, aInstallsList) {
...
2388 for (let i = 0; i < aAddonsList.length; i++)
2389 elements.push(createItem(aAddonsList[i]));
}
Comment 1•4 years ago
|
||
NPAPI plugins are no longer supported so this code is basically dead. Will be removed in bug 1688415.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•