зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1432613 - Make nsIJAREntry.JAREntry readonly r=mayhemer
MozReview-Commit-ID: 3yPZIn2NkH --HG-- extra : rebase_source : 357520401bb0797e7e01b6a6b6e250062b7619b5
This commit is contained in:
Родитель
c8aee8f9ba
Коммит
bbd69887b2
|
@ -28,7 +28,7 @@ interface nsIJARURI : nsIURL {
|
|||
* Returns the entry specified for this JAR URI (e.g., "ocean.html"). This
|
||||
* value may contain %-escaped byte sequences.
|
||||
*/
|
||||
attribute AUTF8String JAREntry;
|
||||
readonly attribute AUTF8String JAREntry;
|
||||
|
||||
/**
|
||||
* Create a clone of the JAR URI with a new root URI (the URI for the
|
||||
|
|
|
@ -882,7 +882,7 @@ nsJARURI::GetJAREntry(nsACString &entryPath)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsresult
|
||||
nsJARURI::SetJAREntry(const nsACString &entryPath)
|
||||
{
|
||||
return CreateEntryURL(entryPath, mCharsetHint.get(),
|
||||
|
|
|
@ -71,6 +71,7 @@ public:
|
|||
|
||||
protected:
|
||||
virtual ~nsJARURI();
|
||||
nsresult SetJAREntry(const nsACString &entryPath);
|
||||
|
||||
// enum used in a few places to specify how .ref attribute should be handled
|
||||
enum RefHandlingEnum {
|
||||
|
|
Загрузка…
Ссылка в новой задаче