Closed Bug 1508683 Opened 6 years ago Closed 5 years ago

test262 RegExp cross-realm tests fail

Categories

(Core :: JavaScript Engine, defect, P3)

61 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1545038

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

With the latest test262 tests imported by bug 1508680, the following regexp tests fail:

    test262/built-ins/RegExp/prototype/multiline/cross-realm.js
    test262/built-ins/RegExp/prototype/global/cross-realm.js
    test262/built-ins/RegExp/prototype/sticky/cross-realm.js
    test262/built-ins/RegExp/prototype/ignoreCase/cross-realm.js
    test262/built-ins/RegExp/prototype/unicode/cross-realm.js
    test262/built-ins/RegExp/prototype/source/cross-realm.js

The error message given is:

    cross-realm RegExp.prototype Expected a TypeError but got a TypeError
Priority: -- → P3

This works fine now with same-compartment realms, but will still fail with the --more-compartments configuration.

Blocks: test262

Dup'ing to bug 1545038, which has a patch.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.