Closed
Bug 413954
Opened 17 years ago
Closed 17 years ago
nsHandlerService.store fails to remove applications
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 file)
3.76 KB,
patch
|
myk
:
review+
dmosedale
:
superreview+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
In _storePossibleHandlers, the method _removeTarget is called with 3 arguments, but it expects only 2.
The patch adds a _removeResourceAssertion method that removes a specific target.
It also renames _addResourceTarget to _addResourceAssertion, per Myk's suggestion.
Thanks for the help on this Myk!
Attachment #299122 -
Flags: superreview?(bzbarsky)
Attachment #299122 -
Flags: review?(myk)
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → florian
Comment 1•17 years ago
|
||
Comment on attachment 299122 [details] [diff] [review]
patch v1
Looks great, r=myk
Attachment #299122 -
Flags: review?(myk) → review+
Comment 2•17 years ago
|
||
Comment on attachment 299122 [details] [diff] [review]
patch v1
>Index: uriloader/exthandler/nsHandlerService.js
> /**
>+ * Remove a property of an RDF source to a resource target.
>+ *
>+ * @param sourceURI {string} the URI of the source
>+ * @param propertyURI {string} the URI of the property
>+ * @param targetURI {string} the URI of the target
>+ */
>+ _removeResourceAssertion: function HS__removeResourceAssertion(sourceURI,
>+ propertyURI,
>+ targetURI) {
Erm, just one thing: the description of this method should be:
Remove an assertion with a resource target.
![]() |
||
Comment 3•17 years ago
|
||
I'm sorry, I can't review this. I neither understand what the original code is doing, nor what this patch is doing.
dmose would make a far better sr for this stuff, no?
Comment 4•17 years ago
|
||
Comment on attachment 299122 [details] [diff] [review]
patch v1
sr=dmose
Attachment #299122 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Updated•17 years ago
|
Attachment #299122 -
Flags: approval1.9?
Comment 5•17 years ago
|
||
Comment on attachment 299122 [details] [diff] [review]
patch v1
a=beltzner for 1.9
Attachment #299122 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 6•17 years ago
|
||
Checking in uriloader/exthandler/nsHandlerService.js;
/cvsroot/mozilla/uriloader/exthandler/nsHandlerService.js,v <-- nsHandlerService.js
new revision: 1.18; previous revision: 1.17
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•