Closed Bug 1361988 Opened 7 years ago Closed 7 years ago

Assertion failure: found in HostResolveImportedModule while loading a cyclic module graph

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1388728

People

(Reporter: jonco, Unassigned)

References

Details

Attachments

(1 file)

Attached patch module-crashSplinter Review
Found while working on bug 1358882.  The attached test produces the crash.
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.
To make it clear, test1 is the root module in the graph above.
Spec issue for this problem: https://github.com/whatwg/html/issues/2629
Priority: -- → P2
Depends on: 1374239
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.

Attachment

General

Created:
Updated:
Size: