Commit Graph

535744 Commits

Author SHA1 Message Date
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
Dustin J. Mitchell
0344e1f70e Bug 1364421: actually disable SETA, instead of never running talos; r=bstack a=infra-fix
MozReview-Commit-ID: ABtOy6FqKKT

--HG--
extra : amend_source : c55830b73dd4afa51aa163cd537513734e09f5f3
extra : transplant_source : %85Gzz%8E%1A%95o%D0%1A%CB%E3%9A%B0%9AZ%5Cb%5Ew
2017-05-13 19:15:35 +00:00
Sebastian Hengst
fce3945ab5 Backed out changeset 402ef9d842a3 (bug 1361912) for breaking L10n builds on Windows 8 and Android. r=backout a=backout
MozReview-Commit-ID: HY7DdkwrA9b
2017-05-13 20:03:14 +02:00
Sebastian Hengst
3fe80a18f6 Backed out changeset 23050ffaf649 (bug 1361912)
MozReview-Commit-ID: 8wNS8pZVoHm
2017-05-13 19:59:11 +02:00
Sebastian Hengst
5083f7cdb9 Backed out changeset 6a82d640aa27 (bug 1361912)
MozReview-Commit-ID: FSNB4pvICIz
2017-05-13 19:59:06 +02:00
ffxbld
06b337ab22 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-05-13 08:04:42 -07:00
ffxbld
418e3e6f07 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-05-13 08:04:39 -07:00
Joel Maher
d8e63e2177 Bug 1364421 - fix flake8 errors. r=me a=CLOSED TREE 2017-05-12 15:14:10 -04:00
Joel Maher
769411ae57 Bug 1364421 - temporarily disable SETA for BBB only. r=bstack, a=CLOSED TREE 2017-05-12 14:55:42 -04:00
Joel Maher
5d7cb32492 Bug 1364421 - temporarily disable SETA. r=bstack, a=CLOSED TREE
MozReview-Commit-ID: KEoiYhR6bXs
2017-05-12 14:41:52 -04:00
Ryan VanderMeulen
4e993e38aa Merge m-c to inbound. a=merge
CLOSED TREE
2017-05-12 12:11:25 -04: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
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
Hiroyuki Ikezoe
cbcc8022b4 Bug 1354947 - Drop Gecko_AnimationAppendKeyframe. r=birtles
MozReview-Commit-ID: 9B9TjkJ5CxO

--HG--
extra : rebase_source : 1930b77481e1f3be46a2bf4750445e4f72292d15
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
b57fed9509 Bug 1354947 - Rename FillKeyframesForName to GetKeyframesForName. r=birtles
MozReview-Commit-ID: AOLygEtuhpO

--HG--
extra : rebase_source : 2db2a183588a44fc33e0e7bff44847813a72cb74
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
c115978360 Bug 1354947 - Fill in missing keyframe values. r=birtles
This is mostly a mimic of what we do in
GeckoCSSAnimationBuilder::FillInMissingKeyframeValues().

In Gecko we iterate over the properties just once because we can take the
index for both the synthesized start and end keyframe and easily look them up
as needed. However, in this patch we synthesize the start and end keyframes
separately and iterate over the properties twice because that's easier than
getting two indices and then later calling another FFI to dereference each of
them, and neater than getting back two pointers

MozReview-Commit-ID: 1e0R9AKzgaG

--HG--
extra : rebase_source : a37c406480c2d0ce2b8c4d4ad804622cac2083fa
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
8fd511dac1 Bug 1354947 - Merge keyframe values at the same offset and of the same timing function. r=birtles
MozReview-Commit-ID: 4BTYAGjFb3V

--HG--
extra : rebase_source : 6c49d3bf381b71ce8e9a161e50c3f357356e551c
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
377cb840b0 Bug 1354947 - Expose FindMatchingKeyframe and make it reusable for nsTimingFunction. r=birtles
MozReview-Commit-ID: Jjcrk5AhtUH

