Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-06-24 23:12:00 +08:00
commit c416859636
20 changed files with 24 additions and 70 deletions

View file

@ -8890,8 +8890,7 @@ nsGlobalWindow::PostMessageMozOuter(JSContext* aCx, JS::Handle<JS::Value> aMessa
providedPrincipal,
callerInnerWin
? callerInnerWin->GetDoc()
: nullptr,
nsContentUtils::IsCallerChrome());
: nullptr);
JS::Rooted<JS::Value> message(aCx, aMessage);
JS::Rooted<JS::Value> transfer(aCx, aTransfer);