Assertion failure: objectFromIncumbentGlobal, at /builds/worker/workspace/build/src/js/src/builtin/Promise.cpp:756
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
People
(Reporter: jkratzer, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, regression, testcase)
Attachments
(4 files)
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Updated•6 years ago
|
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 11•5 years ago
|
||
Jeff, this is a bug that we think has caused crashes (bug 1552099) with a reproducible test case. Please fix it.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
The simplified testcase from comment 9 now reports JavaScript error: file:///home/jwalden/moz/inflight/1447327/test.html, line 4: SecurityError: Permission denied to access property "getPromise" on cross-origin object
for me when I try to run it locally, from a file://
URL. That seems like the desired behavior, maybe?
Alternatively, if I run the tests from an httpd.js
quick stood-up web server, nothing crashes, 5 is logged to the console, and everything seems hunky-dory.
It doesn't appear to me there's actually a problem here any more, and I'm inclined to resolve this WORKSFORME, unless someone can show there's still a problem.
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
That seems like the desired behavior, maybe?
Yes, for file://. This testcase needs to be run over http.
I am hopeful that the incumbent fixes we made to promises at some point fix this.
Comment 16•5 years ago
|
||
(In reply to Boris Zbarsky [:bzbarsky, bz on IRC] from comment #15)
That seems like the desired behavior, maybe?
Yes, for file://. This testcase needs to be run over http.
Sure, and I did that (the "Alternatively" bit). Okay to close then?
Comment 17•5 years ago
|
||
Seems so...
Comment 18•5 years ago
|
||
Per comment 12, comment 16 and comment 17.
Closing as works-for-me.
Comment 19•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Updated•5 years ago
|
Description
•