summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/support/name-as-accidental-global.js
blob: f2c39ea715aa64a990eda923931969a890ce336d (plain)
1
2
3
4
5
6
7
8
9
"use strict";
importScripts("/resources/testharness.js");

var name = "something else";

// This just makes the test name not "Untitled"
test(() => { }, `Declaring name as an accidental global must not cause a harness error for ${self.constructor.name}`);

done();