diff --git a/dom/events/EventListenerManager.cpp b/dom/events/EventListenerManager.cpp index 7628c1a26087..cf29b35600dc 100644 --- a/dom/events/EventListenerManager.cpp +++ b/dom/events/EventListenerManager.cpp @@ -1040,7 +1040,7 @@ nsresult EventListenerManager::CompileEventHandlerInternal( RefPtr fetchOptions = new ScriptFetchOptions( CORS_NONE, aElement->OwnerDoc()->GetReferrerPolicy(), aElement, - aElement->OwnerDoc()->NodePrincipal(), nullptr); + aElement->OwnerDoc()->NodePrincipal()); RefPtr eventScript = new EventScript(fetchOptions, uri); diff --git a/dom/locales/en-US/chrome/dom/dom.properties b/dom/locales/en-US/chrome/dom/dom.properties index 67f5fe84a5bd..3ef8881e3f00 100644 --- a/dom/locales/en-US/chrome/dom/dom.properties +++ b/dom/locales/en-US/chrome/dom/dom.properties @@ -317,7 +317,6 @@ ModuleSourceMalformed=Module source URI is malformed: “%S”. # LOCALIZATION NOTE: Do not translate "