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

Issue 99443005: Enforce HTML range restriction on setting unsigned attribute values. (Closed)

Created:
7 years ago by sof
Modified:
7 years ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Enforce HTML range restriction on setting unsigned attribute values. The HTML spec requires that reflected attributes over unsigned longs are kept to a limited range [0, 2^31) on setting & getting, http://www.whatwg.org/specs/web-apps/current-work/#reflect No such clamping was in place for the upper bound; enforce it when setting the unsigned long attribute. R= BUG=316122 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163778

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js View 1 chunk +4 lines, -6 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sof
Please take a look when you next have a moment.
7 years ago (2013-12-11 17:00:34 UTC) #1
jochen (gone - plz use gerrit)
lgtm
7 years ago (2013-12-12 07:55:57 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/99443005/1
7 years ago (2013-12-12 10:01:25 UTC) #3
commit-bot: I haz the power
7 years ago (2013-12-12 12:29:12 UTC) #4
Message was sent while issue was closed.
Change committed as 163778

Powered by Google App Engine
This is Rietveld 408576698