Closed Bug 533898 Opened 12 years ago Closed 7 years ago

mochitest-browser-chrome: browser_bug435788.js reports 4 Console messages

Categories

(Toolkit Graveyard :: Plugin Finder Service, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: sgautherie, Unassigned)

References

()

Details

(I noticed this on Windows SeaMonkey 2.0 initially.)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1260403127.1260406915.20556.gz
Linux mozilla-central opt test everythingelse on 2009/12/09 15:58:47
{
[...]
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Test 9
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | PFS loaded
TEST-INFO | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIRDFContainer.Init]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: chrome://mozapps/content/plugins/pluginInstallerDatasource.js :: pfs_onDatasourceLoaded :: line 91"  data: no]" {file: "chrome://mozapps/content/plugins/pluginInstallerDatasource.js" line: 146}]
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have found no plugins
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Test 10
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | PFS loaded
TEST-INFO | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Console message: [JavaScript Error: "mismatched tag. Expected: </RDF:RDF>." {file: "http://example.com/browser/toolkit/mozapps/plugins/tests/pfs_bug435788_2.rdf" line: 4 column: 3 source: "</RDF>"}]
TEST-INFO | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIRDFContainer.Init]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: chrome://mozapps/content/plugins/pluginInstallerDatasource.js :: pfs_onDatasourceLoaded :: line 91"  data: no]" {file: "chrome://mozapps/content/plugins/pluginInstallerDatasource.js" line: 146}]
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have found no plugins
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Test 11
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | PFS loaded
TEST-INFO | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Console message: [JavaScript Error: "2147500034" {file: "chrome://mozapps/content/plugins/pluginInstallerDatasource.js" line: 154}]
TEST-PASS | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have found no plugins
}

At least,
http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/mozapps/plugins/tests/pfs_bug435788_2.rdf
seems to need a s/</RDF>/</RDF:RDF>/.
Well, this/these may just be expected:
{
508 // Test when the datasource is invalid xml
511   gPrefs.setCharPref("pfs.datasource.url", TEST_ROOT + "pfs_bug435788_2.rdf");
}

Yet maybe they could be hidden by a try+catch, or a comment could be added (to the log) to explain?
Bug 836415 has now removed the Plugin Finder Service (PFS) from Firefox. As a result, I'm closing all the remaining PFS bugs.

If you're getting this bugmail for an ancient PFS bug, the basic summary of the world today is:

* NPAPI plugins are a dying technology
* PFS was already restricted to assisting with only the 4 most common plugins
* Sites commonly provide their own UI for install a required plugin
* Mozilla is generally focusing on  improving the web platform so that proprietary plugins are not required.

(Note that "plugins" are a completely separate from "browser extensions", such at those found on addons.mozilla.org. The latter are not going anywhere, and are not impacted by the removal of PFS.)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
V.WontFix, as reporter.
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.