[Webkit-unassigned] [Bug 10701] New: JavaScript "strict-mode" options for easier debugging

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Sep 3 00:25:53 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10701

           Summary: JavaScript "strict-mode" options for easier debugging
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Drosera
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: macdome at opendarwin.org


JavaScript "strict-mode" options for easier debugging

A strict-mode could include such features as:
1. require 'var' for local variables (implicit globals cause warnings)
2. getting/setting custom properties on built-in types (catches things like for
(var x = 0; x < myarray.size; x++) -- here Array.size does not exist, yet x <
undefined is always false and silently fails)
I imagine others might have additional suggestions.

IMO these type of features could really set our javascript debugger apart from
the pack.


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



More information about the webkit-unassigned mailing list