Bug 205752 - Document.createAttribute() should take in a localName, not a qualifiedName
Summary: Document.createAttribute() should take in a localName, not a qualifiedName
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://dom.spec.whatwg.org/#dom-docu...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-03 14:55 PST by Chris Dumez
Modified: 2020-01-03 16:29 PST (History)
13 users (show)

See Also:


Attachments
Patch (4.01 KB, patch)
2020-01-03 14:59 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
WIP Patch (28.39 KB, patch)
2020-01-03 16:27 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2020-01-03 14:55:46 PST
Document.createAttribute() should take in a localName, not a qualifiedName:
- https://dom.spec.whatwg.org/#dom-document-createattribute

Out behavior does not match the DOM specification or other browser engines.
Comment 1 Chris Dumez 2020-01-03 14:59:00 PST
Created attachment 386718 [details]
Patch
Comment 2 Chris Dumez 2020-01-03 16:27:11 PST
Created attachment 386727 [details]
WIP Patch
Comment 3 Chris Dumez 2020-01-03 16:28:31 PST
Comment on attachment 386718 [details]
Patch

Clearing flags on attachment: 386718

Committed r254021: <https://trac.webkit.org/changeset/254021>
Comment 4 Chris Dumez 2020-01-03 16:28:33 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2020-01-03 16:29:24 PST
<rdar://problem/58309902>