Closed
Bug 533891
Opened 15 years ago
Closed 15 years ago
remove default plugins
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: jaas, Assigned: jaas)
References
Details
Attachments
(1 file, 6 obsolete files)
25.60 KB,
patch
|
Details | Diff | Splinter Review |
I don't think we need default plugins any more. We should remove all of the default plugins and simply have display modes in the object frame - the object frame can just paint a missing plugin image when it doesn't have a plugin to display. We can add another display mode for a crashed plugin when we have OOP plugins.
Comment 2•15 years ago
|
||
I suppose this takes care of bug 261751 too, yes?
Comment 3•15 years ago
|
||
We want this same thing for plugin-crashed UI. Josh says he wants to revise this patch to remove the nsObjectFrame if there isn't an available plugin and use a PFS-style binding mechanism even when PFS isn't enabled.
Blocks: 519541
Summary: kill default plugins → kill default plugins, introduce new placeholder UI mechanism
Should this be handled inside nsObjectFrame, or should it be a different frame class combined with new pseudo-classes driven by nsObjectLoadingContent?
(In reply to comment #4)
> Should this be handled inside nsObjectFrame, or should it be a different frame
> class combined with new pseudo-classes driven by nsObjectLoadingContent?
I have been discussing that with jst, we're probably going to do this from nsObjectLoadingContent, not nsObjectFrame.
Good. :-)
Comment 7•15 years ago
|
||
Sounds good to me too.
Note that once we no longer have a default plug-in, we can possibly remove some hackery in nsObjectLoadingContent::OnStartRequest and certainly any consumers of nsObjectLoadingContent::ShouldShowDefaultPlugin (or rather any codepaths that follow on that returning true).
This patch simply kills off default plugins and their associated handling code.
Attachment #416857 -
Attachment is obsolete: true
Attachment #420377 -
Attachment is obsolete: true
Attachment #420391 -
Attachment is patch: true
Attachment #420391 -
Attachment mime type: application/octet-stream → text/plain
Comment 10•15 years ago
|
||
Please update browser/installer/{package-manifest.in,removed-files.in} for files that are deprecated.
Comment 11•15 years ago
|
||
Also: please remove plugin.default_plugin_disabled from firefox.js when this lands.
Assignee | ||
Comment 12•15 years ago
|
||
Updated to current mozilla-central. Does not remove the actual default plugin files to keep the patch manageable.
Attachment #420391 -
Attachment is obsolete: true
Assignee | ||
Comment 13•15 years ago
|
||
Includes fixes for nsObjectLoadingContent.
Attachment #443946 -
Attachment is obsolete: true
Attachment #443955 -
Flags: review?(dolske)
Assignee | ||
Comment 14•15 years ago
|
||
added entries to removed-files.in
Attachment #443955 -
Attachment is obsolete: true
Attachment #443963 -
Flags: review?(dolske)
Attachment #443955 -
Flags: review?(dolske)
Attachment #443963 -
Flags: superreview?(jst)
Comment 15•15 years ago
|
||
Comment on attachment 443963 [details] [diff] [review]
fix v1.4
Yay! Glad to see this mess go! :)
Attachment #443963 -
Flags: superreview?(jst) → superreview+
Comment 16•15 years ago
|
||
One question I ran into when I was working on bug 261751 was whether or not the lack of a plugins/ directory out of the box would potentially cause breakage. Does the installer need to create it if it doesn't exist?
Assignee | ||
Comment 18•15 years ago
|
||
I got this error on a Windows try server build, it appears to be a known intermittent orange (bug 453969) but I'm noting it here in case it is relevant in the future. I did not get the error on the Linux unit test run.
7363 INFO Running /tests/content/base/test/test_bug382113.html...
NEXT ERROR 7364 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_bug382113.html | Child got load event - got false, expected true
7365 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_bug382113.html | Object got load event - got false, expected true
Comment 19•15 years ago
|
||
Comment on attachment 443963 [details] [diff] [review]
fix v1.4
>-ifeq ($(OS_ARCH),OS2)
>-TOOL_DIRS += default/os2
>-endif
Nit: Might want to ping the OS/2 folks to see if whatever gets built for OS/2 needs added to the removed-files list.
Attachment #443963 -
Flags: review?(dolske) → review+
Summary: kill default plugins, introduce new placeholder UI mechanism → remove default plugins
Assignee | ||
Comment 20•15 years ago
|
||
pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/e074757a15aa
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 21•15 years ago
|
||
The changes here result in no firefox/plugins directory any more, which causes xpcshell (Xo & Xd on linux, at least) to fail like this
bash -c cp bin/xpcshell firefox && cp -R bin/components/* firefox/components/ && cp -R bin/plugins/* firefox/plugins/ && python -u xpcshell/runxpcshelltests.py --symbols-path=symbols --manifest=xpcshell/tests/all-test-dirs.list firefox/xpcshell
cp: cannot create regular file `firefox/plugins/': Is a directory
which is a really poor error message for 'firefox/plugins doesn't exist'. If we still support loading out of plugins/ then it would make sense to leave an empty directory there, and it would make the automation happy.
(This didn't show up on the original push because the build system doesn't clobber dist/firefox before packaging, so it took a clobber to get off the relbranch from Seamonkey's tagging to make it show up.)
Also, why didn't browser/installer/package-manifest.in get updated ?
Assignee | ||
Comment 23•15 years ago
|
||
Includes fix for 'package-manifest.in'.
Attachment #443963 -
Attachment is obsolete: true
Comment 24•15 years ago
|
||
(In reply to comment #21)
> which is a really poor error message for 'firefox/plugins doesn't exist'. If we
> still support loading out of plugins/ then it would make sense to leave an
> empty directory there, and it would make the automation happy.
There was some discussion about this in #developers and josh/bsmedberg decided against it. We'll work around this in Buildbot in the dependent bug.
Assignee | ||
Comment 25•15 years ago
|
||
Pushed to mozilla-central again now that bug 564987 is fixed.
http://hg.mozilla.org/mozilla-central/rev/558df3e5b094
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 26•15 years ago
|
||
Had to back out again due to a talos master problem. Should be fixed by releng tomorrow.
http://hg.mozilla.org/mozilla-central/rev/dd3bac33fac2
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 27•15 years ago
|
||
pushed to mozilla-central again after releng fixes applied
http://hg.mozilla.org/mozilla-central/rev/6a9d0521a319
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Comment 28•15 years ago
|
||
Remnants:
http://mxr.mozilla.org/mozilla-central/search?string=default_plugin_disabled&case=1
Found 3 matching lines in 3 files
Comment 29•15 years ago
|
||
Also need to fix up
http://mxr.mozilla.org/mozilla-central/source/toolkit/toolkit-makefiles.sh#338
for this:
creating modules/plugin/default/mac/Makefile
can't read /builds/slave/mozilla-central-linux-nightly/build/modules/plugin/default/mac/Makefile.in: No such file or directory
creating modules/plugin/default/unix/Makefile
can't read /builds/slave/mozilla-central-linux-nightly/build/modules/plugin/default/unix/Makefile.in: No such file or directory
creating modules/plugin/default/windows/Makefile
can't read /builds/slave/mozilla-central-linux-nightly/build/modules/plugin/default/windows/Makefile.in: No such file or directory
Comment 30•15 years ago
|
||
There's a longstanding blanket-r+ from the build config peers to make obvious changes to allmakefiles.sh/toolkit-makefiles.sh.
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•