[Webkit-unassigned] [Bug 39124] XMLHttpRequest.setRequestHeader shouldn't be custom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 15 15:43:57 PDT 2010


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





--- Comment #5 from Adam Barth <abarth at webkit.org>  2010-05-15 15:43:56 PST ---
I see.  We're supposed to throw on too few arguments here.  There are three behaviors:

1) Treat missing arguments as undefined.
2) Return undefined when arguments are missing.
3) Throw a syntax error when arguments are missing.

Looks like we need to mint a new IDL attribute so we can select which of the three we want for a given method.

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