[Webkit-unassigned] [Bug 136691] New: Web Inspector: Eliminate typeof "undefined" checks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 9 18:29:25 PDT 2014


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

           Summary: Web Inspector: Eliminate typeof "undefined" checks
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


A long time ago, `undefined` could be re-assigned. Which could cause craziness comparing to undefined. That has not been the case for a while.

We can just convert:

    typeof foo === "undefined"

To:

    foo === undefined

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