--HG--
extra : rebase_source : 0b372758d94fe850a2c5136d6b875fa704d5b9b2
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
b56f6b1267 Bug 1354947 - Add equal operators for comparing ComputedTimingFunction with nsTimingFunction. r=birtles
MozReview-Commit-ID: 7pQQP3xlKot

--HG--
extra : rebase_source : 08f7fa7739778942eea94e7987e268e2d5196b77
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe
b8f09b427c servo: Merge #16850 - Merge keyframes at the same offset (from hiikezoe:merge-keyframe); r=birtles,SimonSapin
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1354947 .
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

- [X] These changes do not require tests because it's for stylo

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c1d4968c42c51bbb6a4012ef7cafbff2728e8e94
2017-05-13 14:05:40 -05:00
Simon Sapin
fc81f181c7 servo: Merge #16852 - Fix illegal_floating_point_literal_pattern again and rustup… (from servo:illegal_floating_point_literal_pattern); r=jdm+SimonSapin
… to compiler that has it, to avoid regressing again.

Upgrade to (rustc 1.19.0-nightly (e17a1227a 2017-05-12)

Source-Repo: https://github.com/servo/servo
Source-Revision: 5e5d3559d90a9a0b69ec8147eedf12025ec3e0ce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef222b90c773241ac66e539be768577712b43f50
2017-05-13 11:25:07 -05:00
Sebastian Hengst
53a08c5a24 Backed out changeset 02fddd4b2fe1 (bug 1322523) for bustage in telemtry. r=backout 2017-05-13 19:24:39 +02:00
Botond Ballo
0818e4ae84 Bug 1349750 - When APZ initiates an async drag, do not wait for a content response. r=kats
MozReview-Commit-ID: 1XgWobrnLBx

--HG--
extra : rebase_source : 8ce307a04ef9b6e184b0c3bc69d2c2ced4e5e4e1
2017-05-12 18:25:38 -04: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
Botond Ballo
2c52e58651 Bug 1349750 - Put async initiation of scrollbar drags behind a pref. r=kats
This allows the feature to ride the trains later than async scrollbar
dragging itself, if desired.

MozReview-Commit-ID: 73ZlCqM5hMN

--HG--
extra : rebase_source : dabc4a4b72210133d8b62256510213183312f18f
2017-05-10 17:57:54 -04:00
Botond Ballo
6606b827b5 Bug 1349750 - Have APZ initiate async scrollbar dragging when possible. r=kats
MozReview-Commit-ID: 1snCEl6H9bN

--HG--
extra : rebase_source : dce1353e5ccebfacd5d100719ebb684dfa0f516b
2017-05-10 19:29:46 -04:00
Botond Ballo
390338b8cd Bug 1349750 - Store the thumb's start offset in ScrollThumbData. r=kats
Also add a comment to AsyncDragMetrics documenting that mScrollbarDragOffset
is relative to the thumb's start offset.

MozReview-Commit-ID: uipsOCzs2N

--HG--
extra : rebase_source : 25183e22cb7ffb9995a2594d6aea106cdef7924a
2017-05-10 19:24:26 -04:00
Botond Ballo
933619aa8d Bug 1349750 - Have AsyncDragMetrics use ScrollDirection instead of rolling its own direction enum. r=kats
MozReview-Commit-ID: FKK4OBx12oa

--HG--
extra : rebase_source : 538579bd965863ecac5d7846f1c5df232b8a2108
2017-05-10 15:22:04 -04:00
Botond Ballo
f5c583a72c Bug 1349750 - Add a ConvertScrollbarPoint() helper to AsyncPanZoomController. r=kats
MozReview-Commit-ID: ESbWqhy1tKT

--HG--
extra : rebase_source : a380346fefd9e0fbcbbbcdcd61c0272b727acfed
2017-05-10 19:25: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