Open Bug 1783911 Opened 3 years ago Updated 3 years ago

Attempting to return an invalid result from ShadowRealm.prototype.evaluate produces a bad error message

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mgaudet, Unassigned)

References

(Blocks 1 open bug)

Details

js> var sr = new ShadowRealm()
js> p = sr.evaluate("new Promise()")
typein:2:8 TypeError: evaluate failed, error was TypeError: undefined is not a function
Stack:
  @typein:2

What's undefined in this?

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.