Closed
Bug 817469
Opened 12 years ago
Closed 12 years ago
Make XPCOM ParseFromString a wrapper for WebIDL ParseFromString
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: emk, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
5.10 KB,
patch
|
emk
:
review+
|
Details | Diff | Splinter Review |
https://bugzilla.mozilla.org/show_bug.cgi?id=816410#c18 > One followup we should get filed: the canonical implementation of > ParseFromString should be the WebIDL one, because the actual implementation > converts the PRUnichar* to a nsAString anyway, and as things are written > right now passing a string with null to the WebIDL method would truncate at > the null for no good reason....
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #687799 -
Flags: review?(VYV03354)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bzbarsky
Whiteboard: [need review]
Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 687799 [details] [diff] [review] Correctly handle embedded null in the string to parse in DOMParser. >--- a/content/base/test/Makefile.in >+++ b/content/base/test/Makefile.in >@@ -595,16 +595,17 @@ MOCHITEST_FILES_B = \ > test_bug804395.html \ > test_bug809003.html \ > test_textnode_split_in_selection.html \ > test_textnode_normalize_in_selection.html \ > test_xhr_send_readystate.html \ > test_bug813919.html \ > test_bug814576.html \ > test_xhr_withCredentials.html \ >+ test_domparser_null_char.html \ Please add the test file at the bottom of MOCHITEST_FILES_A that has fewer files than MOCHITEST_FILES_B.
Attachment #687799 -
Flags: review?(VYV03354) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/75a0cf19f231 with that change.
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/75a0cf19f231
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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
•