Closed Bug 328678 Opened 19 years ago Closed 18 years ago

Xulrunner should include about:plugins support?

Categories

(Toolkit Graveyard :: XULRunner, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozillabugs.philipl, Assigned: benjamin)

References

Details

Attachments

(1 file, 1 obsolete file)

The current xulrunner package does not include plugins.html and plugins.css which are required for about:plugins to work. It doesn't seem to make much sense to force every embedder to ship copies of these files.
Attached patch Patch (obsolete) (deleted) — Splinter Review
the about:plugins files should just be shipped as part of the toolkit. plugins.properties is already there, by the way. With that fix applied, you can just remove browser/extensions/package-fixup
Attachment #217997 - Flags: first-review?(benjamin)
Comment on attachment 217997 [details] [diff] [review] Patch Hrm, I think we probably want to move those files over here.
which directories would be the most appropriate ?
Neil, this moves plugins.html/css to toolkit/content, ships xpfe from that source location. It also loads the default styling from chrome://global/content/plugins.css, which can be overridden by chrome://global/skin/plugins.css (per bug 305746).
Attachment #217997 - Attachment is obsolete: true
Attachment #220132 - Flags: first-review?(neil)
Attachment #217997 - Flags: first-review?(benjamin)
Comment on attachment 220132 [details] [diff] [review] Move plugins.html to toolkit/content, rev. 1 >Index: toolkit/empty-file >=================================================================== >RCS file: toolkit/empty-file >diff -N toolkit/empty-file patch didn't like this ;-) >\ No newline at end of file Would be nice to fix this :-) >+<link rel="stylesheet" type="text/css" href="plugins.css"> Perhaps chrome: doesn't support relative URLs? I had to change this to chrome://global/content/plugins.css to get it to work. [Side note: I seem to remember reading somewhere that @import was preferred to multiple stylesheets but I forget where or why, and it probably doesn't apply here anyway.]
Attachment #220132 - Flags: first-review?(neil) → first-review+
(In reply to comment #5) > >+<link rel="stylesheet" type="text/css" href="plugins.css"> > Perhaps chrome: doesn't support relative URLs? I'm sure I've used them, but perhaps here it is resolving it against the about: protocol instead?
Blocks: 336874
Whoops, this fell off my radar.
Assignee: nobody → benjamin
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Blocks: 347872
Depends on: 703870
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: