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

Issue 14988008: Rename DOMPath IDL interface to Path to match the specification (Closed)

Created:
7 years, 7 months ago by do-not-use
Modified:
7 years, 7 months ago
CC:
blink-reviews, jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, adamk+blink_chromium.org, Nate Chapin, lgombos
Visibility:
Public.

Description

Rename DOMPath IDL interface to Path to match the specification Rename DOMPath IDL interface to Path to match its name on JS side and use [ImplementedAs=DOMPath] extended attribute instead. This is an initial step towards removing [InterfaceName] extended attribute and consistently use [ImplementedAs] instead. This patch also adds a IDL test for this as [ImplementedAs] was not usable on interfaces before, only attributes and operations. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150154

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+632 lines, -401 lines) Patch
M Source/bindings/scripts/CodeGeneratorV8.pm View 135 chunks +278 lines, -241 lines 0 comments Download
M Source/bindings/tests/idls/TestCallback.idl View 1 chunk +4 lines, -4 lines 0 comments Download
A Source/bindings/tests/idls/TestInterfaceImplementedAs.idl View 1 chunk +9 lines, -0 lines 0 comments Download
M Source/bindings/tests/idls/TestObj.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8Float64Array.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestActiveDOMObject.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestCallback.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/bindings/tests/results/V8TestCallback.cpp View 3 chunks +3 lines, -4 lines 0 comments Download
M Source/bindings/tests/results/V8TestCustomNamedGetter.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestEventConstructor.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestEventTarget.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestException.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
A + Source/bindings/tests/results/V8TestInterfaceImplementedAs.h View 7 chunks +23 lines, -25 lines 0 comments Download
A Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp View 1 chunk +257 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestMediaQueryListListener.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestNamedConstructor.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObj.cpp View 7 chunks +10 lines, -21 lines 0 comments Download
M Source/bindings/tests/results/V8TestOverloadedConstructors.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 4 chunks +7 lines, -26 lines 0 comments Download
M Source/core/core.gypi View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.idl View 1 chunk +1 line, -1 line 0 comments Download
D Source/core/html/canvas/DOMPath.idl View 1 chunk +0 lines, -70 lines 0 comments Download
A + Source/core/html/canvas/Path.idl View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
do-not-use
7 years, 7 months ago (2013-05-10 08:59:30 UTC) #1
haraken
LGTM, (though I don't fully understand why #include lines of binding tests have to be ...
7 years, 7 months ago (2013-05-10 09:08:24 UTC) #2
do-not-use
On 2013/05/10 09:08:24, haraken wrote: > LGTM, (though I don't fully understand why #include lines ...
7 years, 7 months ago (2013-05-10 09:10:04 UTC) #3
haraken
> This is because someone forgot to rebaseline the results after a recent change. > ...
7 years, 7 months ago (2013-05-10 09:11:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14988008/1
7 years, 7 months ago (2013-05-10 10:01:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14988008/1
7 years, 7 months ago (2013-05-10 13:42:43 UTC) #6
arv (Not doing code reviews)
LGTM
7 years, 7 months ago (2013-05-10 13:52:14 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_layout for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout&number=1796
7 years, 7 months ago (2013-05-10 20:03:03 UTC) #8
Rik
very nice! I made a proposal to fix architectural issue with canvas paths. would you ...
7 years, 7 months ago (2013-05-10 20:28:50 UTC) #9
Rik
Also, you forgot to send an 'intent to implement' message to the list.
7 years, 7 months ago (2013-05-10 20:29:40 UTC) #10
arv (Not doing code reviews)
This does not need an 'intent to implement'. It just a bug fix. On Fri, ...
7 years, 7 months ago (2013-05-10 20:32:03 UTC) #11
eseidel
Do you have a plan for code-generation of String.h and Window.h? These may have conflicts ...
7 years, 7 months ago (2013-05-10 22:21:56 UTC) #12
eseidel
Adam reminds me that DOMString is a primitive and does not have an IDL. :)
7 years, 7 months ago (2013-05-10 22:29:33 UTC) #13
do-not-use
On 2013/05/10 22:29:33, Eric Seidel wrote: > Adam reminds me that DOMString is a primitive ...
7 years, 7 months ago (2013-05-10 23:58:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14988008/1
7 years, 7 months ago (2013-05-10 23:59:53 UTC) #15
commit-bot: I haz the power
Change committed as 150154
7 years, 7 months ago (2013-05-11 00:00:42 UTC) #16
eseidel
Oh, and nevermind me. The generated file is not Window.h, it's V8Window.h. :)
7 years, 7 months ago (2013-05-11 00:12:02 UTC) #17
haraken
Yes, we might want to rename DOMXXX to XXX in the future, but for the ...
7 years, 7 months ago (2013-05-11 05:08:02 UTC) #18
alancutter (OOO until 2018)
This patch is failing run-bindings-tests with: --- bindings/tests/results/V8TestInterfaceImplementedAs.cpp 2013-05-13 14:44:51.472341309 +1000 +++ /tmp/tmpxsK6k_/V8TestInterfaceImplementedAs.cpp 2013-05-13 14:44:56.222328968 ...
7 years, 7 months ago (2013-05-13 04:46:43 UTC) #19
Rik
There was some concern about adding Path to the DOM: https://chromiumcodereview.appspot.com/14988008/ paper.js websites might break ...
7 years, 7 months ago (2013-05-14 13:55:50 UTC) #20
abarth-chromium
I thought this change didn't have an observable behavior change.
7 years, 7 months ago (2013-05-14 16:41:15 UTC) #21
arv (Not doing code reviews)
7 years, 7 months ago (2013-05-14 17:30:05 UTC) #22
Message was sent while issue was closed.
On 2013/05/14 16:41:15, abarth wrote:
> I thought this change didn't have an observable behavior change.

Yeah, this doesn't change the APIs to JavaScript in any way.

Powered by Google App Engine
This is Rietveld 408576698