Closed
Bug 315345
Opened 19 years ago
Closed 19 years ago
Move nsIPermission to netwerk/base/public
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file)
8.37 KB,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
nsIPermissionManager is in network/base/public and nsIPermission should be colocated with it (currently it's in extensions/cookie). I know this isn't a good final resting place but moving it to network/base/public is an immediate improvement.
This matters to embedders (e.g., Epiphany) who want to use XULrunner, because they need nsIPermission and extensions/cookie isn't packaged in XULrunner (nor should it be).
Assignee | ||
Comment 1•19 years ago
|
||
Attachment #202055 -
Flags: superreview?(darin)
Attachment #202055 -
Flags: review?(darin)
Comment 2•19 years ago
|
||
Comment on attachment 202055 [details] [diff] [review]
simple stuff
r+sr=darin for moving the file, but please have a cvs admin copy the file in the repository instead so as to preserve history.
By the way, Epiphany can easily get around this problem by having a copy of nsIPermission.idl in their source tree.
Attachment #202055 -
Flags: superreview?(darin)
Attachment #202055 -
Flags: superreview+
Attachment #202055 -
Flags: review?(darin)
Attachment #202055 -
Flags: review+
Assignee | ||
Comment 3•19 years ago
|
||
(In reply to comment #2)
> (From update of attachment 202055 [details] [diff] [review] [edit])
> r+sr=darin for moving the file, but please have a cvs admin copy the file in
> the repository instead so as to preserve history.
>
> By the way, Epiphany can easily get around this problem by having a copy of
> nsIPermission.idl in their source tree.
Yes. Although that would be a bit sucky.
Comment 4•19 years ago
|
||
> > By the way, Epiphany can easily get around this problem by having a copy of
> > nsIPermission.idl in their source tree.
>
> Yes. Although that would be a bit sucky.
It's the approach I take when creating binary extensions to FF. I start with the Gecko SDK, and then I have a directory containing the IDL files for non-frozen interfaces that I need from the Mozilla source. (I sometimes have a couple variations on the same interface to deal with differences between FF 1.0 and 1.5, and I rename one of the interfaces so that I can code against both.) The nice result of this is that I don't need to have a copy of the Mozilla source around to build my extension and neither does anyone else who wishes to build my extension.
Assignee | ||
Comment 5•19 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
shouldn't this be removed from the old place?
Assignee | ||
Comment 7•19 years ago
|
||
yes
Comment 8•19 years ago
|
||
I removed mozilla/extensions/cookie/nsIPermission.idl on the trunk.
You need to log in
before you can comment on or make changes to this bug.
Description
•