Commit Graph

518649 Commits

Author SHA1 Message Date
Nicholas Nethercote
46b88ab7a6 Bug 1336326 (part 3) - Remove SamplerRegistry. r=mstange.
We only have one global Sampler, gSampler, and so SamplerRegistry is just an
unnecessary and obfuscating wrapper around it.

--HG--
extra : rebase_source : b675c414d0081dab2cd7dac864ffdff5070afe7d
2017-02-03 13:18:02 +11:00
Nicholas Nethercote
7302f2a052 Bug 1336326 (part 2) - Make sRegisteredThreadsMutex a StaticMutex. r=mstange.
StaticMutexes don't need to be created or destroyed, which avoids the need for
checking if they still exist.

This patch also adds locking to a few functions that lacked it. Every access to
sRegisteredThreads is now protected appropriately.

--HG--
extra : rebase_source : 2ea1d7372652ddd532e6e98c167be0997df33f07
2017-02-03 13:11:34 +11:00
Nicholas Nethercote
e68e4a6f44 Bug 1336326 (part 1) - Remove Sampler::GetRegisteredThreads(). r=mstange.
Sampler::sRegisteredThreadsMutex is public. Might as well make
Sampler::sRegisteredThreads public too. This allows the getter to be removed,
and makes the code a little easier to read.

--HG--
extra : rebase_source : 4ff3ba92c9d74ae1b10a2be227ca15f61d15bee2
2017-02-03 11:27:14 +11:00
Ben Kelly
b639eaf199 Bug 1336598 P3 Add preferences to control timeout back pressure algorithm. r=smaug 2017-02-05 21:50:12 -05:00
Ben Kelly
cc8571902b Bug 1336598 P2 Avoid underflow in timeout CancelOrUpdateBackpressure(). r=smaug 2017-02-05 21:50:09 -05:00
Ben Kelly
10744cc4bb Bug 1336598 P1 Tune setTimeout anti-flood constants to minimize jank. r=smaug 2017-02-05 21:50:07 -05:00
Phil Ringnalda
7a6a69db52 Bug 1334962 - set the pref to enable VR for wpt even on beta/release 2017-02-05 18:39:26 -08:00
Phil Ringnalda
42403c9edc Merge m-c to m-i 2017-02-05 18:19:27 -08:00
Phil Ringnalda
f5077ad52f Backed out changeset c13c36e04303 (bug 1332295) for extremely frequent Linux32 debug failures in test_be_conservative.js 2017-02-05 18:18:09 -08:00
Phil Ringnalda
3637182ef8 Merge m-c to m-i 2017-02-05 12:58:04 -08:00
Phil Ringnalda
da9b5c53b7 Merge m-i to m-c, a=merge 2017-02-05 12:56:39 -08:00
Phil Ringnalda
d5b106af3a Merge autoland to m-c, a=merge 2017-02-05 12:55:53 -08:00
Jan de Mooij
2cbdd72968 Bug 1333000 part 5 - Annotate crash reports with the value we found instead of the TI magic word. r=ehoogeveen 2017-02-05 21:24:23 +01:00
Sebastian Hengst
deffc9f665 Backed out changeset 2114a592360d (bug 675709) for bustage on OS X: use undeclared identifiers. r=backout on a CLOSED TREE 2017-02-05 20:53:32 +01:00
Sebastian Hengst
463433cf37 Backed out changeset d88c174c2d20 (bug 675709) 2017-02-05 20:52:53 +01:00
Ryan VanderMeulen
b2963d0f81 Backed out 3 changesets (bug 1322277) for causing bug 1334149.
Backed out changeset 4dcb65842657 (bug 1322277)
Backed out changeset 35d9f271da8d (bug 1322277)
Backed out changeset 55cc36b0d408 (bug 1322277)
2017-02-05 14:22:49 -05:00
ffxbld
24209083be No bug, Automated HPKP preload list update from host bld-linux64-spot-018 - a=hpkp-update 2017-02-05 07:38:32 -08:00
ffxbld
7b0a9b6ebf No bug, Automated HSTS preload list update from host bld-linux64-spot-018 - a=hsts-update 2017-02-05 07:38:30 -08:00
L. David Baron
e22752b858 Bug 1209697 followup - Add comment to explain change that might not be clear given existing comments here and in nsChangeHint.h. 2017-02-05 10:26:09 -05:00
Andreas Farre
a9d97e3d92 Bug 1336229 - Don't dispatch canceled IdleRequestExecutors. r=bkelly
IdleRequestExecutor::MaybeDispatch needs to handle the case when
mWindow is null, due to IdleRequestExecutor::Cancel setting mWindow to
nullptr.

