[Webkit-unassigned] [Bug 62904] New: Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 17 13:01:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62904

           Summary: Remove LegacyDefaultOptionalArguments flag from IDL
                    files where it would not change behavior
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pilgrim at chromium.org
                CC: fishd at chromium.org, abarth at webkit.org


After bug 62750, there are many IDL files that contain the new LegacyDefaultOptionalArguments flag that don't actually need it. Some examples:

- the IDL file contains no functions
- the IDL file contains only functions with no arguments
- the IDL file contains functions, *all* of which use the [RequiresAllArguments=raise] extended attribute

This patch simplifies such IDL files by removing the LegacyDefaultOptionalArguments flag and (if needed) removing the [RequiresAllArguments=raise] extended attribute from each function declaration. This patch does not make any required arguments optional or any optional arguments required. It changes no behavior at all.

-- 
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