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

536034 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly d245a916ef Bug 1364277 Wait for service workers to activate more in dom/workers/test/serviceworkers. r=asuth 2017-05-15 06:22:22 -07:00
Ben Kelly 979733b37f Bug 1364276 Wait for service worker to activate before proceeding in tests. r=asuth 2017-05-15 06:22:20 -07:00
Paolo Amadini 5974d2958c Bug 1362384 - Remove code to import data from "downloads.sqlite". r=mak
When upgrading an old profile that still uses "downloads.sqlite", information about in-progress and paused downloads will be lost. The history of completed downloads will be preserved because it is stored in the Places database, although it may be affected by history expiration.

MozReview-Commit-ID: GFqvACKC4E1

--HG--
extra : source : 63d49c2d1fd68be15e295b90e9f0c98170158466
2017-05-15 10:48:04 +01:00
Carsten "Tomcat" Book 460c81b223 Merge mozilla-central to mozilla-inbound 2017-05-15 14:32:50 +02:00
Andrew Osmond b49d882caa Bug 1343482 - Label ScopedGfxFeatureReporter runnables. r=jrmuizel 2017-05-15 08:19:57 -04:00
Nicolas Silva 882493b81e Bug 1362303 - Don't use a Shmem we failed to allocate in nsContentUtils. r=Bas 2017-05-15 12:15:48 +02:00
Iris Hsiao a2c5c83006 Backed out changeset 0542e8e2295b (bug 1355311) for assertion failure in TimeoutManager.cpp 2017-05-15 17:38:54 +08:00
Ryan VanderMeulen 1fc10504ff Backed out changesets c9812dd7d27a and 387d8415d05e (bug 1362148) because it broke various Android jobs. 2017-05-12 11:47:22 -04:00
Ryan VanderMeulen 8b33390981 Backed out changeset 5e04c49d2d10 (bug 1362164) because it depends on bug 1362148 which is being backed out. 2017-05-12 11:46:31 -04:00
Evan Wallace 8c715c91e6 Bug 1052253 - Part 2: Map macOS pinch zoom gesture to wheel event with control key. r=mstange
This patch matches Chrome's behavior almost exactly, except it uses a slightly
different formula for the deltaY value that results in the same movement speed
as Chrome but doesn't drift over time.

Tested by confirming that trackpad pinch zoom now works on maps.google.com,
wego.here.com, and figma.com.
2017-05-12 15:39:09 +03:00
Birunthan Mohanathas 0e52c9ca9e Bug 1052253 - Part 1: Fix gestures when using macOS 10.11 or later SDK. r=mstange
`beginGestureWithEvent` and `endGestureWithEvent` are not called for
applications that link against the macOS 10.11 or later SDK when we're running
on macOS 10.11 or later.

For compatibility with all supported macOS versions, we have to call
{begin,end}GestureWithEvent ourselves based on the event phase when we're using
the 10.11+ SDK.

See: https://developer.apple.com/reference/appkit/nsresponder/1526368-begingesturewithevent
2017-05-12 15:39:01 +03:00
Olli Pettay 1b1642f523 Bug 1364018 - Coalesce wheel events more aggressively, r=stone
--HG--
extra : rebase_source : 17171c517a0c49cfbb2a6c99a06d655e61930e2d
2017-05-12 14:13:59 +03:00
Alin Selagea 68950682a9 Bug 1362397 - Add a new win8 R-e10s-qr job on the graphics tree, r=kmoir,aobreja 2017-05-12 14:11:46 +03:00
Iris Hsiao 6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Mike Hommey fcd9a5550a Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm
NO_TLS used to be hardcoded on mac because up to 10.6, __thread was not
supported. Until recently, we still supported for 10.6, and it's not the
case anymore, so we could make mac builds use __thread.

