Граф коммитов

489880 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 445be7ebea Backed out changeset 5ad925dd2e4e for epic build bustage.
MozReview-Commit-ID: 2TwkxThgvV4
2016-09-02 02:21:39 -04:00
Nicholas Nethercote 1afb49737d Bug 1300007 - Don't close a stream in an assertion. r=baku.
Because assertions disappear in non-debug builds.

--HG--
extra : rebase_source : 84ad45841a9ab07e3b4c749bb82e3541a23a8137
2016-09-02 16:10:02 +10:00
Rutuja Surve c7539febee Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT

--HG--
extra : rebase_source : c4fb7a04996bc4ecdf87531c58e9fd26af2ace1d
2016-09-02 00:21:00 -04:00
Nicholas Nethercote 819433bae0 Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj.
nsThreadManager::get() can return a reference. This lets us remove some
redundant assertions.

nsThreadArray elements can be NotNull<>s.

--HG--
extra : rebase_source : fd49010167101bc15f7f6d01bf95fd63b81d60fb
2016-06-10 16:04:49 +10:00
Emilio Cobos Álvarez 619cb14d87 Bug 1299066: Make NS_STYLE_DISPLAY_* an enum class. Prefer indexing instead of linear search in the frame constructor r=heycam,bz
The main renaming was generated with the following python script:

```

import sys
import re

CAMEL_CASE_REGEX = re.compile(r"(^|_|-)([A-Z])([A-Z]+)")
DISPLAY_REGEX = re.compile(r"\bNS_STYLE_DISPLAY_([^M][A-Z_]+)\b")

def to_camel_case(ident):
  return re.sub(CAMEL_CASE_REGEX,
                lambda m: m.group(2) + m.group(3).lower(), ident)

def constant_to_enum(constant):
  return "StyleDisplay::" + to_camel_case(constant) + ("_" if constant == "NONE" else "")

def process_line(line):
  return re.sub(DISPLAY_REGEX,
                lambda m: constant_to_enum(m.group(1)), line)

lines = []
with open(sys.argv[1], "r") as f:
  for line in f:
    lines.append(process_line(line))

with open(sys.argv[1], "w") as f:
  for line in lines:
    f.write(line)
```

And the following shell commands:

```
find . -name '*.cpp' -exec python display.py {} \;
find . -name '*.h' -exec python display.py {} \;
```

MozReview-Commit-ID: 91xYCbLC2Vf
2016-09-01 20:41:17 -07:00
Phil Ringnalda d5a11536ff Back out changeset 58b07057fe25 (bug 1299159) on suspicion of breaking Windows PGO builds
CLOSED TREE
2016-09-01 19:43:22 -07:00
Mike Shal 42ab09bca2 Bug 1297718 - Add config.status to sys.modules for dependency detection; r=glandium
MozReview-Commit-ID: J5WaTPYc0vJ
2016-08-26 10:04:07 -04:00
Boris Zbarsky 37ce88ab1c Bug 1298410. Remove support for IDL arrays, since those are not a thing anymore. r=peterv 2016-09-01 21:31:23 -04:00
Boris Zbarsky fee88c0518 Bug 1167575. Ensure that we don't exit modal state while we're still waiting on a Gecko runnable in the event-loop-spinning code in nsPrompter.js. r=dolske
If we synchronously shut down the prompt, that will exit modal state while we're
still processing our mouse or key event, which happens _before_ Gecko runnable
processing.  Exiting modal state will generally post a runnable to run timeouts,
so we can end up processing that runnable before we return from processNextEvent
and unwind to whatever code did the alert() call on the web page.  The upshot is
that the webpage will see timeouts fire before the alert() call returns.

