[Webkit-unassigned] [Bug 70816] New: Get rid of optional parameters in the middle in IDLs.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 25 07:01:05 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70816
Summary: Get rid of optional parameters in the middle in IDLs.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: podivilov at chromium.org
Get rid of optional parameters in the middle in IDLs.
Optional parameters in the middle are prohibited by WebIDL spec.
There are two places where we use them:
1) DOMWindow.idl postMessage(in SerializedScriptValue message, in [Optional] Array messagePorts, in DOMString targetOrigin)
which actually means
postMessage(in SerializedScriptValue message, in DOMString targetOrigin)
postMessage(in SerializedScriptValue message, in Array messagePorts, in DOMString targetOrigin)
2) CanvasRenderingContext2D.idl putImageData(in ImageData imagedata, in float dx, in float dy, in [Optional] float dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight)
which actually means
putImageData(in ImageData imagedata, in float dx, in float dy)
putImageData(in ImageData imagedata, in float dx, in float dy, in float dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight)
--
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