Bug ID: 62605
           Summary: "var TEST = true" should not create a global variable
                    in debug mode (for consistency with production mode)
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: javascript
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
       Web browser: ---
   Mobile Platform: ---

If I create a gadget with "var TEST = true;" then window.TEST === undefined in
production mode, but when I try to debug the gadget by adding debug=1 to the
URL, the behavior changes and I get window.TEST === true;

The variable should still be local in debug mode.

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to