WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
160296
First parameter to SVGDocument.createEvent() should be mandatory
https://bugs.webkit.org/show_bug.cgi?id=160296
Summary
First parameter to SVGDocument.createEvent() should be mandatory
Chris Dumez
Reported
2016-07-28 09:01:46 PDT
First parameter to SVGDocument.createEvent() should be mandatory: -
https://www.w3.org/TR/SVG2/struct.html#InterfaceDocumentExtensions
-
https://dom.spec.whatwg.org/#document
Firefox and Chrome agree with the specification.
Attachments
Patch
(4.09 KB, patch)
2016-07-28 09:04 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-07-28 09:04:39 PDT
Created
attachment 284784
[details]
Patch
Alex Christensen
Comment 2
2016-07-28 10:40:20 PDT
Comment on
attachment 284784
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=284784&action=review
> LayoutTests/svg/dom/SVGDocument-createEvent-expected.txt:6 > +PASS svgDocument.createEvent() threw exception TypeError: Not enough arguments.
Chrome canary and firefox fail this test :(
Chris Dumez
Comment 3
2016-07-28 10:45:39 PDT
(In reply to
comment #2
)
> Comment on
attachment 284784
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=284784&action=review
> > > LayoutTests/svg/dom/SVGDocument-createEvent-expected.txt:6 > > +PASS svgDocument.createEvent() threw exception TypeError: Not enough arguments. > > Chrome canary and firefox fail this test :(
Only because my test checks for a specific exception message and their exception message is different?
Alex Christensen
Comment 4
2016-07-28 10:51:11 PDT
Comment on
attachment 284784
[details]
Patch Yep, I just saw the red FAIL. They indeed just have a different message. No problem
WebKit Commit Bot
Comment 5
2016-07-28 11:15:32 PDT
Comment on
attachment 284784
[details]
Patch Clearing flags on attachment: 284784 Committed
r203821
: <
http://trac.webkit.org/changeset/203821
>
WebKit Commit Bot
Comment 6
2016-07-28 11:15:37 PDT
All reviewed patches have been landed. Closing bug.
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