Browse Source

match NotifyJSRunToCompletionStart platform API changes (as of NM27 rev e37514b51)

actually this is a revert of rev c7fea522fc
master
roytam1 12 months ago
parent
commit
9ed72e03d5
  1. 5
      k-meleon/app/MozUtils.cpp

5
k-meleon/app/MozUtils.cpp

@ -740,10 +740,7 @@ bool InjectJS(nsIDOMWindow* dom, const wchar_t* userScript, CString& result)
JSAutoRequest ar(cx);
JSAutoNullableCompartment ac(cx, _globalJSObject);
JS::Rooted<JS::Value> stack(cx, JS::NullValue());
JS::Rooted<JS::Value> asyncCauseValue(cx, JS::NullValue());
docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS", 1, stack, asyncCauseValue);
docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS", 1);
JS::Rooted<JSObject*> globalJSObject(cx, innerGlobal->GetGlobalJSObject());
JS::Rooted<JS::Value> v (cx, JS::UndefinedValue());

Loading…
Cancel
Save