4 years, 11 months ago
(2015-06-03 08:31:41 UTC)
#4
Hayato-san,
Could you take a look?
hayato
https://codereview.chromium.org/1158163004/diff/1/Source/core/dom/Element.idl File Source/core/dom/Element.idl (right): https://codereview.chromium.org/1158163004/diff/1/Source/core/dom/Element.idl#newcode67 Source/core/dom/Element.idl:67: [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadowRoot(optional ShadowRootInit shadowRootInitDict); We have ...
4 years, 11 months ago
(2015-06-03 08:46:12 UTC)
#5
https://codereview.chromium.org/1158163004/diff/1/Source/core/dom/Element.idl
File Source/core/dom/Element.idl (right):
https://codereview.chromium.org/1158163004/diff/1/Source/core/dom/Element.idl...
Source/core/dom/Element.idl:67: [RaisesException, CallWith=ScriptState,
MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadowRoot(optional
ShadowRootInit shadowRootInitDict);
We have to implement this feature as Runtime-Enabled feature. We can't expose
this feature yet.
Also we have to measure the usage of createShadowRoot() and
createShadowRoot(dict) separately so that we can deprecate parameterless
createShadowRoot() in the future.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years, 11 months ago
(2015-06-03 08:46:39 UTC)
#6
Dry run: Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/46315)
4 years, 11 months ago
(2015-06-03 08:46:40 UTC)
#7
4 years, 11 months ago
(2015-06-03 09:27:22 UTC)
#10
On 2015/06/03 08:46:12, hayato wrote:
> https://codereview.chromium.org/1158163004/diff/1/Source/core/dom/Element.idl
> File Source/core/dom/Element.idl (right):
>
>
https://codereview.chromium.org/1158163004/diff/1/Source/core/dom/Element.idl...
> Source/core/dom/Element.idl:67: [RaisesException, CallWith=ScriptState,
> MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadowRoot(optional
> ShadowRootInit shadowRootInitDict);
> We have to implement this feature as Runtime-Enabled feature. We can't expose
> this feature yet.
>
> Also we have to measure the usage of createShadowRoot() and
> createShadowRoot(dict) separately so that we can deprecate parameterless
> createShadowRoot() in the future.
Thanks for the review.
Added a runtime enabled feature guard so only it accepts the dictionary when
experimental flag is enabled.
For usage counting I think we still continue to use "ElementCreateShadowRoot" as
cumulative counter for both with/without parameter, and add a separate
"ElementCreateShadowRootWithParameter" for counting usage with parameter.
When the original createShadowRoot() without parameter is dropped from Blink
in the future, we can observe how the total usage increased since the beginning.
Eventually we also need counters for "open" / "closed" usages.
Please take another look.
kochi
The CQ bit was checked by kochi@chromium.org to run a CQ dry run
4 years, 11 months ago
(2015-06-03 09:27:32 UTC)
#11
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/34556)
4 years, 11 months ago
(2015-06-04 03:25:34 UTC)
#20
tkent-san, Could you review platform/RuntimeEnabledFeatures.in?
4 years, 11 months ago
(2015-06-04 03:29:46 UTC)
#22
tkent-san,
Could you review platform/RuntimeEnabledFeatures.in?
tkent
lgtm https://codereview.chromium.org/1158163004/diff/60001/LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter.html File LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter.html (right): https://codereview.chromium.org/1158163004/diff/60001/LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter.html#newcode14 LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter.html:14: testRunner.dumpAsText(); This is unnecessary. js-test.js does it.
4 years, 11 months ago
(2015-06-04 03:38:14 UTC)
#23
Issue 1158163004: Add ShadowRootInit dictionary.
(Closed)
Created 4 years, 11 months ago by kochi
Modified 4 years, 11 months ago
Reviewers: hayato, tkent
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 3