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 Feb 9, 2016
2 parents 09eb7d3 + 3707fe6 commit 16bacb1
Show file tree
Hide file tree
Showing 990 changed files with 222,338 additions and 276,818 deletions.
10 changes: 9 additions & 1 deletion browser/components/preferences/cookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,14 @@ var gCookiesWindow = {
return this._bundle.getString("expireAtEndOfSession");
},

_getUserContextString: function(aUserContextId) {
if (parseInt(aUserContextId) == 0) {
return this._bundle.getString("noUserContextLabel");
}

return UserContextUI.getUserContextLabel(aUserContextId);
},

_updateCookieData: function (aItem) {
var seln = this._view.selection;
var ids = ["name", "value", "host", "path", "isSecure", "expires", "userContext"];
Expand All @@ -517,7 +525,7 @@ var gCookiesWindow = {
: this._bundle.getString("hostColon"),
isSecure: aItem.isSecure ? this._bundle.getString("forSecureOnly")
: this._bundle.getString("forAnyConnection"),
userContext: UserContextUI.getUserContextLabel(aItem.originAttributes.userContextId) };
userContext: this._getUserContextString(aItem.originAttributes.userContextId) };
for (var i = 0; i < ids.length; ++i) {
document.getElementById(ids[i]).disabled = false;
}
Expand Down
25 changes: 25 additions & 0 deletions browser/config/tooltool-manifests/win32/clang.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"clang_version": "r259916"
},
{
"size": 266240,
"digest": "bb345b0e700ffab4d09436981f14b5de84da55a3f18a7f09ebc4364a4488acdeab8d46f447b12ac70f2da1444a68b8ce8b8675f0dae2ccf845e966d1df0f0869",
"algorithm": "sha512",
"filename": "mozmake.exe"
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
},
{
"size": 164660139,
"digest": "7db5f16921c10023152e6a7765c6d31dfefc91a8742a14b6279bd253f86a683d8d951b17608aa200978f8cd433ead32e0ae9b53778566d2994e1db7af1df4cc4",
"algorithm": "sha512",
"filename": "clang32.tar.bz2",
"unpack": true
}
]
25 changes: 25 additions & 0 deletions browser/config/tooltool-manifests/win64/clang.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"clang_version": "r259916"
},
{
"size": 266240,
"digest": "bb345b0e700ffab4d09436981f14b5de84da55a3f18a7f09ebc4364a4488acdeab8d46f447b12ac70f2da1444a68b8ce8b8675f0dae2ccf845e966d1df0f0869",
"algorithm": "sha512",
"filename": "mozmake.exe"
},
{
"size": 167175,
"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831",
"algorithm": "sha512",
"filename": "sccache.tar.bz2",
"unpack": true
},
{
"size": 168551971,
"digest": "af127aba2ed881bad6e83fd162125038f2450f7b6de64efe84d1281052225ec92db6d96d6ade6ac2642f1b00761b3be5725f79c41953dc885a81185097cc81a5",
"algorithm": "sha512",
"filename": "clang64.tar.bz2",
"unpack": true
}
]
2 changes: 1 addition & 1 deletion browser/locales/en-US/chrome/browser/browser.properties
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ e10s.accessibilityNotice.enableAndRestart.accesskey = E
# usercontext.work.label,
# usercontext.shopping.label,
# usercontext.banking.label):
# These strings specify the four default contexts included in support of the
# These strings specify the four predefined contexts included in support of the
# Contextual Identity / Containers project. Each context is meant to represent
# the context that the user is in when interacting with the site. Different
# contexts will store cookies and other information from those sites in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ cookiesFiltered=The following cookies match your search:
# For example this is the English string with numbers:
# removeSelectedCookied=Remove #1 Selected;Remove #1 Selected
removeSelectedCookies=Remove Selected;Remove Selected
noUserContextLabel=None

#### Offline apps
offlineAppsList.height=7em
Expand Down
14 changes: 10 additions & 4 deletions build/automation.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class Automation(object):
self.log.info("Can't trigger Breakpad, just killing process")
self.killPid(processPID)

def waitForFinish(self, proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath):
def waitForFinish(self, proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath, outputHandler=None):
""" Look for timeout or crashes and return the status after the process terminates """
stackFixerFunction = None
didTimeout = False
Expand Down Expand Up @@ -436,7 +436,12 @@ class Automation(object):
while line != "" and not didTimeout:
if stackFixerFunction:
line = stackFixerFunction(line)
self.log.info(line.rstrip().decode("UTF-8", "ignore"))

if outputHandler is None:
self.log.info(line.rstrip().decode("UTF-8", "ignore"))
else:
outputHandler(line)

if "TEST-START" in line and "|" in line:
self.lastTestSeen = line.split("|")[1].strip()
if not debuggerInfo and "TEST-UNEXPECTED-FAIL" in line and "Test timed out" in line:
Expand Down Expand Up @@ -530,7 +535,7 @@ class Automation(object):
debuggerInfo = None, symbolsPath = None,
timeout = -1, maxTime = None, onLaunch = None,
detectShutdownLeaks = False, screenshotOnFail=False, testPath=None, bisectChunk=None,
valgrindPath=None, valgrindArgs=None, valgrindSuppFiles=None):
valgrindPath=None, valgrindArgs=None, valgrindSuppFiles=None, outputHandler=None):
"""
Run the app, log the duration it took to execute, return the status code.
Kills the app if it runs for longer than |maxTime| seconds, or outputs nothing for |timeout| seconds.
Expand Down Expand Up @@ -579,7 +584,8 @@ class Automation(object):
# app is launched.
onLaunch()

status = self.waitForFinish(proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath)
status = self.waitForFinish(proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath,
outputHandler=outputHandler)
self.log.info("INFO | automation.py | Application ran for: %s", str(datetime.now() - startTime))

# Do a final check for zombie child processes.
Expand Down
10 changes: 10 additions & 0 deletions build/unix/build-clang/README → build/build-clang/README
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ optional arguments:
--clean Clean the build directory
```

Pre-requisites
--------------
* Working build toolchain.
* Subversion
* CMake
* Ninja
* Python 2.7

Please use the latest available CMake for your platform to avoid surprises.

Config file format
------------------

Expand Down
Loading

0 comments on commit 16bacb1

Please sign in to comment.