diff --git a/.clang-format-ignore b/.clang-format-ignore index ee5d4763575f..e78ab84b7704 100644 --- a/.clang-format-ignore +++ b/.clang-format-ignore @@ -35,6 +35,10 @@ browser/extensions/mortar/ppapi/.* db/sqlite3/src/.* devtools/client/sourceeditor/codemirror/.* devtools/client/sourceeditor/tern/.* +dom/media/gmp/widevine-adapter/content_decryption_module.h +dom/media/gmp/widevine-adapter/content_decryption_module_export.h +dom/media/gmp/widevine-adapter/content_decryption_module_ext.h +dom/media/gmp/widevine-adapter/content_decryption_module_proxy.h editor/libeditor/tests/browserscope/lib/richtext/.* editor/libeditor/tests/browserscope/lib/richtext2/.* extensions/spellcheck/hunspell/src/.* diff --git a/.eslintignore b/.eslintignore index 694ad29da90c..26d524fc3134 100644 --- a/.eslintignore +++ b/.eslintignore @@ -120,8 +120,6 @@ devtools/shared/qrcode/tests/mochitest/test_decode.html devtools/shared/tests/mochitest/*.html devtools/shared/webconsole/test/test_*.html -# Soon to be removed -devtools/client/commandline/** # Soon to be removed, the new/ directory is explicitly excluded below due to # also being an imported repository. devtools/client/debugger/** @@ -136,6 +134,9 @@ devtools/client/webide/preferences/** devtools/shared/preferences/** devtools/startup/preferences/devtools-startup.js +# Ignore devtools generated code +devtools/shared/css/generated/properties-db.js + # Ignore devtools third-party libs devtools/shared/jsbeautify/* devtools/shared/acorn/* diff --git a/accessible/ipc/DocAccessibleParent.cpp b/accessible/ipc/DocAccessibleParent.cpp index 44bd73fa6b6f..259d62c575dd 100644 --- a/accessible/ipc/DocAccessibleParent.cpp +++ b/accessible/ipc/DocAccessibleParent.cpp @@ -760,7 +760,7 @@ DocAccessibleParent::SendParentCOMProxy() } #if defined(MOZ_CONTENT_SANDBOX) - mParentProxyStream = std::move(holder.GetPreservedStream()); + mParentProxyStream = holder.GetPreservedStream(); #endif // defined(MOZ_CONTENT_SANDBOX) } diff --git a/accessible/ipc/win/HandlerProvider.cpp b/accessible/ipc/win/HandlerProvider.cpp index cf5e27bea746..17ff81dac0af 100644 --- a/accessible/ipc/win/HandlerProvider.cpp +++ b/accessible/ipc/win/HandlerProvider.cpp @@ -247,7 +247,7 @@ HandlerProvider::BuildDynamicIA2Data(DynamicIA2Data* aOutIA2Data) return FAILED(hr); }; - auto cleanup = [this, aOutIA2Data]() -> void { + auto cleanup = [aOutIA2Data]() -> void { CleanupDynamicIA2Data(*aOutIA2Data); }; diff --git a/accessible/ipc/win/PlatformChild.cpp b/accessible/ipc/win/PlatformChild.cpp index 1dfc8baf827b..f2c79c69a67e 100644 --- a/accessible/ipc/win/PlatformChild.cpp +++ b/accessible/ipc/win/PlatformChild.cpp @@ -70,14 +70,14 @@ PlatformChild::PlatformChild() UniquePtr customProxy; mozilla::mscom::EnsureMTA([&customProxy]() -> void { - customProxy = std::move(mozilla::mscom::RegisterProxy()); + customProxy = mozilla::mscom::RegisterProxy(); }); mCustomProxy = std::move(customProxy); // IA2 needs to be registered in both the main thread's STA as well as the MTA UniquePtr ia2ProxyMTA; mozilla::mscom::EnsureMTA([&ia2ProxyMTA]() -> void { - ia2ProxyMTA = std::move(mozilla::mscom::RegisterProxy(L"ia2marshal.dll")); + ia2ProxyMTA = mozilla::mscom::RegisterProxy(L"ia2marshal.dll"); }); mIA2ProxyMTA = std::move(ia2ProxyMTA); } diff --git a/accessible/ipc/win/ProxyAccessible.cpp b/accessible/ipc/win/ProxyAccessible.cpp index 9724bb6b4f52..45b7bf7857c1 100644 --- a/accessible/ipc/win/ProxyAccessible.cpp +++ b/accessible/ipc/win/ProxyAccessible.cpp @@ -244,7 +244,7 @@ ProxyAccessible::BoundsInCSSPixels() } nsIntRect rect; - HRESULT hr = custom->get_boundsInCSSPixels(&rect.x, &rect.y, &rect.width, &rect.height); + Unused << custom->get_boundsInCSSPixels(&rect.x, &rect.y, &rect.width, &rect.height); return rect; } @@ -416,7 +416,7 @@ ProxyAccessible::RelationByType(RelationType aType) const } CoTaskMemFree(targets); - return std::move(proxies); + return proxies; } double diff --git a/accessible/windows/msaa/AccessibleWrap.cpp b/accessible/windows/msaa/AccessibleWrap.cpp index 29a778b25f66..ccd4a4f378c3 100644 --- a/accessible/windows/msaa/AccessibleWrap.cpp +++ b/accessible/windows/msaa/AccessibleWrap.cpp @@ -1770,7 +1770,7 @@ AccessibleWrap::InvalidateHandlers() if (hr == CO_E_OBJNOTCONNECTED || hr == kErrorServerDied) { sHandlerControllers->RemoveElement(controller); } else { - NS_WARN_IF(FAILED(hr)); + Unused << NS_WARN_IF(FAILED(hr)); } } } diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 6d9d1fd3dd01..a29045ae1bfd 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1737,10 +1737,6 @@ pref("app.shield.optoutstudies.enabled", true); pref("app.shield.optoutstudies.enabled", false); #endif -// Savant Shield study preferences -pref("shield.savant.enabled", false); -pref("shield.savant.loglevel", "warn"); - // Multi-lingual preferences pref("intl.multilingual.enabled", false); diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 3d11006b10bc..5db666184d07 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -19,6 +19,7 @@ XPCOMUtils.defineLazyModuleGetters(this, { BrowserUsageTelemetry: "resource:///modules/BrowserUsageTelemetry.jsm", BrowserUtils: "resource://gre/modules/BrowserUtils.jsm", BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.jsm", + CFRPageActions: "resource://activity-stream/lib/CFRPageActions.jsm", CharsetMenu: "resource://gre/modules/CharsetMenu.jsm", Color: "resource://gre/modules/Color.jsm", ContentSearch: "resource:///modules/ContentSearch.jsm", @@ -4817,6 +4818,8 @@ var XULBrowserWindow = { CustomizationHandler.isCustomizing()) { gCustomizeMode.exit(); } + + CFRPageActions.updatePageActions(gBrowser.selectedBrowser); } UpdateBackForwardCommands(gBrowser.webNavigation); ReaderParent.updateReaderButton(gBrowser.selectedBrowser); diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 61b518a7947b..c3b60cbd56a0 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -634,6 +634,16 @@ xmlns="http://www.w3.org/1999/xhtml" accesskey="&syncSyncNowItem.accesskey;" id="syncedTabsRefreshFilter"/> + + + + +