[Webkit-unassigned] [Bug 65370] New: Remove LegacyDefaultOptionalArguments flag from navigator IDL files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 29 06:08:53 PDT 2011


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

           Summary: Remove LegacyDefaultOptionalArguments flag from
                    navigator IDL files
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pilgrim at chromium.org
                CC: abarth at webkit.org


As discussed in IRC, we are migrating our IDL files away from the interface-level "LegacyDefaultOptionalArguments" flag and onto argument-level [Optional] or [Optional=CallWithDefaultValue] flags. This patch migrates navigator-related files. This patch changes behavior -- it makes the registerProtocolHandler match Firefox's behavior by making all arguments required and throwing TypeError if required arguments are missing. It also adjusts an existing test to check for the TypeError.

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