Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Issue 268523002: Merge 171165 "Add CharacterData.deleteData()/replaceData() overf..." (Closed)

Created:
6 years, 7 months ago by aarya
Modified:
6 years, 7 months ago
Reviewers:
sof
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org, Inactive
Visibility:
Public.

Description

Merge 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -19 lines) Patch
A + LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/dom/CharacterData.cpp View 2 chunks +23 lines, -20 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
aarya
6 years, 7 months ago (2014-04-30 21:16:27 UTC) #1
aarya
6 years, 7 months ago (2014-04-30 21:16:38 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r173028.

Powered by Google App Engine
This is Rietveld 408576698