WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 77323
Add APIs (getElementsByXXX) to ShadowRoot IDL.
https://bugs.webkit.org/show_bug.cgi?id=77323
Summary
Add APIs (getElementsByXXX) to ShadowRoot IDL.
Hayato Ito
Reported
2012-01-30 01:45:44 PST
Add APIs, getElementById, getElemesntByTagName, getElementsByClassName and getElementsByTagNameNS to ShadowRoot IDL.
Attachments
Add APIs, getElementByXXX
(4.28 KB, patch)
2012-01-30 01:50 PST
,
Hayato Ito
no flags
Details
Formatted Diff
Diff
Add expectation
(5.47 KB, patch)
2012-01-30 01:53 PST
,
Hayato Ito
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Hayato Ito
Comment 1
2012-01-30 01:50:00 PST
Created
attachment 124511
[details]
Add APIs, getElementByXXX
Hayato Ito
Comment 2
2012-01-30 01:53:27 PST
Created
attachment 124512
[details]
Add expectation
Dimitri Glazkov (Google)
Comment 3
2012-01-30 09:38:17 PST
Comment on
attachment 124512
[details]
Add expectation View in context:
https://bugs.webkit.org/attachment.cgi?id=124512&action=review
> Source/WebCore/dom/ShadowRoot.idl:39 > + [OldStyleObjC] NodeList getElementsByTagNameNS(in [ConvertNullToNullString,Optional=CallWithDefaultValue] DOMString namespaceURI,
Is [OldStyleObjC] really necessary here?
Hayato Ito
Comment 4
2012-01-31 22:19:43 PST
Comment on
attachment 124512
[details]
Add expectation View in context:
https://bugs.webkit.org/attachment.cgi?id=124512&action=review
>> Source/WebCore/dom/ShadowRoot.idl:39 >> + [OldStyleObjC] NodeList getElementsByTagNameNS(in [ConvertNullToNullString,Optional=CallWithDefaultValue] DOMString namespaceURI, > > Is [OldStyleObjC] really necessary here?
I just copied these 4 function definitions from Document's IDL. haraken tole me [OldStyleObjC] is is used due to some compatibility issues in obj-C. I don't have a clear reason to remove it, so leave it as is until we are sure we can remove it. I am landing this patch.
WebKit Review Bot
Comment 5
2012-01-31 22:55:34 PST
Comment on
attachment 124512
[details]
Add expectation Clearing flags on attachment: 124512 Committed
r106434
: <
http://trac.webkit.org/changeset/106434
>
WebKit Review Bot
Comment 6
2012-01-31 22:55:39 PST
All reviewed patches have been landed. Closing bug.
Hayato Ito
Comment 7
2012-02-01 20:05:35 PST
Note that it turned out that [OldStyleObjC] is unnecessary. It was removed in
http://trac.webkit.org/changeset/106449
. For the record, we don't need [OldStyleObjC] anymore for new functions even if its super class, such Document, uses it for the function with same signature of the subclass.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug