Bug 35848

Summary: Remove inconsistent "Too few arguments" handling for window.atob() and window.btoa()
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
patch mitz: review+

Description Sam Weinig 2010-03-07 17:16:10 PST
window.atob() and window.btoa() throw on too few arguments being passed which is inconsistent and unnecessary. We should convert it treat arguments not passed as undefined like we do for almost all other functions.
Comment 1 Sam Weinig 2010-03-07 17:19:22 PST
Created attachment 50181 [details]
patch
Comment 2 mitz 2010-03-07 17:22:33 PST
Comment on attachment 50181 [details]
patch

> +>>>>>>> .r55629

I was instructed to ignore this, so r=me
Comment 3 Sam Weinig 2010-03-07 17:27:11 PST
Landed in r55637.