Bug 1375457 - name should be a replaceable attribute in worker global scopes, r=bkelly

This commit is contained in:
Andrea Marchesini 2017-06-27 10:05:20 -07:00
parent 729cc74d0d
commit edceccdf00
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
[Global=(Worker,DedicatedWorker),
Exposed=DedicatedWorker]
interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
[Replaceable]
readonly attribute DOMString name;
[Throws]

View File

@ -15,6 +15,7 @@
[Global=(Worker,SharedWorker),
Exposed=SharedWorker]
interface SharedWorkerGlobalScope : WorkerGlobalScope {
[Replaceable]
readonly attribute DOMString name;
void close();