Changeset 203820 in webkit
- Timestamp:
- Jul 28, 2016 11:04:22 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203819 r203820 1 2016-07-28 Chris Dumez <cdumez@apple.com> 2 3 Parameters to CanvasGradient.addColorStop() should be mandatory 4 https://bugs.webkit.org/show_bug.cgi?id=160297 5 6 Reviewed by Alex Christensen. 7 8 Rebaseline existing test due to behavior change. 9 10 * platform/mac/canvas/philip/tests/2d.missingargs-expected.txt: 11 1 12 2016-07-27 Ryan Haddad <ryanhaddad@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/ChangeLog
r203815 r203820 1 2016-07-28 Chris Dumez <cdumez@apple.com> 2 3 Parameters to CanvasGradient.addColorStop() should be mandatory 4 https://bugs.webkit.org/show_bug.cgi?id=160297 5 6 Reviewed by Alex Christensen. 7 8 Rebaseline W3C test now that one more check is passing. 9 10 * web-platform-tests/html/dom/interfaces-expected.txt: 11 1 12 2016-07-28 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
r203806 r203820 5091 5091 PASS CanvasGradient interface: existence and properties of interface prototype object 5092 5092 PASS CanvasGradient interface: existence and properties of interface prototype object's "constructor" property 5093 FAIL CanvasGradient interface: operation addColorStop(double,DOMString) assert_equals: property has wrong .length expected 2 but got 0 5093 PASS CanvasGradient interface: operation addColorStop(double,DOMString) 5094 5094 PASS CanvasPattern interface: existence and properties of interface object 5095 5095 PASS CanvasPattern interface object length -
trunk/LayoutTests/platform/mac/canvas/philip/tests/2d.missingargs-expected.txt
r203333 r203820 1 Failed assertion: expected exception of type SyntaxError, got: SyntaxError (DOM Exception 12): The string did not match the expected pattern.1 Failed assertion: expected exception of type SyntaxError, got: TypeError: Not enough arguments -
trunk/Source/WebCore/ChangeLog
r203818 r203820 1 2016-07-28 Chris Dumez <cdumez@apple.com> 2 3 Parameters to CanvasGradient.addColorStop() should be mandatory 4 https://bugs.webkit.org/show_bug.cgi?id=160297 5 6 Reviewed by Alex Christensen. 7 8 Parameters to CanvasGradient.addColorStop() should be mandatory: 9 - https://html.spec.whatwg.org/multipage/scripting.html#canvasgradient 10 11 Firefox and Chrome agree with the specification. 12 13 No new tests, rebaselined existing test. 14 15 * html/canvas/CanvasGradient.idl: 16 1 17 2016-07-28 Romain Bellessort <romain.bellessort@crf.canon.fr> 2 18 -
trunk/Source/WebCore/html/canvas/CanvasGradient.idl
r199969 r203820 26 26 ImplementationLacksVTable, 27 27 ] interface CanvasGradient { 28 // FIXME: Using "undefined" as default parameter value is wrong. 29 [RaisesException] void addColorStop(optional float offset = NaN, optional DOMString color = "undefined"); 28 [RaisesException] void addColorStop(float offset, DOMString color); 30 29 }; 31 30
Note: See TracChangeset
for help on using the changeset viewer.