Closed Bug 315345 Opened 19 years ago Closed 19 years ago

Move nsIPermission to netwerk/base/public

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(1 file)

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).
Attached patch simple stuffSplinter Review
Attachment #202055 - Flags: superreview?(darin)
Attachment #202055 - Flags: review?(darin)
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+
(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.
> > 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.
checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
shouldn't this be removed from the old place?
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.

Attachment

General

Created:
Updated:
Size: