зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1314564 - adapt xray tests for SharedArrayBuffer to include new properties. r=bz
--HG-- extra : rebase_source : 9b84f4e1ac126964d241e51666188e0d7b137d49
This commit is contained in:
Родитель
ef2d144aec
Коммит
16602df083
|
@ -258,8 +258,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681
|
|||
constructorProps(["isView", "slice", Symbol.species]);
|
||||
|
||||
if (!isReleaseOrBeta) {
|
||||
gPrototypeProperties['SharedArrayBuffer'] = ["constructor", "byteLength"];
|
||||
gConstructorProperties['SharedArrayBuffer'] = constructorProps([]);
|
||||
gPrototypeProperties['SharedArrayBuffer'] = ["constructor", "byteLength", Symbol.toStringTag];
|
||||
gConstructorProperties['SharedArrayBuffer'] = constructorProps([Symbol.species]);
|
||||
} else {
|
||||
is(typeof SharedArrayBuffer, "undefined", "Enable tests!");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче