Merge remote-tracking branch 'origin/master' into custom
|
|
@ -263,7 +263,7 @@ var AddonsMgrListener = {
|
|||
onDisabled: function(aAddon) this.onUninstalled(),
|
||||
};
|
||||
|
||||
|
||||
#ifdef MOZ_PERSONAS
|
||||
var LightWeightThemeWebInstaller = {
|
||||
handleEvent: function (event) {
|
||||
switch (event.type) {
|
||||
|
|
@ -534,3 +534,4 @@ var LightweightThemeListener = {
|
|||
this.updateStyleSheet("url(" + themeData.headerURL + ")");
|
||||
},
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1216,9 +1216,11 @@ var gBrowserInit = {
|
|||
placesContext.addEventListener("popuphiding", updateEditUIVisibility, false);
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_PERSONAS
|
||||
gBrowser.mPanelContainer.addEventListener("InstallBrowserTheme", LightWeightThemeWebInstaller, false, true);
|
||||
gBrowser.mPanelContainer.addEventListener("PreviewBrowserTheme", LightWeightThemeWebInstaller, false, true);
|
||||
gBrowser.mPanelContainer.addEventListener("ResetBrowserThemePreview", LightWeightThemeWebInstaller, false, true);
|
||||
#endif
|
||||
|
||||
// Bug 666808 - AeroPeek support for e10s
|
||||
if (!gMultiProcessBrowser) {
|
||||
|
|
|
|||
|
|
@ -53,8 +53,10 @@
|
|||
titlemodifier_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;"
|
||||
#endif
|
||||
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
||||
#ifdef MOZ_PERSONAS
|
||||
lightweightthemes="true"
|
||||
lightweightthemesfooter="browser-bottombox"
|
||||
#endif
|
||||
windowtype="navigator:browser"
|
||||
macanimationtype="document"
|
||||
screenX="4" screenY="4"
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 767 B After Width: | Height: | Size: 811 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 92 KiB |
|
|
@ -87,8 +87,9 @@ Type=Application
|
|||
Icon=palemoon
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
|
||||
StartupNotify=true
|
||||
StartupNotify=false
|
||||
Actions=NewTab;NewWindow;NewPrivateWindow;
|
||||
StartupWMClass="pale moon"
|
||||
|
||||
[Desktop Action NewTab]
|
||||
Name=Open new tab
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ pref("@GUAO_PREF@.www.amazon.com","Mozilla/5.0 (@OS_SLICE@ rv:45.9) @GK_SLICE@ F
|
|||
pref("@GUAO_PREF@.soundcloud.com","Mozilla/5.0 (@OS_SLICE@ rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@");
|
||||
// Daily motion only likes strict Firefox UAs
|
||||
pref("@GUAO_PREF@.dailymotion.com","Mozilla/5.0 (@OS_SLICE@ rv:52.0) @GK_SLICE@ Firefox/52.0");
|
||||
// Financial Times' polyfill.io breaks horribly on a Pale Moon UA. Send a strict Firefox UA instead.
|
||||
pref("@GUAO_PREF@.polyfill.io","Mozilla/5.0 (@OS_SLICE@ rv:60.9) @GK_SLICE@ Firefox/60.9");
|
||||
|
||||
|
||||
// The following requires native mode. Or it blocks.. "too old firefox", breakage, etc.
|
||||
|
|
@ -76,7 +74,7 @@ pref("@GUAO_PREF@.netflix.com","Mozilla/5.0 (@OS_SLICE@ rv:45.9) @GK_SLICE@ Fire
|
|||
pref("@GUAO_PREF@.netflximg.net","Mozilla/5.0 (@OS_SLICE@ rv:45.9) @GK_SLICE@ Firefox/45.9");
|
||||
|
||||
// UA-sniffing domains that are "app/vendor-specific" and do not like Pale Moon
|
||||
pref("@GUAO_PREF@.web.whatsapp.com","Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36");
|
||||
pref("@GUAO_PREF@.web.whatsapp.com","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36");
|
||||
|
||||
// The following domains do not like the Goanna slice
|
||||
pref("@GUAO_PREF@.hitbox.tv","Mozilla/5.0 (@OS_SLICE@ rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@");
|
||||
|
|
|
|||
|
|
@ -87,8 +87,9 @@ Type=Application
|
|||
Icon=palemoon
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
|
||||
StartupNotify=true
|
||||
StartupNotify=false
|
||||
Actions=NewTab;NewWindow;NewPrivateWindow;
|
||||
StartupWMClass="new moon"
|
||||
|
||||
[Desktop Action NewTab]
|
||||
Name=Open new tab
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
28.6.0a1
|
||||
28.7.0a1
|
||||
|
|
@ -36,3 +36,16 @@ MOZ_ARG_DISABLE_BOOL(sync,
|
|||
MOZ_SERVICES_SYNC=,
|
||||
MOZ_SERVICES_SYNC=1)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Disable Lightweight Themes
|
||||
dnl ========================================================
|
||||
MOZ_ARG_DISABLE_BOOL(personas,
|
||||
[ --disable-personas Disable lightweight theme support],
|
||||
MOZ_PERSONAS=,
|
||||
MOZ_PERSONAS=1)
|
||||
|
||||
if test -n "$MOZ_PERSONAS"; then
|
||||
AC_DEFINE(MOZ_PERSONAS)
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_PERSONAS)
|
||||
|
|
@ -46,6 +46,9 @@ MOZ_PHOENIX=1
|
|||
# Browser Feature: Status bar Component
|
||||
MOZ_BROWSER_STATUSBAR=1
|
||||
|
||||
# Lightweight Themes
|
||||
MOZ_PERSONAS=1
|
||||
|
||||
# Browser Feature: Profile Migration Component
|
||||
MOZ_PROFILE_MIGRATOR=
|
||||
|
||||
|
|
|
|||
|
|
@ -311,6 +311,7 @@ def old_configure_options(*options):
|
|||
# Below are configure flags used by Pale Moon
|
||||
'--disable-browser-statusbar',
|
||||
'--disable-sync',
|
||||
'--disable-personas',
|
||||
|
||||
# Below are configure flags used by Basilisk
|
||||
'--disable-webextensions',
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ DoTypeUpdateFallback(JSContext* cx, BaselineFrame* frame, ICUpdatedStub* stub, H
|
|||
case ICStub::SetProp_Native:
|
||||
case ICStub::SetProp_NativeAdd:
|
||||
case ICStub::SetProp_Unboxed: {
|
||||
MOZ_ASSERT(obj->isNative() || obj->is<UnboxedPlainObject>());
|
||||
MOZ_ASSERT(obj->isNative());
|
||||
jsbytecode* pc = stub->getChainFallback()->icEntry()->pc(script);
|
||||
if (*pc == JSOP_SETALIASEDVAR || *pc == JSOP_INITALIASEDLEXICAL)
|
||||
id = NameToId(EnvironmentCoordinateName(cx->caches.envCoordinateNameCache, script, pc));
|
||||
|
|
|
|||
|
|
@ -3785,7 +3785,6 @@ class MObjectState
|
|||
MOZ_MUST_USE bool initFromTemplateObject(TempAllocator& alloc, MDefinition* undefinedVal);
|
||||
|
||||
size_t numFixedSlots() const {
|
||||
MOZ_ASSERT(!isUnboxed());
|
||||
return numFixedSlots_;
|
||||
}
|
||||
size_t numSlots() const {
|
||||
|
|
|
|||
|
|
@ -112,13 +112,6 @@ JSCompartment::~JSCompartment()
|
|||
js_delete(nonSyntacticLexicalEnvironments_),
|
||||
js_free(enumerators);
|
||||
|
||||
#ifdef DEBUG
|
||||
// Avoid assertion destroying the unboxed layouts list if the embedding
|
||||
// leaked GC things.
|
||||
if (!rt->gc.shutdownCollectedEverything())
|
||||
unboxedLayouts.clear();
|
||||
#endif
|
||||
|
||||
runtime_->numCompartments--;
|
||||
}
|
||||
|
||||
|
|
|
|||