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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24564

--- Comment #3 from Gabor Krizsanits <gkrizsanits@mozilla.com> ---
I understand that many programming languages disallow cycles, as it simplifies
things. But imports are a bit special... 

This list idea is still not clear. First it does not scale compared to a map
I'm afraid. I don't understand how will a de-dup mechanism prevent a circle. An
edge that causes a circle does not add any new element to the list, the element
is already there, it just trying to use it as a second referring link element
would. 
I don't understand the ordering either, why is it important? And what happens
if I start moving import links around in the DOM (not to mention adopt children
among imports)? Or do you want the list to represent a topological order to
prevent directed circles? For that I think we would need a list of the link
elements not the imports/import loaders.

Sorry, for the many questions but I'm confused, and I think this is a very
important problem to address before the release.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 7 February 2014 17:58:29 UTC