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

Issue 252713004: Make default for deep parameter in importNode false (Closed)

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

Description

Make default for deep parameter in importNode false, as specified in: http://dom.spec.whatwg.org/#document Update tests to reflect this change. It matches Firefox behavior. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173018

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add warning message #

Total comments: 2

Patch Set 3 : Add use counter and rebase test results #

Total comments: 2

Patch Set 4 : Use countDeprecation #

Total comments: 2

Patch Set 5 : Use new slot #

Patch Set 6 : Rebase against ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -4 lines) Patch
M LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/document-importNode-arguments-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/importNode-null-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/importNode-unsupported-node-type-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/html/imports/resources/custom-element-style.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/xpath/xpath-detached-import-assert-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/UseCounter.cpp View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
rwlbuis
PTAL.
6 years, 7 months ago (2014-04-27 18:12:36 UTC) #1
Inactive
You are saying that it matches Firefox's behavior, which version is that? My Firefox 28 ...
6 years, 7 months ago (2014-04-27 19:33:56 UTC) #2
rwlbuis
On 2014/04/27 19:33:56, Chris Dumez wrote: > You are saying that it matches Firefox's behavior, ...
6 years, 7 months ago (2014-04-27 20:02:51 UTC) #3
arv (Not doing code reviews)
We changed this back and forth once before. I'm on my phone now so I ...
6 years, 7 months ago (2014-04-27 20:17:03 UTC) #4
ojan
http://src.chromium.org/viewvc/blink?view=revision&revision=99612 It's a bummer that the spec keeps changing here. I'm not sure what we ...
6 years, 7 months ago (2014-04-30 02:07:34 UTC) #5
arv (Not doing code reviews)
On 2014/04/30 02:07:34, ojan wrote: > http://src.chromium.org/viewvc/blink?view=revision&revision=99612 > > It's a bummer that the spec ...
6 years, 7 months ago (2014-04-30 14:13:24 UTC) #6
rwlbuis
On 2014/04/30 14:13:24, arv wrote: > On 2014/04/30 02:07:34, ojan wrote: > > http://src.chromium.org/viewvc/blink?view=revision&revision=99612 > ...
6 years, 7 months ago (2014-04-30 14:56:19 UTC) #7
Inactive
https://codereview.chromium.org/252713004/diff/20001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/252713004/diff/20001/Source/core/dom/Document.cpp#newcode919 Source/core/dom/Document.cpp:919: addConsoleMessage(JSMessageSource, WarningMessageLevel, "The behavior of importNode() with no boolean ...
6 years, 7 months ago (2014-04-30 14:58:28 UTC) #8
arv (Not doing code reviews)
Yes, lets add a use counter for this.
6 years, 7 months ago (2014-04-30 15:05:12 UTC) #9
rwlbuis
Added the usecounter, reverted back to deep = true behavior so I also included the ...
6 years, 7 months ago (2014-04-30 15:38:43 UTC) #10
Inactive
https://codereview.chromium.org/252713004/diff/40001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/252713004/diff/40001/Source/core/dom/Document.cpp#newcode919 Source/core/dom/Document.cpp:919: UseCounter::count(this, UseCounter::DocumentImportNodeOptionalArgument); UseCounter::countDeprecation() https://codereview.chromium.org/252713004/diff/40001/Source/core/dom/Document.cpp#newcode920 Source/core/dom/Document.cpp:920: addConsoleMessage(JSMessageSource, WarningMessageLevel, "The behavior ...
6 years, 7 months ago (2014-04-30 15:47:43 UTC) #11
rwlbuis
Now using countDeprecation and putting the message in UseCounter.cpp.
6 years, 7 months ago (2014-04-30 17:01:02 UTC) #12
arv (Not doing code reviews)
LGTM
6 years, 7 months ago (2014-04-30 17:02:46 UTC) #13
Inactive
https://codereview.chromium.org/252713004/diff/40002/Source/core/frame/UseCounter.h File Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/252713004/diff/40002/Source/core/frame/UseCounter.h#newcode275 Source/core/frame/UseCounter.h:275: DocumentImportNodeOptionalArgument = 256, arv probably knows, are we allowed ...
6 years, 7 months ago (2014-04-30 17:04:18 UTC) #14
arv (Not doing code reviews)
Not LGTM https://codereview.chromium.org/252713004/diff/40002/Source/core/frame/UseCounter.h File Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/252713004/diff/40002/Source/core/frame/UseCounter.h#newcode275 Source/core/frame/UseCounter.h:275: DocumentImportNodeOptionalArgument = 256, On 2014/04/30 17:04:18, Chris ...
6 years, 7 months ago (2014-04-30 18:11:45 UTC) #15
rwlbuis
On 2014/04/30 18:11:45, arv wrote: > Not LGTM > > https://codereview.chromium.org/252713004/diff/40002/Source/core/frame/UseCounter.h > File Source/core/frame/UseCounter.h (right): ...
6 years, 7 months ago (2014-04-30 18:16:51 UTC) #16
rwlbuis
On 2014/04/30 18:16:51, rwlbuis wrote: > On 2014/04/30 18:11:45, arv wrote: > > Not LGTM ...
6 years, 7 months ago (2014-04-30 18:17:18 UTC) #17
arv (Not doing code reviews)
LGTM
6 years, 7 months ago (2014-04-30 18:19:33 UTC) #18
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 7 months ago (2014-04-30 18:26:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/252713004/70001
6 years, 7 months ago (2014-04-30 18:26:33 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 18:32:50 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink
6 years, 7 months ago (2014-04-30 18:32:51 UTC) #22
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 7 months ago (2014-04-30 18:45:39 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/252713004/90001
6 years, 7 months ago (2014-04-30 18:45:51 UTC) #24
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 19:46:38 UTC) #25
Message was sent while issue was closed.
Change committed as 173018

Powered by Google App Engine
This is Rietveld 408576698