MozReview-Commit-ID: F2Up5mItkqN
2017-02-05 13:40:38 +01:00
Tom Schuster
4562413d8c Bug 1330006 - Fix various space related eslint errors. r=till 2017-02-05 13:10:16 +01:00
Tom Schuster
e0ca7bce95 Bug 1330006 - Fix space-infix-ops eslint. r=till 2017-02-05 13:10:16 +01:00
Sebastian Hengst
122ebc553b Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout 2017-02-05 10:26:28 +01:00
Jan de Mooij
a609ae147a Bug 1334933 - Randomize mmap address for executable code on posix platforms. r=luke 2017-02-05 08:41:33 +01:00
Aakar Dwivedi
995c71cd97 Bug 1334989 - Parameter in the declaration of the function made same as the one in definition of the function; r=janv 2017-02-05 08:17:45 +01:00
Brad Lassey
ecdf363246 bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Phil Ringnalda
cde93160c2 Merge m-i to m-c, a=merge 2017-02-04 17:05:50 -08:00
Phil Ringnalda
56e8c0db4a Merge autoland to m-c, a=merge 2017-02-04 16:36:35 -08:00
Till Schneidereit
50b408fb96 Bug 1272697 - Part 1: Change ArrayBufferCopyData self-hosting intrinsic to take a start offset for the destination. r=lth
MozReview-Commit-ID: LroQFwbeAhi
2017-02-04 21:42:28 +01:00
Till Schneidereit
c381e3ad69 Bug 1336705 - Part 2: Add self-hosting intrinsics for resolving/rejecting Promises and adding reactions. r=arai
MozReview-Commit-ID: JFvaS5trzGA
2017-02-04 21:05:32 +01:00
Till Schneidereit
14b0837d40 Bug 1336705 - Part 1: Support creating and resolving Promises without resolve/reject functions. r=arai
Useful for internally-created Promises that'll only ever be resolved/rejected internally.

MozReview-Commit-ID: EdMmVoRQJgC
2017-02-04 20:25:35 +01:00
ffxbld
80fd210dd6 No bug, Automated HPKP preload list update from host bld-linux64-spot-017 - a=hpkp-update 2017-02-04 07:26:25 -08:00
ffxbld
933525c585 No bug, Automated HSTS preload list update from host bld-linux64-spot-017 - a=hsts-update 2017-02-04 07:26:23 -08:00
Tom Schuster
a16744c72e Bug 1331034 - Fix non-unified JS build. r=me 2017-02-04 13:27:14 +01:00
Tom Schuster
1acb65e9b6 Bug 1330006 - Fix the eslint single quotes error in self-hosted JS. r=till 2017-02-04 12:55:50 +01:00
Tom Schuster
f096742947 Bug 1331034 - Make JSONSpewer inherit from JSONPrinter. r=h4writer
--HG--
rename : js/src/jit/JSONSpewer.h => js/src/jit/JSONPrinter.h
2017-02-04 12:52:56 +01:00
Tom Schuster
9ab799f409 Bug 1331034 - Introduce a JSONPrinter class. r=h4writer
--HG--
rename : js/src/jit/JSONSpewer.cpp => js/src/jit/JSONPrinter.cpp
2017-02-04 12:52:47 +01:00
Jan de Mooij
a9aab9e5de Bug 1334933 - Allocate executable pages from a pre-reserved range. r=luke 2017-02-04 11:03:58 +01:00
James Graham
6989f40e72 Bug 1335397 - Update wpt metadata to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly
MozReview-Commit-ID: FIOVYIlW5rP
2017-02-04 09:39:12 +00:00
James Graham
0b95dd0775 Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly
MozReview-Commit-ID: 4ow7Qzx6nhD
2017-02-04 09:38:58 +00:00
Wes Kocher
f9c7eaa259 Bug 1336654 - Skip the suddenly permafailing tests to reopen the tree a=me CLOSED TREE
MozReview-Commit-ID: 1KLjbaojvYc
2017-02-03 17:17:51 -08:00
Wes Kocher
b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Gregory Szorc
381b8f676d Merge autoland to m-c; a=merge
a=release (to trick a hook)
2017-02-03 16:56:28 -08:00
Ben Kelly
c07494ba04 Bug 1336529 Handle ServiceWorkerInfo destruction while released KeepAliveToken. r=asuth 2017-02-03 14:36:27 -05:00
Nathan Froyd
47aa24f1f4 Bug 1331205 - update ipc/'s copy of locks and condition variables from Chromium upstream; r=jld
This update is mostly because the upstream implementation is now free of
the gnarly, XP-required implementation of condition variables and
updating both the posix and windows implementations at the same time
seemed easier.
2017-02-03 14:28:58 -05:00
Kartikaya Gupta
6ab3d0e923 Bug 1298218 - Follow-up to skip APZ-requiring reftests if APZ is not present. r=mstange
MozReview-Commit-ID: JvL1gs3GU4m
2017-02-03 14:15:56 -05:00
Chris Manchester
589fbe3c24 Bug 1336201 - Do not skip the "get-secrets" step during an artifact build. r=maja_zf
MozReview-Commit-ID: 3dyXKL01Dyc

