DescriptionAdd CharacterData.deleteData()/replaceData() overflow handling.
If the offset and count exceed the underlying length, the spec tells us
http://dom.spec.whatwg.org/#concept-cd-replace (step 3)
to use a count that is equal to length minus the offset. Perform that
check in an overflow-sensitive manner.
(Change based on https://codereview.chromium.org/188693007/ )
R=
BUG=349898
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171165
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (0 generated)
|