< prev index next >
modules/javafx.web/src/main/native/Source/WebCore/inspector/WebInjectedScriptManager.cpp
Print this page
*** 58,68 ****
return;
Vector<long> idsToRemove;
for (const auto& it : m_idToInjectedScript) {
JSC::ExecState* scriptState = it.value.scriptState();
! // JDK-8164960
if (scriptState == nullptr || window != domWindowFromExecState(scriptState))
continue;
m_scriptStateToId.remove(scriptState);
idsToRemove.append(it.key);
}
--- 58,68 ----
return;
Vector<long> idsToRemove;
for (const auto& it : m_idToInjectedScript) {
JSC::ExecState* scriptState = it.value.scriptState();
! // JDK-8164076
if (scriptState == nullptr || window != domWindowFromExecState(scriptState))
continue;
m_scriptStateToId.remove(scriptState);
idsToRemove.append(it.key);
}
< prev index next >