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

Issue 23889039: Improve 'ContainerNode' exception messages. (Closed)

Created:
7 years, 3 months ago by Mike West
Modified:
7 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Improve 'ContainerNode' exception messages. BUG=270033 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158367

Patch Set 1 #

Patch Set 2 : rebaseline. #

Patch Set 3 : Rebase. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -68 lines) Patch
M LayoutTests/fast/dom/DOMException/prototype-object.html View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/DOMException/prototype-object-expected.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/DOMException/stack-trace.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/DOMException/stack-trace-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/Document/replace-child-expected.txt View 3 chunks +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/HTMLTemplateElement/cycles-expected.txt View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/dom/HTMLTemplateElement/cycles-in-shadow-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/incompatible-operations.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/incompatible-operations-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/setter-type-enforcement-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/shadow/shadow-hierarchy-exception-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-append-child.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-append-child-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-insert-before.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-insert-before-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-replace-child.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-replace-child-2.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-replace-child-2-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/mutation-during-replace-child-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/remove-target-with-shadow-in-drag-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/inspector-support/uncaught-dom3-exception-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/inspector-support/uncaught-dom8-exception-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/js/dot-node-base-exception-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/js/script-tests/dot-node-base-exception.js View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 2 14 chunks +28 lines, -26 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
Mike West
Jochen, one more in the alphabetical series of core/dom modifications. :) -mike
7 years, 3 months ago (2013-09-24 09:28:20 UTC) #1
jochen (gone - plz use gerrit)
lgtm
7 years, 3 months ago (2013-09-24 09:30:20 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/23889039/1
7 years, 3 months ago (2013-09-24 09:48:26 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=5665
7 years, 3 months ago (2013-09-24 11:57:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/23889039/17001
7 years, 2 months ago (2013-09-25 08:26:14 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/ContainerNode.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-09-25 09:34:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/23889039/29001
7 years, 2 months ago (2013-09-26 06:57:39 UTC) #7
commit-bot: I haz the power
Change committed as 158367
7 years, 2 months ago (2013-09-26 08:28:17 UTC) #8
arv (Not doing code reviews)
https://chromiumcodereview.appspot.com/23889039/diff/29001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://chromiumcodereview.appspot.com/23889039/diff/29001/Source/core/dom/ContainerNode.cpp#newcode148 Source/core/dom/ContainerNode.cpp:148: es.throwDOMException(NotFoundError, ExceptionMessages::failedToExecute(method, "ContainerNode", "The new child element is null.")); ...
7 years, 2 months ago (2013-09-26 15:23:09 UTC) #9
Mike West
7 years, 2 months ago (2013-09-27 06:58:29 UTC) #10
Message was sent while issue was closed.
On 2013/09/26 15:23:09, arv wrote:
>
https://chromiumcodereview.appspot.com/23889039/diff/29001/Source/core/dom/Co...
> File Source/core/dom/ContainerNode.cpp (right):
> 
>
https://chromiumcodereview.appspot.com/23889039/diff/29001/Source/core/dom/Co...
> Source/core/dom/ContainerNode.cpp:148: es.throwDOMException(NotFoundError,
> ExceptionMessages::failedToExecute(method, "ContainerNode", "The new child
> element is null."));
> Let's not use ContainerNode in any user visible messages. It is an
> implementation detail. It should just be Node.

Ooh, yes. You're right, that was a bad choice. I'll clean that up.

Powered by Google App Engine
This is Rietveld 408576698