Closed
Bug 1386422
Opened 7 years ago
Closed 7 years ago
Fix some error handling in StripHandlerFromOBJREF
Categories
(Core :: Disability Access APIs, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
Details
Attachments
(1 file, 1 obsolete file)
7.11 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
We should distinguish between "I have failed to read the OBJREF type" vs "this OBJREF type does not require us to make any changes"
Assignee | ||
Comment 1•7 years ago
|
||
This patch ensures that we return true from StripHandlerFromOBJREF when the OBJREF does not supply a handler. This patch also modifies the postcondition of StripHandlerFromOBJREF such that, whenever the function returns true, the stream is always positioned back to the end of the OBJREF.
Attachment #8892654 -
Flags: review?(jmathies)
Assignee | ||
Comment 2•7 years ago
|
||
This patch ensures that we return true from StripHandlerFromOBJREF when the OBJREF does not include a handler (since there is nothing that it needs to do). This patch also modifies the postcondition of StripHandlerFromOBJREF such that, whenever the function returns true, the stream is always positioned back to the end of the OBJREF.
Attachment #8892654 -
Attachment is obsolete: true
Attachment #8892654 -
Flags: review?(jmathies)
Attachment #8892738 -
Flags: review?(jmathies)
Updated•7 years ago
|
Attachment #8892738 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d8f6382c8d0241712b735646a1d891bf83bb27d Bug 1386422: Clean up error handling and stream positioning in StreamHandlerFromOBJREF; r=jimm
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6d8f6382c8d0
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•