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

Issue 110383002: Throw DOM exception in insertAdjacentHTML if context becomes null (Closed)

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

Description

Throw DOM exception in insertAdjacentHTML if context becomes null Align first part of the insertAdjacentHTML implementation with http://domparsing.spec.whatwg.org/#insertadjacenthtml(). "Let context be the context object's parent. If context is null or a document, throw a DOMException with name NoModificationAllowedError and terminate these steps." While the 'or a document' part was previously implemented, the 'context is null' part was not. BUG=326965 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163452

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/HTMLElement/script-tests/insertAdjacentHTML-errors.js View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dynamic/insertAdjacentHTML.html View 2 chunks +8 lines, -2 lines 0 comments Download
M LayoutTests/fast/dynamic/insertAdjacentHTML-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
davve
7 years ago (2013-12-09 16:05:04 UTC) #1
abarth-chromium
lgtm
7 years ago (2013-12-09 17:40:47 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/110383002/1
7 years ago (2013-12-09 17:40:56 UTC) #3
commit-bot: I haz the power
7 years ago (2013-12-09 20:01:07 UTC) #4
Message was sent while issue was closed.
Change committed as 163452

Powered by Google App Engine
This is Rietveld 408576698