[Webkit-unassigned] [Bug 65717] Remove LegacyDefaultOptionalArguments flag from Document.idl
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 4 14:30:01 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65717
Adam Barth <abarth at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #102979|review? |review+
Flag| |
--- Comment #2 from Adam Barth <abarth at webkit.org> 2011-08-04 14:30:01 PST ---
(From update of attachment 102979)
View in context: https://bugs.webkit.org/attachment.cgi?id=102979&action=review
> Source/WebCore/dom/Document.idl:46
> - [ReturnsNew] EntityReference createEntityReference(in DOMString name)
> + [ReturnsNew] EntityReference createEntityReference(in [Optional=CallWithDefaultValue] DOMString name)
Crazy. I have no idea what ReturnsNew means.
> Source/WebCore/dom/Document.idl:332
> + [ReturnsNew, EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window,
> + in [Optional=CallWithDefaultValue] EventTarget target,
> + in [Optional=CallWithDefaultValue] long identifier,
> + in [Optional=CallWithDefaultValue] long pageX,
> + in [Optional=CallWithDefaultValue] long pageY,
> + in [Optional=CallWithDefaultValue] long screenX,
> + in [Optional=CallWithDefaultValue] long screenY,
> + in [Optional=CallWithDefaultValue] long webkitRadiusX,
> + in [Optional=CallWithDefaultValue] long webkitRadiusY,
> + in [Optional=CallWithDefaultValue] float webkitRotationAngle,
> + in [Optional=CallWithDefaultValue] float webkitForce)
This API seems poorly designed, but that's another story. What does it mean to have prefixed argument names?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list