Commit Graph

10 Commits

Author SHA1 Message Date
Boris Zbarsky
3293a4cd98 Bug 1330759 part 3. Add a "stringbuffer we own" mode to DOMString. r=froydnj
We're going to need it because we're going to add a consumer that cannot in fact
promise that its stringbuffer reference will outlive the DOMString.
2017-01-18 22:20:14 -05:00
Boris Zbarsky
10ac0b56b4 Bug 1330759 part 1. Change various bits of DOMString code to work better when it has a stringbuffer which is effectively not null-terminated (in the sense that indexing into it at the DOMString's length doesn't yield '\0'). r=froydnj 2017-01-18 22:20:14 -05:00
Andrew McCreight
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Boris Zbarsky
436b43b3ce Bug 1132655. Don't allow conversions from DOMString to const XPCOM string references, since it's meant to be an outparam only. r=smaug 2015-02-12 18:39:26 -05:00
Ehsan Akhgari
c2a18b5a9a Bug 1123114 - Mark DOMString::mStringBuffer as unsafe; r=smaug 2015-01-18 18:43:02 -05:00
Seth Fowler
0fd6e994ae Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Olli Pettay
8950709e0c Bug 976302 - MutationRecord should use mozilla::dom::DOMString, r=bz
--HG--
extra : rebase_source : 20188f6025d24c4ee109aefaa2642fb586147223
2014-02-26 02:45:08 +02:00
Boris Zbarsky
5e0f2169f4 Bug 925495 part 1. Move DOMString out to a separate header. r=smaug 2013-10-11 12:28:23 -04:00
Ryan VanderMeulen
dbc95f00f4 Backed out changesets 46029c9fbfe4 and 6114164c3d1b (bug 925495) for OSX (at least) crashes. 2013-10-11 13:38:28 -04:00
Boris Zbarsky
a78b0cc424 Bug 925495 part 1. Move DOMString out to a separate header. r=smaug 2013-10-11 12:28:23 -04:00