Unfortunately, on OSX, __thread circles back calling malloc to allocate
storage on first access, so we have an infinite loop problem here.
Fortunately, pthread_keys don't have this property, so we can use that
instead. It doesn't appear to have significantly more overhead (and TLS
overhead is small anyways compared to the amount of work involved in
allocating memory with mozjemalloc).

At the same time, we uniformize the initialization sequence between
mozjemalloc and mozjemalloc+replace-malloc, such that we have less
occasions for surprises when riding the trains (replace-malloc being
nightly only), ensuring the zone registration happens at the end of
mozjemalloc's initialization.
2017-05-12 18:12:20 +09:00
Mike Hommey f5461de678 Bug 1361258 - Initial implementation for jemalloc_thread_local_arena. r=erahm
The function, when passed `true`, creates a new arena with no attachment
in the global list of arenas, and assigns it to the current thread.
When passed `false`, it restores the default arena.

Some details are left out because they don't matter yet, as the sole
initial use of the API is going to invoke the function when stylo rayon
threads start up, which happens exactly once per thread, and at thread
exit time, which happens at shutdown, if ever.

This simplifies things, and leaves those details to followup(s):
- Arenas can't simply be killed when the function is called with `false`
  again (or when the thread dies) because they may still contain valid
  allocations that could have been passed to other threads. Those arenas
  should be kept until they are empty.
- jemalloc_stats doesn't know about them and will under-report memory
  usage.
- pre/post fork hooks don't know about them and will not force-unlock
  their locks. In practice, until those arenas are used for something
  else than the style system, this can't lead to the dead-locks that
  these hooks help prevent because nothing should be touching pointers
  allocated through them after fork.
2017-05-12 18:12:15 +09:00
Mike Hommey 6277defd95 Bug 1361258 - Add a hazard exception for Gecko_SetJemallocThreadLocalArena. r=me 2017-05-12 18:12:07 +09:00
Julian Seward 83969e88eb Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
The intent of the API is to allow threads to opt-in to use a separate
mozjemalloc arena.

This indroduces a dummy shell with no actual implementation.
2017-05-12 18:08:08 +09:00
Ruturaj K. Vartak eeb5e9e9e1 Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
MozReview-Commit-ID: KojxbqOAJAQ
2017-05-11 04:25:00 +01:00
Jan de Mooij 652857ca5b Bug 1364014 - Remove unnecessary is-array check in GCMarker::restoreValueArray. r=jonco 2017-05-12 09:46:21 +02:00
Ehsan Akhgari 8a04849cee Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h.
That brings XPCOM string headers with it.
2017-05-12 02:35:09 -04:00
Ehsan Akhgari 9fc6c978e3 Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange 2017-05-12 02:35:09 -04:00
vincentliu 3d037c531f Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
Phil Ringnalda 0b5026dbf2 Backed out 3 changesets (bug 1310885) for heap write hazard failures
Backed out changeset 77352010d8e8 (bug 1310885)
Backed out changeset 9245a2fbb974 (bug 1310885)
Backed out changeset 7c2db290c4b6 (bug 1310885)

MozReview-Commit-ID: 7JWuxt9QDO0
2017-05-11 23:03:31 -07:00
Kris Maglione 01da50be42 Bug 1358846: Temporarily disable low-value tests that fail only on Windows. r=me
MozReview-Commit-ID: AklygLaeckt

