mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add support for import@async
We don't have a good way of testing this behavior without introducing a race. Ideally we'd unit test it, but we don't really have unit tests yet. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/751493003
This commit is contained in:
parent
67d5db4520
commit
0c96c6eaa6
@ -74,7 +74,7 @@ void HTMLImportElement::importChildWasDestroyed(HTMLImportChild* child)
|
||||
|
||||
bool HTMLImportElement::isSync() const
|
||||
{
|
||||
return true;
|
||||
return !hasAttribute(HTMLNames::asyncAttr);
|
||||
}
|
||||
|
||||
Element* HTMLImportElement::link()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user