Closed
Bug 1361988
Opened 8 years ago
Closed 7 years ago
Assertion failure: found in HostResolveImportedModule while loading a cyclic module graph
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1388728
People
(Reporter: jonco, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Found while working on bug 1358882. The attached test produces the crash.
Reporter | ||
Comment 1•8 years ago
|
||
The module graph looks like this:
test2
^
|
.-> test1 --.
| |
'-- test3 <-'
As per spec, we attempt to instantiate a module when its descendants excluding ancestors have finished fetching. For module test3, there are no such descendants so we instantiate immediately it has been fetched. However module test2 may not have been fetched by this point, resulting in an assertion failure when we recursively instantiate module test1.
Reporter | ||
Comment 2•8 years ago
|
||
To make it clear, test1 is the root module in the graph above.
Reporter | ||
Comment 3•8 years ago
|
||
Spec issue for this problem: https://github.com/whatwg/html/issues/2629
Updated•8 years ago
|
Priority: -- → P2
Reporter | ||
Comment 4•7 years ago
|
||
Fixed by the changes in bug 1388728.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•