If we exit modal state off a Gecko runnable instead, that will ensure that we
return to the nsPrompter code immediately after exiting modal state, see that
the prompt is no longer active, and return to the calling web page code _before_
processing any more runnables.
2016-09-01 21:31:22 -04:00
Lee Salzman 8e129f50b3 Bug 1299738 - warn instead of crash if DrawTargetSkia's GetBitmapForSurface fails. r=mchang 2016-09-01 21:17:03 -04:00
Eric Rahm 8525660464 Bug 1299631 - Avoid accessing dead windows in test-firefox-windows.js. r=zer0
Rather than checking for window.closed we can just check the number of active
windows.
2016-09-01 15:28:14 -07:00
Lee Salzman 0716a90344 Bug 1299485 - fix USE_SKIA_GPU ifdefs. r=mchang 2016-09-01 21:10:39 -04:00
Wes Kocher cf25422a49 Merge m-c to inbound, a=merge CLOSED TREE 2016-09-01 17:54:19 -07:00
Wes Kocher f768ae16dc Merge an extra commit from autoland to fix dep builds a=merge CLOSED TREE 2016-09-01 17:51:59 -07:00
Wes Kocher c28fdd5c48 Merge inbound to m-c a=merge 2016-09-01 17:51:22 -07:00
Wes Kocher 07511520b2 Merge fx-team to central, a=merge 2016-09-01 17:45:17 -07:00
Wes Kocher 3a5e8e7885 Backed out changeset 1ac6a04f5bc7 (bug 1289951) for xpcshell bustage CLOSED TREE a=backout 2016-09-01 16:12:51 -07:00
Wes Kocher cd76672083 Bug 1289951 maybe needs a=CLOBBER CLOSED TREE 2016-09-01 15:16:48 -07:00
Milan Sreckovic 9412980973 Bug 1205900: Automated test. r=me 2016-09-01 16:40:21 -04:00
Eric Rahm ac86f7f542 Bug 1299613 - Grab ref to closingButton name prior to closing. r=Gijs
In order to avoid poking a potentially dead wrapper we grab a ref to the
button name prior to being destroyed.
2016-09-01 13:33:52 -07:00
Eric Rahm 67ebe8e8e8 Bug 1299592 - Handle dead windows in ContentSearch.jsm. r=felipe
In addition to having a null messageManager it's also possible the target is
already a dead wrapper if the browser has been closed.
2016-09-01 13:32:36 -07:00
Eric Rahm 6a06f03938 Bug 1299587 - Handle if marionette tests can't focus mainFrame in tearDown. r=automatedtester
It's possible the mainFrame has already been closed in which case it can
become a dead wrapper. Just gracefully handle failure in this situation.
2016-09-01 13:30:24 -07:00
Milan Sreckovic 4061321fa2 Bug 1088300: More diagnostic to see what went wrong. r=mchang 2016-09-01 16:27:08 -04:00
Wes Kocher 45e2be7962 Backed out changeset 37f554c467ca (bug 1295753) for browser_parsable_script.js failures a=backout 2016-09-01 11:12:00 -07:00
Ryan VanderMeulen 2c2a553e3b Merge m-c to inbound. a=merge 2016-09-01 13:56:44 -04:00
Ryan VanderMeulen 07f5d8a01b Merge m-c to autoland. a=merge 2016-09-01 13:56:21 -04:00
Ryan VanderMeulen b632e7f77e Merge m-c to fx-team. a=merge 2016-09-01 13:55:58 -04:00
Aryeh Gregor 00d6f39ca3 Bug 1298818 - Throw correct exception for names that start with Unicode characters that are only allowed at start; r=jst
The new behavior matches the specification, web-platform-tests, Chrome,
and Edge.  I couldn't figure out any reason for the old behavior.

MozReview-Commit-ID: 6cktZuN1vCV
2016-09-01 20:37:35 +03:00
Aryeh Gregor 865efbc170 Bug 1298818 - Port test_bug411103.html to wpt; r=jst
This allows other UAs to use it, removes duplicated checks, and
increases the chance of us noticing if the spec changes.  Some of the
expected values in our mochitest were contrary to the spec.

I checked the new expected failures against the spec and the other UAs.
I filed a spec bug for one group because it was contrary to all UAs
(although IMO the spec makes more sense and the UAs are buggy), and the
others are fixed in the next patch.

MozReview-Commit-ID: 1j11XgfuErB
2016-09-01 20:37:31 +03:00
Aryeh Gregor 86805f8baa Bug 1299838 - Add bug numbers to some wpt failures; r=test-only
MozReview-Commit-ID: Ldt77orMjW6
2016-09-01 20:36:21 +03:00
Andrew Halberstadt b8794fb825 Backed out changeset 0d714827d06c for causing local build failures on Android (bug 1292674)
MozReview-Commit-ID: LPos2cJMyRR
2016-09-01 13:34:01 -04:00
Nick Alexander 649396baa7 Bug 1299869 - Track desktop-build xfvb changes. r=garndt
When I wrote this initially, I was told it was not possible to inherit
from desktop-build.  That may have changed, but I still don't know how
to inherit, so we duplicate the logic here, inviting bugs of this
class.  The underlying logic moves slowly so this is an acceptable
approach.