--HG--
extra : rebase_source : 39b68fc73a87caacb8a401d786df9e0a21569bc2
2017-05-11 22:42:44 -07:00
Christoph Kerschbaumer 48324979f7 Bug 1362993 - Add BrowserTestUtils.addTab() which provides triggeringPrincipal for params object. r=florian 2017-05-10 09:31:59 +02:00
Luke Wagner cd63304f36 Bug 1364615 - Baldr: remove bytecode from wasm::Code (r=lth)
MozReview-Commit-ID: 10FncpKzcFR
2017-05-15 14:30:21 -05:00
Luke Wagner 81dc873c58 Bug 1364615 - Baldr: remove MaxWasmCodeAllocations (r=jandem)
MozReview-Commit-ID: 2X9R8dhDoPr
2017-05-15 14:27:10 -05:00
Luke Wagner dfe2dee7ef Bug 1364615 - Baldr: remove unlinkedBytesForDebugging (r=lth)
MozReview-Commit-ID: BIizDn89igc
2017-05-15 14:27:10 -05:00
Luke Wagner 77415b69b2 Bug 1364615 - Baldr: use UniquePtr to own code (r=lth)
MozReview-Commit-ID: 9WJ36B3gR6k
2017-05-15 14:27:10 -05:00
Ben Kelly 895fbb3370 Bug 1343912 P4 Don't waste time calling TimeStamp::Now() after time budget has elapsed. r=ehsan 2017-05-15 11:58:51 -07:00
Ben Kelly b0626b4ff1 Bug 1343912 P3 Remove fixed limit on maximum consecutive timeout handlers to execute. r=ehsan 2017-05-15 11:58:51 -07:00
Ben Kelly dff08d6c5d Bug 1343912 P2 Only execute consecutive timeout handlers for a limit period of time. r=ehsan 2017-05-15 11:58:51 -07:00
Ben Kelly ea4ddea556 Bug 1343912 P1 Cleanup logic in TimeoutManager::RunTimeout() to keep firing depth and other data consistent. r=ehsan 2017-05-15 11:58:51 -07:00
Joel Maher 27cfa71d39 Bug 1364944 - create new 'g5' talos job - talos in tree manifest definition. r=gbrown
This is a stub to have tests to run when the buildbot jobs are defined.
As a note, talos is now e10s only, so we do not need the non-e10s version.

MozReview-Commit-ID: IKDPwKFoHlm
2017-05-15 14:49:27 -04:00
Kris Maglione 695828f6ff Bug 1358846: Disable Jetpack child_process test. r=me
MozReview-Commit-ID: 65a0bfbtskU

--HG--
extra : rebase_source : e0d9e8a6f6927ab999b2a29fa6a9fd6a33dde5a9
2017-05-09 21:04:35 -07:00
Nazım Can Altınova cb0d27041b Bug 1360488 - Part 2: stylo: Propagate quirks mode information from Gecko to Servo r=bholley
MozReview-Commit-ID: 6AyuC2jd3d4

--HG--
extra : rebase_source : d73057d48589e22cdddcf465b4cad7c28dd8f2de
2017-05-06 01:12:03 +03:00
Nazım Can Altınova ce383280c3 Bug 1360488 - Part 1: stylo: Add ServoCSSParsingEnvironment and pass this instead of URLExtraData r=bholley
It was inconsistent with gecko side and also we needed to pass nsCompatibility enum along with URLExtraData.

MozReview-Commit-ID: 2ceutBfqBrg

