[Bug 28544] Custom elements should not upgrade elements by setting prototype

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

--- Comment #4 from Ryosuke Niwa <rniwa@webkit.org> ---
(In reply to Domenic Denicola from comment #3)
> Referencing myClass will be a reference error until 'mymodule' is loaded.
> This normally comes up in the case of circular dependencies.

I'm not certain what you mean by "until 'mymodule' is loaded' but the
'mymodule' will be synchronously fetched and evaluated before the following
statements are executed.

e.g.
import { myClass } from 'mymodule'; // (1)
new myClass; // this line of code is never executed until (1) is done
executing.

The fact we can encounter a circular dependency in (1) is an orthogonal issue.
The fact of matter is that the declarative syntax for importing an ES6 module
DOES synchronously block the script execution.

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

Received on Thursday, 23 April 2015 00:35:19 UTC