Closed
Bug 785060
Opened 12 years ago
Closed 12 years ago
Check for JS_NewUCStringCopyZ failure
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: Ms2ger, Assigned: Infinity)
Details
Attachments
(1 file, 3 obsolete files)
2.64 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
Of the places we call JS_NewUCStringCopyZ outside js/, only one out of four deals with the exception correctly.
Assignee | ||
Comment 1•12 years ago
|
||
Does this look fine?
Attachment #682703 -
Flags: feedback?(Ms2ger)
Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 682703 [details] [diff] [review] Patchv1 Review of attachment 682703 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. ::: content/html/content/src/nsHTMLMediaElement.cpp @@ +1468,5 @@ > + NS_WARNING("Failed to perform string copy"); > + args->error = true; > + return PL_DHASH_STOP; > + } > + Just remove this trailing whitespace.
Attachment #682703 -
Flags: feedback?(Ms2ger) → review+
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → junky.argonaut
Assignee | ||
Comment 3•12 years ago
|
||
Ok...done! Do you want me to run any specific tests before I submit the patch for review?
Assignee | ||
Comment 4•12 years ago
|
||
It compiled faster than expected...wow!
Attachment #682703 -
Attachment is obsolete: true
Attachment #682727 -
Flags: review?(Ms2ger)
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 682727 [details] [diff] [review] Patchv2 Review of attachment 682727 [details] [diff] [review]: ----------------------------------------------------------------- r=me
Attachment #682727 -
Flags: review?(Ms2ger) → review+
Comment 6•12 years ago
|
||
Could you submit a patch with a proper author and commit message? That would make it easier to commit it for you. See https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F for more details.
Assignee | ||
Comment 7•12 years ago
|
||
I had it configured exactly like that. Check it out! http://pastebin.mozilla.org/1949277 So I shouldn't be doing hg diff -p -U 8 I guess.....anyways edited patch here :)
Attachment #682727 -
Attachment is obsolete: true
Attachment #683643 -
Flags: review?(Ms2ger)
Reporter | ||
Comment 8•12 years ago
|
||
Could you also make sure there is a commit message in the patch? Maybe something like Bug 785060 - Check for allocation failure in JS_NewUCStringCopyZ calls; r=Ms2ger
Assignee | ||
Comment 9•12 years ago
|
||
Hope its ok now. I got MQ fixed just now. So any extra metadata you'd like, lemme know.
Attachment #683643 -
Attachment is obsolete: true
Attachment #683643 -
Flags: review?(Ms2ger)
Attachment #685258 -
Flags: review?(Ms2ger)
Reporter | ||
Comment 10•12 years ago
|
||
Comment on attachment 685258 [details] [diff] [review] patchv4 Thanks!
Attachment #685258 -
Flags: review?(Ms2ger) → review+
Reporter | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 11•12 years ago
|
||
push to try first ... https://tbpl.mozilla.org/?tree=Try&rev=5a14d27d6d64
Comment 12•12 years ago
|
||
on to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/bab7ae06e579
Updated•12 years ago
|
Keywords: checkin-needed
Comment 13•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bab7ae06e579
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•