Beispiel #1
0
void HTMLImportChild::shareLoader(HTMLImportChild* loader)
{
    ASSERT(!m_loader);
    m_loader = loader->m_loader;
    m_loader->addClient(this);
    stateWillChange();
}
Beispiel #2
0
void HTMLImportChild::didFinishLoading()
{
    clearResource();
    stateWillChange();
    if (m_customElementMicrotaskStep)
        CustomElementMicrotaskDispatcher::instance().importDidFinish(m_customElementMicrotaskStep.get());
}
Beispiel #3
0
void HTMLImportChild::wasAlreadyLoaded()
{
    ASSERT(!m_loader);
    ASSERT(m_client);
    ensureLoader();
    stateWillChange();
}
void HTMLImport::appendImport(HTMLImport* child)
{
    appendChild(child);

    // This prevents HTML parser from going beyond the
    // blockage line before the precise state is computed by recalcState().
    if (child->isSync())
        m_state = HTMLImportState::blockedState();

    stateWillChange();
}
Beispiel #5
0
void HTMLImportChild::didFinishUpgradingCustomElements()
{
    stateWillChange();
    m_customElementMicrotaskStep.clear();
}
Beispiel #6
0
void HTMLImportChild::didFinishLoading()
{
    stateWillChange();
    CustomElement::didFinishLoadingImport(*(root()->document()));
}
Beispiel #7
0
void HTMLImportChild::didShareLoader()
{
    createCustomElementMicrotaskStepIfNeeded();
    stateWillChange();
}
Beispiel #8
0
void HTMLImportChild::didFinishLoading()
{
    clearResource();
    stateWillChange();
}
Beispiel #9
0
void HTMLImportChild::didFinishLoading()
{
    stateWillChange();
}
Beispiel #10
0
void HTMLImportChild::didShareLoader()
{
    stateWillChange();
}