Skip to content

Commit

Permalink
merge mozilla-inbound to mozilla-central a=merge
Browse files Browse the repository at this point in the history
  • Loading branch information
BavarianTomcat committed Nov 22, 2016
2 parents 0043cb2 + 3dd2059 commit be06064
Show file tree
Hide file tree
Showing 330 changed files with 6,540 additions and 8,684 deletions.
8 changes: 8 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,14 @@ default all::

include $(topsrcdir)/config/rules.mk

ifdef SCCACHE_VERBOSE_STATS
# This won't contain stats for both halves of a universal build, but I can live with that.
default::
@echo "===SCCACHE STATS==="
-$(CCACHE) --show-stats
@echo "==================="
endif

distclean::
$(RM) $(DIST_GARBAGE)

Expand Down
2 changes: 0 additions & 2 deletions b2g/app/b2g.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,7 @@ pref("dom.phonenumber.substringmatching.VE", 7);
pref("dom.phonenumber.substringmatching.CL", 8);
pref("dom.phonenumber.substringmatching.PE", 7);

// NetworkStats
#ifdef MOZ_WIDGET_GONK
pref("dom.mozNetworkStats.enabled", true);
pref("dom.webapps.firstRunWithSIM", true);
#endif

Expand Down
1 change: 0 additions & 1 deletion b2g/chrome/content/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Cu.import('resource://gre/modules/AlertsHelper.jsm');
Cu.import('resource://gre/modules/SystemUpdateService.jsm');

if (isGonk) {
Cu.import('resource://gre/modules/NetworkStatsService.jsm');
Cu.import('resource://gre/modules/ResourceStatsService.jsm');
}

Expand Down
6 changes: 1 addition & 5 deletions b2g/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
@RESPATH@/components/UiccConnector.manifest
#endif

; WiFi, NetworkManager, NetworkStats
; WiFi, NetworkManager
#ifdef MOZ_WIDGET_GONK
@RESPATH@/components/DOMWifiManager.js
@RESPATH@/components/DOMWifiManager.manifest
Expand All @@ -405,10 +405,6 @@
@RESPATH@/components/NetworkManager.manifest
@RESPATH@/components/NetworkService.js
@RESPATH@/components/NetworkService.manifest
@RESPATH@/components/NetworkStatsManager.js
@RESPATH@/components/NetworkStatsManager.manifest
@RESPATH@/components/NetworkStatsServiceProxy.js
@RESPATH@/components/NetworkStatsServiceProxy.manifest
@RESPATH@/components/TetheringService.js
@RESPATH@/components/TetheringService.manifest
@RESPATH@/components/WifiWorker.js
Expand Down
13 changes: 11 additions & 2 deletions browser/base/content/test/general/browser_bug422590.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
function test() {
waitForExplicitFinish();
// test the main (normal) browser window
testCustomize(window, testChromeless);

// test a normal browser window
var newWin = openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", "about:blank");
ok(newWin, "got new normal window");

whenDelayedStartupFinished(newWin, function() {
testCustomize(newWin, function() {
newWin.close();
testChromeless();
});
});
}

function testChromeless() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Bug 1264572 - A test case for image cache isolation.
*/

requestLongerTimeout(2);

let Cu = Components.utils;
let {HttpServer} = Cu.import("resource://testing-common/httpd.js", {});

