[Webkit-unassigned] [Bug 27922] New: Strict equality of MimeType Host objects is not respected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 1 11:29:58 PDT 2009


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

           Summary: Strict equality of MimeType Host objects is not
                    respected
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tobie.langel at gmail.com


Strict equality of Host objects of [[Class]] MimeType isn't respected (not that
it's mandated by any specs).

To reproduce:

    window.navigator.mimeTypes[0] === window.navigator.mimeTypes[0];
    // returns false (expected true).


Given that:

    var mt = window.navigator.mimeTypes[0];
    mt === mt; // returns true (as expected);

I suspect that new wrappers are created each time the property is accessed.

Platforms affected:
  Safari Version 4.0.1 (5530.18) on Mac 10.5.7
  Webkit nightly Version 4.0.1 (5530.18), r46646 Mac OS 10.5.7
  haven't tried elsewhere.

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