--HG--
extra : rebase_source : c03478be181e693313da8e50a7933b0a3e27d435
2017-02-03 10:57:43 -08:00
Gregory Szorc
4c96b33cd9 Bug 1322769 - Free the oxidized lizzard, vendor Servo
This merge commit joins a Mercurial conversion of the Servo Git
repository with the mainline of the Firefox repository.

The converted Git history was obtained by running the following command
on revision e0c5a75dfaa6a9f8d23daa54438e987554cafe82 of the
version-control-tools repository:

  $ linearize-git-to-hg \
      --exclude-dir src/test/wpt \
      --exclude-dir src/test/ref \
      --exclude-dir tests/ref \
      --exclude-dir tests/wpt \
      --summary-prefix servo: \
      --remove-reviewable \
      --source-repo-key Source-Repo \
      --source-revision-key Source-Revision \
      --normalize-github-merge-message \
      --committer-action use-author \
      --use-p2-author \
      --with-hg ~/bin/hg \
      --copy-similarity 75 \
      --find-copies-harder \
      --skip-submodules \
      --move-to-subdir servo \
      --github-username <redacted> \
      --github-token <redacted> \
      https://github.com/servo/servo master servo-git-source servo-hg-dest

This command obtained a clone of the Servo Git repo and converted it to
Mercurial. Along the way, it:

* Collapsed all commits in merge commits into a single squashed commit,
  producing a linear history
* excluded WPT files (because there are tens of thousands of them)
* excluded "ref" tests (because they aren't wanted)
* prefixed commit message summary line with "servo:"
* removed reviewable.io text from commit messages
* added links to the original repo and revision in the commit message
* rewrote commit messages so pull request messages are consistently
  formatted
* replaced the Git "committer" with the "author" so they always agree
* used the author of the 2nd parent of a merge commit as the author of
  the "squashed" commit
* reparented all files into a "servo" subdirectory
* applied aggressive copy detection (find copies by looking at files
  that didn't change)
* marked copies if contents were at least 75% similar

The result of that conversion was pulled into the Firefox repo with
`hg pull --force` (--force was needed to allow a new root changeset).
Then, this head was merged into the mainline by running
`hg merge -t :remote`. A merge tool was specified because there was
an existing dummy geckoservo crate defined, which we wanted to overwrite
with the real thing.

The Mercurial version used was 4.1 (4.1 is necessary because of new
features in `hg convert`).

IGNORE BAD COMMIT MESSAGES (to bypass commit message hook)
a=release (to bypass WebIDL hook)

MozReview-Commit-ID: LSQNMdsZmee

--HG--
extra : rebase_source : 067cb266da2fc64e1cbf0a460be98889232fca67
2017-02-03 11:04:49 -08:00
Wes Kocher
9886fc0a7a Backed out changeset 88872e0b68d2 (bug 1335483) for failures in browser_selectpopup.js a=backout
MozReview-Commit-ID: 39EV3LzTBiI
2017-02-03 11:54:32 -08:00
Gregory Szorc
6e539c174e Bug 1322769 - Move dummy geckolib to toolkit/library, change taskgraph detection; r=froydnj
I want to get Servo vendored into servo/. The previous plan was to
replace the dummy geckolib with the real deal when the vendoring is
done. Unfortunately, this will require a significant `cargo vendor`
change, which we want to punt on for a bit.

So, this commit moves our dummy geckolib outside of servo/ so we
don't need to `cargo update` or `cargo vendor` when the real servo/
is installed.

The change to toolkit/library/rust/shared/Cargo.toml can be reverted
in the stylo repo to allow it to use the real geckolib.

We also update the taskgraph code for detecting Servo. Previously,
it looked for a file in the possibly-vendored servo/ directory. Once
the vendoring happens, this check will always pass. But without the
real geckolib, the Servo builds will fail. So, we change the check
to look for the real geckolib. This is implemented a bit hackily.
But it will be short-lived until we run `cargo vendor`.

MozReview-Commit-ID: CxGTwy6bK9j

--HG--
rename : servo/ports/geckolib/Cargo.toml => toolkit/library/geckolib/Cargo.toml
rename : servo/ports/geckolib/lib.rs => toolkit/library/geckolib/lib.rs
extra : rebase_source : c0e9c867ae74c4eb124e72dc481fd8dc814e65e7
2017-02-03 11:20:14 -08:00