Bug 163268 - Annotate DOM API with CEReactions
Summary: Annotate DOM API with CEReactions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks: 154907
  Show dependency treegraph
 
Reported: 2016-10-10 21:51 PDT by Ryosuke Niwa
Modified: 2016-10-11 15:10 PDT (History)
11 users (show)

See Also:


Attachments
Adds the IDL attribute (87.49 KB, patch)
2016-10-10 22:06 PDT, Ryosuke Niwa
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2016-10-10 21:51:20 PDT
Add CEReactions IDL attribute to APIs defined in https://dom.spec.whatwg.org
Comment 1 Ryosuke Niwa 2016-10-10 22:06:32 PDT
Created attachment 291229 [details]
Adds the IDL attribute
Comment 2 Radar WebKit Bug Importer 2016-10-10 22:16:44 PDT
<rdar://problem/28708977>
Comment 3 Darin Adler 2016-10-10 23:54:24 PDT
Comment on attachment 291229 [details]
Adds the IDL attribute

View in context: https://bugs.webkit.org/attachment.cgi?id=291229&action=review

> Source/WebCore/dom/NamedNodeMap.idl:30
> +    [MayThrowLegacyException, CEReactions] Attr removeNamedItem(DOMString name);

Should figure out what order we want these extended attributes. I was thinking maybe alphabetical.
Comment 4 Ryosuke Niwa 2016-10-10 23:57:09 PDT
Comment on attachment 291229 [details]
Adds the IDL attribute

View in context: https://bugs.webkit.org/attachment.cgi?id=291229&action=review

>> Source/WebCore/dom/NamedNodeMap.idl:30
>> +    [MayThrowLegacyException, CEReactions] Attr removeNamedItem(DOMString name);
> 
> Should figure out what order we want these extended attributes. I was thinking maybe alphabetical.

Hopefully MayThrowLegacyException is going away but alphabetical ordering makes sense.
We should probably add that to the style checker...
Comment 5 Ryosuke Niwa 2016-10-11 15:10:26 PDT
Committed r207170: <http://trac.webkit.org/changeset/207170>