Closed Bug 1346071 Opened 8 years ago Closed 8 years ago

SharedArrayBuffer cross-realm nonsense

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1317416

People

(Reporter: shu, Unassigned)

Details

We fail test262/built-ins/DataView/proto-from-ctor-realm-sab.js var other = $262.createRealm().global; var C = new other.Function(); C.prototype = null; var buffer = new SharedArrayBuffer(0); var o = Reflect.construct(DataView, [buffer, 0], C); assert.sameValue(Object.getPrototypeOf(o), other.DataView.prototype);
Summary: SharedArrayBuffer [[Prototype]] should be derived from realm of newTarget → SharedArrayBuffer cross-realm nonsense
Other cross-realm failures: test262/built-ins/SharedArrayBuffer/proto-from-ctor-realm.js test262/built-ins/TypedArrays/buffer-arg-proto-from-ctor-realm-sab.js
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.