DescriptionMerge 171165 "Add CharacterData.deleteData()/replaceData() overf..."
> Add 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
>
> Review URL: https://codereview.chromium.org/229793004
TBR=sigbjornf@opera.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173028
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|