[Webkit-unassigned] [Bug 104358] New: base64DecodeInternal() is not conforming to HTML5(window.atob) spec.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 7 02:55:39 PST 2012


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

           Summary: base64DecodeInternal() is not conforming to
                    HTML5(window.atob) spec.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sh919.park at samsung.com


base64DecodeInternal() is not conforming to HTML5(window.atob) spec.

Window.atob has not been implemented in accordance with base64 spec(http://www.w3.org/TR/html5/webappapis.html#atob).
4. If the length of input divides by 4 leaving no remainder, then: if input ends with one or two "=" (U+003D) characters, remove them from input. (in spec)
6. If input contains a character that is not in the following list of characters and character ranges, throw an InvalidCharacterError exception and abort these steps (in spec)
   - Currently in WebKit, if input invalid charater, did not throw an InvalidCharacterError exception and abort.

This issue is reproducible at w3c approved test site (http://w3c-test.org/html/tests/approved/base64.html).

So, I will upload the patch as soon as possible.

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