MozReview-Commit-ID: AsWdbp0QK5K

--HG--
rename : testing/docker/desktop-build/dot-config/pip/pip.conf => testing/docker/android-gradle-build/dot-config/pip/pip.conf
extra : rebase_source : b13d97f5faabfaa42d1068b216d2c5ad5052154c
2016-09-01 10:30:18 -07:00
Ryan VanderMeulen 11b1acdfde Bug 1299862 - Update pdf.js to version 1.5.413. r=bdahl 2016-09-01 12:49:33 -04:00
Ryan VanderMeulen 37b200a0c5 Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
Ryan VanderMeulen 44f02640c6 Merge fx-team to m-c. a=merge 2016-09-01 11:48:45 -04:00
Ryan VanderMeulen c6b0a50842 Merge inbound to m-c. a=merge 2016-09-01 11:45:27 -04:00
Sebastian Hengst e1afe71af4 Backed out changeset 27ffae997b83 (bug 1286118) for failing browser_devices_get_user_media.js. r=backout 2016-09-01 17:05:03 +02:00
James Willcox a34bf3d3ee Bug 1299622 - Delete bogus browser[pending] CSS rule for Fennec r=sebastian a=cherry-pick to fix Fennec tab restore
MozReview-Commit-ID: KdSBXbfYTn1

--HG--
extra : amend_source : d068c0e65f0bad6cd7a0247d09c35d43dbc2ee4f
extra : transplant_source : 1%B4%11vV%B2%D8d%7F%12%B9%9D%C5%EATa%C9%3D%C9%B0
2016-09-01 09:26:25 -05:00
Jason Laster b6ebb1fb1d Bug 1295753 - Fix console. r=jlongster 2016-09-01 08:16:00 -04:00
Ryan VanderMeulen 23932b1a58 Backed out 5 changesets (bug 1298768, bug 1297963) for causing widespread mochitest-bc failures.
Backed out changeset dedd56fa5c54 (bug 1297963)
Backed out changeset bc1ac59cfe8f (bug 1297963)
Backed out changeset a2e337d5aa02 (bug 1297963)
Backed out changeset e73da71408a3 (bug 1297963)
Backed out changeset 56f8bca8f8e8 (bug 1298768)

CLOSED TREE
2016-09-01 08:05:43 -04:00
Ryan VanderMeulen 6119440646 Backed out changeset 96ef0dd840e8 (bug 1299415) for TextureClient asserts/crashes in various test suites. 2016-09-01 08:01:58 -04:00
Shu-yu Guo c91529919f Bug 1297706 - Syntax parse with statements. r=jandem 2016-09-01 13:55:58 +02:00
Shu-yu Guo 85437bebb4 Bug 1297706 - Syntax parse lexical declarations. r=jandem 2016-09-01 13:55:56 +02:00
Aryeh Gregor 0c1d7143d1 Bug 984778 - Make hasFeature() and SVG requiredFeatures always return true; r=bz,longsonr
hasFeature() always returning true matches the current DOM spec.  SVG 2
has removed requiredFeatures.  Chrome has had both of these always
return true since 2014, and they seem to have had no problems.

Even requiredFeatures="" (empty string) now returns true, matching
Chrome.

MozReview-Commit-ID: 1LEu3iK4R94
2016-09-01 14:35:11 +03:00
Bob Owen db36da75f2 Bug 1259087: Add content process sandbox level to Telemetry Environment. r=gfritzsche
MozReview-Commit-ID: 8Irs0qvg8I9
2016-09-01 12:22:11 +01:00
Zibi Braniecki 28a1b12f39 Bug 1287503 - Expose a JS Intl API to get calendar information. r=waldo
MozReview-Commit-ID: 4Gp90LMc9Lt
2016-09-01 12:25:06 +02:00
Ryan VanderMeulen 3611a7607d Merge inbound to m-c. a=merge 2016-08-31 22:33:17 -04:00
Wes Kocher a6fa167a46 Merge fx-team to central, a=merge 2016-08-31 17:11:06 -07:00
Wes Kocher 338962fe89 Merge autoland to central, a=merge 2016-08-31 16:54:58 -07:00
Kannan Vijayan e7cae3eb49 Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-08-31 18:14:24 -04:00