mirror of
https://github.com/roytam1/kmeleon.git
synced 2026-05-26 17:58:08 +00:00
app: update NotifyJSRunToCompletionStart call for enigne API changes
This commit is contained in:
@@ -740,9 +740,8 @@ bool InjectJS(nsIDOMWindow* dom, const wchar_t* userScript, CString& result)
|
||||
JSAutoRequest ar(cx);
|
||||
JSAutoNullableCompartment ac(cx, _globalJSObject);
|
||||
JS::Rooted<JS::Value> asyncStack(cx, JS::NullValue());
|
||||
JS::Rooted<JS::Value> asyncCauseValue(cx, JS::NullValue());
|
||||
|
||||
docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS", 1, asyncStack, asyncCauseValue);
|
||||
docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS", 1, asyncStack, "");
|
||||
|
||||
JS::Rooted<JSObject*> globalJSObject(cx, innerGlobal->GetGlobalJSObject());
|
||||
JS::Rooted<JS::Value> v (cx, JS::UndefinedValue());
|
||||
|
||||
Reference in New Issue
Block a user