name-as-accidental-global.js (265B)
1 "use strict"; 2 importScripts("/resources/testharness.js"); 3 4 var name = "something else"; 5 6 // This just makes the test name not "Untitled" 7 test(() => { }, `Declaring name as an accidental global must not cause a harness error for ${self.constructor.name}`); 8 9 done();