https://www.w3.org/Bugs/Public/show_bug.cgi?id=24564
Bug ID: 24564
Summary: [Imports]: Blocking circular reference in the import
tree/list
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
I'm not sure why exactly were the tree changed to list in the spec., in my mind
it's more like a map between uri's and imports, but at very least it should be
a set. But one thing this change suggests that we do not necessary disallow
circular references among imports. Which I sympathise with, in many cases it's
OK to do that. Adding a new edge to the import graph dynamically that results a
directed circle after everything was loaded successfully should just work.
However. As the spec. stands, if we have a script blocking circular reference
we might end up blocking scripts indefinitely. In that case we think (I talked
to Boris and Blake about this) we have to break the circle, and this part
should be specced out carefully so we don't end up with different behaviours
per browser agents.
--
You are receiving this mail because:
You are on the CC list for the bug.