Expand Down
2 changes: 1 addition & 1 deletion browser/config/tooltool-manifests/linux32/clang.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"digest": "34e219d7e8eaffa81710631c34d21355563d06335b3c00851e94c1f42f9098788fded8463dd0f67dd699f77b47a0245dd7aff754943a7a03fb5fd145a808254f",
"algorithm": "sha512",
"filename": "clang.tar.xz",
"unpack": true,
"unpack": true
}
]
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/linux32/releng.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.xz",
"unpack": true,
"digest": "b89c40dbf28c2bd54fadf017c15a8789f6e7611252a623cc3a1507e3dd6fc9e5a50d746e81776ba856e33fdc99b4a6413ba7c3ac0aed5f4835705da2b758ef22",
"size": 1020700
}
]
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/linux64/clang.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.xz",
"unpack": true,
"digest": "b89c40dbf28c2bd54fadf017c15a8789f6e7611252a623cc3a1507e3dd6fc9e5a50d746e81776ba856e33fdc99b4a6413ba7c3ac0aed5f4835705da2b758ef22",
"size": 1020700
}
]
12 changes: 7 additions & 5 deletions browser/config/tooltool-manifests/linux64/hazard.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
"unpack": true
},
{
"filename" : "sccache.tar.bz2",
"algorithm" : "sha512",
"digest" : "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"unpack" : true,
"size" : 167175
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"visibility": "public",
"filename": "sccache2.tar.xz",
"unpack": true,
"digest": "b89c40dbf28c2bd54fadf017c15a8789f6e7611252a623cc3a1507e3dd6fc9e5a50d746e81776ba856e33fdc99b4a6413ba7c3ac0aed5f4835705da2b758ef22",
"size": 1020700
}
]
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/linux64/releng.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.xz",
"unpack": true,
"digest": "b89c40dbf28c2bd54fadf017c15a8789f6e7611252a623cc3a1507e3dd6fc9e5a50d746e81776ba856e33fdc99b4a6413ba7c3ac0aed5f4835705da2b758ef22",
"size": 1020700
}
]
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/macosx64/clang.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "a285c7c6468ad7438262dfec90f65981e84abf2adbb1aa075c0ec1759b4f98ce5d5f14a3d555274f970704210a00738ba7d95db2fc320f7780e6b99bcb0ffb6c",
"size": 1143715
},
{
"version": "cctools port from commit hash db1f8d906cb28, ld only",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
"filename": "MacOSX10.7.sdk.tar.bz2"
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"visibility": "public",
"filename": "sccache2.tar.xz",
"unpack": true,
"filename": "sccache.tar.bz2"
"digest": "b89c40dbf28c2bd54fadf017c15a8789f6e7611252a623cc3a1507e3dd6fc9e5a50d746e81776ba856e33fdc99b4a6413ba7c3ac0aed5f4835705da2b758ef22",
"size": 1020700
},
{
"size": 57060,
Expand Down
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/macosx64/releng.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "a285c7c6468ad7438262dfec90f65981e84abf2adbb1aa075c0ec1759b4f98ce5d5f14a3d555274f970704210a00738ba7d95db2fc320f7780e6b99bcb0ffb6c",
"size": 1143715
}
]
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/win32/build-clang-cl.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "7dee5c5602b3830cb8ac45ebaa8542714bbac0e50eabbff58a06972a02ceeab75ed7c56ff22a23f760b8317ae8e9a01cdecfaf75a7acbd2a4cdd817967170d2e",
"size": 1179901
},
{
"version": "Visual Studio 2015 Update 3 14.0.25425.01 / SDK 10.0.14393.0",
Expand Down
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/win32/clang.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "7dee5c5602b3830cb8ac45ebaa8542714bbac0e50eabbff58a06972a02ceeab75ed7c56ff22a23f760b8317ae8e9a01cdecfaf75a7acbd2a4cdd817967170d2e",
"size": 1179901
},
{
"version": "clang 3.9.0/r262971",
Expand Down
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/win32/releng.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "7dee5c5602b3830cb8ac45ebaa8542714bbac0e50eabbff58a06972a02ceeab75ed7c56ff22a23f760b8317ae8e9a01cdecfaf75a7acbd2a4cdd817967170d2e",
"size": 1179901
},
{
"version": "Visual Studio 2015 Update 3 14.0.25425.01 / SDK 10.0.14393.0",
Expand Down
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/win64/clang.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "7dee5c5602b3830cb8ac45ebaa8542714bbac0e50eabbff58a06972a02ceeab75ed7c56ff22a23f760b8317ae8e9a01cdecfaf75a7acbd2a4cdd817967170d2e",
"size": 1179901
},
{
"version": "clang 3.9.0/r262971",
Expand Down
10 changes: 6 additions & 4 deletions browser/config/tooltool-manifests/win64/releng.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
"unpack": true
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
"visibility": "public",
"filename": "sccache2.tar.bz2",
"unpack": true,
"digest": "7dee5c5602b3830cb8ac45ebaa8542714bbac0e50eabbff58a06972a02ceeab75ed7c56ff22a23f760b8317ae8e9a01cdecfaf75a7acbd2a4cdd817967170d2e",
"size": 1179901
},
{
"version": "Visual Studio 2015 Update 3 14.0.25425.01 / SDK 10.0.14393.0",
Expand Down
1 change: 1 addition & 0 deletions browser/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ bin/libfreebl_32int64_3.so
@BINPATH@/crashreporter.app/
#else
@BINPATH@/crashreporter@BIN_SUFFIX@
@BINPATH@/minidump-analyzer@BIN_SUFFIX@
@RESPATH@/crashreporter.ini
#ifdef XP_UNIX
@RESPATH@/Throbber-small.gif
Expand Down
2 changes: 1 addition & 1 deletion browser/installer/windows/nsis/defines.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
!define ARCH "x64"
!define MinSupportedVer "Microsoft Windows 7 x64"
#else
!define MinSupportedVer "Microsoft Windows 7"
!define ARCH "x86"
!define MinSupportedVer "Microsoft Windows XP SP2"
#endif

!define MinSupportedCPU "SSE2"
Expand Down
57 changes: 13 additions & 44 deletions browser/installer/windows/nsis/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -1138,13 +1138,11 @@ Function .onInit

; Don't install on systems that don't support SSE2. The parameter value of
; 10 is for PF_XMMI64_INSTRUCTIONS_AVAILABLE which will check whether the
; SSE2 instruction set is available.
; SSE2 instruction set is available. Result returned in $R7.
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"

!ifdef HAVE_64BIT_BUILD
; Restrict x64 builds from being installed on x86 and pre Win7
${Unless} ${RunningX64}
${OrUnless} ${AtLeastWin7}
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
${Unless} ${AtLeastWin7}
${If} "$R7" == "0"
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
${Else}
Expand All @@ -1155,51 +1153,22 @@ Function .onInit
Quit
${EndUnless}

SetRegView 64
!else
StrCpy $R8 "0"
${If} ${AtMostWin2000}
StrCpy $R8 "1"
${EndIf}

${If} ${IsWinXP}
${AndIf} ${AtMostServicePack} 1
StrCpy $R8 "1"
${EndIf}

${If} $R8 == "1"
; XXX-rstrong - some systems failed the AtLeastWin2000 test that we
; used to use for an unknown reason and likely fail the AtMostWin2000
; and possibly the IsWinXP test as well. To work around this also
; check if the Windows NT registry Key exists and if it does if the
; first char in CurrentVersion is equal to 3 (Windows NT 3.5 and
; 3.5.1), 4 (Windows NT 4), or 5 (Windows 2000 and Windows XP).
StrCpy $R8 ""
ClearErrors
ReadRegStr $R8 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" "CurrentVersion"
StrCpy $R8 "$R8" 1
${If} ${Errors}
${OrIf} "$R8" == "3"
${OrIf} "$R8" == "4"
${OrIf} "$R8" == "5"
${If} "$R7" == "0"
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
${Else}
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_MSG)"
${EndIf}
MessageBox MB_OKCANCEL|MB_ICONSTOP "$R7" IDCANCEL +2
ExecShell "open" "${URLSystemRequirements}"
Quit
${EndIf}
${EndUnless}
!endif

; SSE2 CPU support
${If} "$R7" == "0"
MessageBox MB_OKCANCEL|MB_ICONSTOP "$(WARN_MIN_SUPPORTED_CPU_MSG)" IDCANCEL +2
ExecShell "open" "${URLSystemRequirements}"
Quit
${EndIf}

!ifdef HAVE_64BIT_BUILD
${Unless} ${RunningX64}
MessageBox MB_OKCANCEL|MB_ICONSTOP "$(WARN_MIN_SUPPORTED_OSVER_MSG)" IDCANCEL +2
ExecShell "open" "${URLSystemRequirements}"
Quit
${EndUnless}
SetRegView 64
!endif

${InstallOnInitCommon} "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"

; The commands inside this ifndef are needed prior to NSIS 3.0a2 and can be
Expand Down
Loading

0 comments on commit be06064

Please sign in to comment.