[Bug 24564] New: [Imports]: Blocking circular reference in the import tree/list

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: dglazkov@chromium.org
          Reporter: gkrizsanits@mozilla.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

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.

Received on Thursday, 6 February 2014 17:13:09 UTC