--HG--
extra : rebase_source : f342774ed349c65f377cf85865f5905520784ca5
2017-05-11 19:06:43 +03:00
Nazım Can Altınova 6e17bb55a1 servo: Merge #16819 - stylo: Propagate quirks mode information from Gecko to Servo (from canaltinova:quirk-mode); r=bholley,emilio
r=bholley in bugzilla

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1360488](https://bugzilla.mozilla.org/show_bug.cgi?id=1360488)

Source-Repo: https://github.com/servo/servo
Source-Revision: 94ac822132bd78a412f847a704c9ddf3eb91151c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2ea77efd7e0f31ea403f9952644c6ff30aaf4466
2017-05-13 20:50:10 -05:00
Hiroyuki Ikezoe 76442db0fb Bug 1357295 - Allow all numeric values for SMIL. r=birtles
MozReview-Commit-ID: Knlgs1j4dan

--HG--
extra : rebase_source : 02e84a42a377deb0489c123adaa6db4df244ca56
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe 6ac20e3acf Bug 1357295 - Add PARSING_MODE_ALLOW_ALL_NUMERIC_VALUES to force to parse negative values. r=emilio
As per SVG spec [1], we should also parse negative color components values for
SMIL, but currently Gecko does not support it either.

[1] https://www.w3.org/TR/SVG/implnote.html#RangeClamping

MozReview-Commit-ID: FH80zN3jyKh

--HG--
extra : rebase_source : c9b435222ee7e84cb6e84064a62b2b866e75b6eb
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe 55f24d5f91 Bug 1357295 - Make ParsingMode bitflags. r=emilio
assert_parsing_mode_match() is mostly the same as
assert_restyle_hints_match().

MozReview-Commit-ID: 7oOHlZ06DYk

--HG--
extra : rebase_source : 2ace9d66f64c1cfc11c17ded37fdabf356f57d5c
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe 7cd8cdf2bb Bug 1357295 - Rename LengthParsingMode to ParsingMode and LengthParsingMode::SVG to PasingMode::AllowUnitlessLength. r=emilio
We need another flag that represents allow-negative-number for SMIL, so
this enum will also comprise the another parsing mode that allows negative number.

MozReview-Commit-ID: IDFNppjGeB

--HG--
extra : rebase_source : 456f661b33346ff4a756a66c6accf4ab1a5f2f80
2017-05-13 19:47:38 +09:00
Hiroyuki Ikezoe b46eb2cf82 servo: Merge #16851 - Allow all numeric values for SMIL values (from hiikezoe:allow-all-numeric-values); r=emilio
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1357295 .
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 0900ad4e4e980040f4c89da0bcc7bb52ca0aabd4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 77c1a873d20cb1f416ebb443e6b9267b48bf9ac1
2017-05-13 18:53:07 -05:00
Tomislav Jovanovic 5e33a4fcc3 Bug 1362047 - Fix content_script.run_at default value, add test r=mixedpuppy
MozReview-Commit-ID: CiBaSkZ0TqQ

--HG--
extra : rebase_source : 88fed5902a1c8eeaaa19cb6c50ace19f27750a43
2017-05-10 02:00:29 +02:00
Brad Werth 2483e7b376 servo: Merge #16844 - Servo-side change stylesheet_set entry unique_id to u64 (from bradwerth:stylesheet64); r=heycam
https://bugzilla.mozilla.org/show_bug.cgi?id=1363572
https://reviewboard.mozilla.org/r/138092/

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: b80d4acef455d1072df5a4ad7fd1d80fbff8e27c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 30999e7e6f547eaa40e5bb027768ab986de207af
2017-05-13 16:13:13 -05:00
Sebastian Hengst 97a63d02ee merge mozilla-central to autoland. r=merge a=infra-fix on a CLOSED TREE
--HG--
extra : amend_source : df33eddb7158f7ecf8d1677755d46f948c7bfa04
2017-05-14 00:39:30 +02:00
Hiroyuki Ikezoe c85fceb851 Bug 1363592 - Update mochitest expectations for transition and animation duration. r=jeremychen
MozReview-Commit-ID: 1Eg1Z6xe0h0

--HG--
extra : rebase_source : 07272bea3f3d0d66b7a28f23ba082d913fe337f7
2017-05-12 18:54:26 +09:00
Simon Whitehead 9d6573ed23 servo: Merge #16829 - Disallow negative duration for animation and transition (from hiikezoe:disallow-negative-duration); r=emilio
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15343

<!-- Either: -->
- [X] There are tests for these changes written by @simon-whitehead . Thank you!

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4613c0382ab76263fb8202ccf52f4c0520e44809

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5ab0c6c878e3f18f6588d820ae046cef82d36f1d
2017-05-13 15:12:15 -05:00
Hiroyuki Ikezoe a22206c2de Bug 1354947 - Update mochitest expectations for @keyframes merging. r=birtles
MozReview-Commit-ID: EKGVdKpybiQ

--HG--
extra : rebase_source : 864bbdd7f7c93ed51bf987e60660c7ece30ea8c8
2017-05-13 16:34:38 +09:00