[Webkit-unassigned] [Bug 9673] Add support for window.atob() and window.btoa()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 6 12:32:58 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=9673


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11405|                            |review?
               Flag|                            |
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-                     |ap at webkit.org
                   |unassigned at opendarwin.org   |




------- Comment #2 from ap at webkit.org  2006-11-06 12:32 PDT -------
Created an attachment (id=11405)
 --> (http://bugs.webkit.org/attachment.cgi?id=11405&action=view)
proposed fix

This implementation is based on the one from KDE, but has been tweaked for
better Firefox compatibility.

One thing I couldn't understand in khtml (and thus didn't copy) was a special
case for AToB/BToA in Window::getOwnPropertySlot:

    switch(entry->value) {
    case Frames:
// ...
    case Blur:
    case AToB:
    case BToA:
      getSlotFromEntry<WindowFunc, Window>(entry, this, slot);

<http://websvn.kde.org/trunk/KDE/kdelibs/khtml/ecma/kjs_window.cpp?rev=592458&view=markup>

WebCore has similar (but not identical) code for Blur etc. here, so maybe we
actually need it, too.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list