| Summary: | Element.getAttributeNS() should return null if the attribute does not exist | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ap, rniwa, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar, WebExposed | ||||||
| Version: | Other | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumez
2015-09-15 13:48:55 PDT
Created attachment 261234 [details]
Patch
Comment on attachment 261234 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=261234&action=review > Source/WebCore/dom/Element.idl:52 > + [ObjCLegacyUnnamedParameters, TreatReturnedNullStringAs=Null] DOMString getAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, [Default=Undefined] optional DOMString localName); Can we split this into two lines? It's really long now. Created attachment 261238 [details]
Patch
Committed r189825: <http://trac.webkit.org/changeset/189825> Comment on attachment 261234 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=261234&action=review >> Source/WebCore/dom/Element.idl:52 >> + [ObjCLegacyUnnamedParameters, TreatReturnedNullStringAs=Null] DOMString getAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, [Default=Undefined] optional DOMString localName); > > Can we split this into two lines? It's really long now. I like it better long than split. |