Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / js / xpconnect / tests / unit / environment_script.js
blob18490541ade3c849ac1d155a11acda7c93873165
1 let strict = (function() { return this; })() === undefined;
3 // Allow this to be used as a JSM
4 var EXPORTED_SYMBOLS = [];
6 if (!strict) vu = 1;                                    // Unqualified Variable
7 var vq = 2;                                             // Qualified Variable
8 let vl = 3;                                             // Lexical
9 this.gt = 4;                                            // Global This
10 eval("this.ed = 5");                                    // Direct Eval
11 (1,eval)("this.ei = 6");                                // Indirect Eval
12 (new Function("this.fo = 7"))();                        // Dynamic Function Object
13 if (!strict) (function() { this.fi = 8; })();           // Indirect Function This
14 function fd_() { this.fd = 9; }; if (!strict) fd_();    // Direct Function Implicit