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

536426 Коммитов

Автор SHA1 Сообщение Дата
JW Wang be797e327f Bug 1365520. P1 - remove MDSM::mSentLoadedMetadataEvent and MDSM::EnqueueLoadedMetadataEvent(). r=kaku
The current call flow ensures decoding metadata only happens at most once
and therefore EnqueueLoadedMetadataEvent() will only be called at most once.
We don't need the mSentLoadedMetadataEvent flag.

MozReview-Commit-ID: E95jtRrKupw

--HG--
extra : rebase_source : b95887154a2392ca5a6fcb45b4c2dad60fb65b70
2017-05-17 16:00:46 +08:00
JW Wang bdbca169de Bug 1365504 - Remove the call to AbstractThread::GetCurrent() in ServiceWorkerUpdaterChild.cpp. r=bkelly
See bug 1365483 for the rationale.

MozReview-Commit-ID: BDbdiWT2ZFa

--HG--
extra : rebase_source : a834b683b4cbd7de24a3e3943ae3eb877db18732
2017-05-17 14:35:00 +08:00
Dzmitry Malyshau a39c2178b9 servo: Merge #16891 - Using TransformStyle::Preserve3D (from kvark:preserve3d); r=glennw,emilio
<!-- Please describe your changes on the following line: -->

The changes were reviewed previously as a part of WR update PRs, but then we decided to move them out.
r? @emilio

---
<!-- 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: -->
- [x] 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: a5ff57b20fea879cc24e9dc6b94dc381ce105b89

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 13ec4c4a854d170c065cd07d2a6441fc215ba845
2017-05-17 20:38:14 -05:00
Alfredo Yang 1382d87d13 Bug 1363647 - reduce MIN_SUCCESSIVE_FRAMES to 3 for a very short mp3 file. r=JanH
MozReview-Commit-ID: LwO9aMglPNP

--HG--
extra : rebase_source : feb12610b5699e6e86f48c168df6f2ab1896293b
2017-05-10 15:34:11 +08:00
JW Wang 1156916926 Bug 1365494 - Remove the call to AbstractThread::GetCurrent() in ScriptLoader.cpp. r=jonco
See bug 1365483 for the rationale.

MozReview-Commit-ID: EDcJU48H9iX

--HG--
extra : rebase_source : c1297e8f4c2fbc024a00e7f93d1d47bc4275aadc
2017-05-17 14:07:54 +08:00
Makoto Kato 0f29d6b955 Bug 1352958 - Use UNIFIED_SOURCES into dom/webbrowserpersist. r=overholt
There is no reason that we don't use UNIFIED_SOURCES for dom/webbrowserpersist.

MozReview-Commit-ID: 7YP4v1d9s4W

--HG--
extra : rebase_source : aff1c235bc026ea550b68d230c3e61265cfb8086
2017-05-17 18:19:53 +09:00
Phil Ringnalda 72740149e6 Backed out changeset e53686543601 (bug 1303781) for timing out in browser_popupNotification_no_anchors.js
MozReview-Commit-ID: LbBFgw1LN9t
2017-05-17 18:52:56 -07:00
Matt Brubeck da09631fd3 servo: Merge #16881 - Fix containing block size for absolute root element (from mbrubeck:absolute_root); r=stshine
The root element doesn't have a containing block, so use the viewport size instead of `self.base.absolute_cb`.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16248 (github issue number if applicable).
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 10cc59dd2ef7509c724f5c81c0dcd22b31071590

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d434686f8b0b71367a632c38c8b4ef42cb9984b
2017-05-17 19:13:51 -05:00
DimiL 7b98fa4c7e Bug 1364607 - Add a test for empty Safe Browsing updates. r=francois
This patch includes two test cases:
1. Apply an empty update through Classifier interface, which is the normal use case.
2. Apply an empty update through LookupCacheV4::ApplyUpdate, this ensure update algorithm is
   correct when applying an empty update. This scenario actually shouldn't happen in
   normal use case because it will be skipped by Classifier::CheckValidUpdate.

MozReview-Commit-ID: 9khsuVatX0u

--HG--
extra : rebase_source : 8db87dd2b8b4aec4546257e9f06dcc839b2ea181
2017-05-17 16:04:23 +08:00
Mike Hommey b302af7bc0 Bug 1365473 - Rename jemalloc_types.h to mozjemalloc_types.h. r=njn
--HG--
rename : memory/mozjemalloc/jemalloc_types.h => memory/mozjemalloc/mozjemalloc_types.h
extra : rebase_source : 542d0f115f54099517f3eb9a2e0f93f8987f4f63
2017-05-12 21:52:25 +09:00
Mike Hommey 67a2475101 Bug 1365194 - Compile mozjemalloc as C++. r=njn
The source file is renamed too, because the build system doesn't handle
sources changing suffix very well (at least not without a clobber).

The _GNU_SOURCE define is removed because GCC/Clang set it by default in
C++ mode.

--HG--
rename : memory/mozjemalloc/jemalloc.c => memory/mozjemalloc/mozjemalloc.cpp
extra : rebase_source : f57dbb0a66b25e70fe8c724e9250cc0d8b14f1c1
2017-05-12 21:52:25 +09:00
Mike Hommey cfcf835a7f Bug 1365194 - Remove parts of the hacks for memalign in mozjemalloc. r=njn
The hack dates back from the originally imported jemalloc code, which
couldn't assume it's built for Firefox. Now, we can assume that, which
means the code is always built with hidden visibility by default,
removing the need for the explicit hidden visibility.

Correspondingly, when building on Solaris with GCC, the default
visibility should also prevent the inlining, making the noinline
attribute redundant. And the Sun Studio path is useless since the
compiler is not supported anymore.

--HG--
extra : rebase_source : dab0ac68af56b1f9432d312665d4ff3df01fb58a
2017-05-16 20:01:55 +09:00
Mike Hommey 0400284f88 Bug 1365194 - Make `extern "C"` part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r=njn
This avoids many additions of `extern "C"` in C++ code and will avoid
having to do the same to mozjemalloc once built as C++.

--HG--
extra : rebase_source : af55696262f40a9dd16a19c29edcb9bb307d4957
2017-05-16 18:46:02 +09:00
Mike Hommey 966b5bb639 Bug 1365194 - Remove MOZ_JEMALLOC_API from _malloc_options and _malloc_message. r=njn
MOZ_JEMALLOC_API makes those symbols exported, but we're going to make
MOZ_JEMALLOC_API include `extern "C"`, which GCC warns about in this
case (can't use extern on a variable that is initialized).

While we could get around this in some way, there is not much use for
those variables being exported altogether: the only reason they are is
to allow an override when linking mozjemalloc into executables, but
doing that in Firefox requires patching the build system or passing some
specific LDFLAGS. People who really need to do that might as well apply
a patch.

They also allow run-time override through LD_PRELOAD, but one might as
well use the MALLOC_OPTIONS environment variable for _malloc_options.
As for _malloc_message, it doesn't seem very useful to override, and
probably noone ever overrode it at runtime.

Note, we may want to remove them in a followup.

--HG--
extra : rebase_source : f2dbe5dbf0bbdb369cd7c6255f624f16b8e37209
2017-05-16 18:55:24 +09:00
Mike Hommey bbdb5a1a9c Bug 1365194 - Call moz_abort directly instead of using a macro to override abort. r=njn
Using -Dabort=moz_abort actually makes the build fail in some libstdc++
headers when building as C++.

--HG--
extra : rebase_source : 77828d5c42f231372a8e75f5e3cd6af135d1d5e8
2017-05-12 21:51:16 +09:00
Andrew Swan 34f5bfc90f Bug 1365420 Re-enable and fix test_ext_permissions.js r=zombie
MozReview-Commit-ID: n4CKSvJJQF

--HG--
extra : rebase_source : a7e910487656ed7f3706c8ccee6b5207e4cf9dea
2017-05-17 15:03:22 -07:00
Masatoshi Kimura 8266cde3a0 Bug 817374 - Fix inconsistency of the setOverLink parameter. r=mossop
MozReview-Commit-ID: 6rLOm1T2sOd

--HG--
extra : rebase_source : 1ab6b328ce4190f40934720c9c4c1fd94107d217
2016-11-21 21:39:15 +09:00
Drew Willcoxon 9ab3a57c2d Bug 1303781 - Sometimes selecting a history entry opens a Google search instead of navigating to the entry. r=mak
MozReview-Commit-ID: 9Ylo1o4DMbK

--HG--
extra : rebase_source : 0f8e90b1600f97b0c5bf1c4cbba03617a258b6f0
2017-05-17 17:05:57 -07:00
Nils Ohlmeier [:drno] 652aa12a75 Bug 1361206: warn about non-matching RTP header extension IDs. r=bwc
MozReview-Commit-ID: DLG5ICBydAK

--HG--
extra : rebase_source : dfc81395d47ddd25c9347e94e6cf630d727cdd43
2017-05-01 21:02:53 -07:00
Mike Hommey 2621599e2f Bug 1365788 - Always define NOMINMAX in spidermonkey. r=sfink
--HG--
extra : rebase_source : 1c31350716806945c896f62077cf74d3cf31c79e
2017-05-18 08:13:24 +09:00
Alan Jeffrey 33d16ecbe0 servo: Merge #16814 - Implement Houdini worklets (from asajeffrey:script-worklets); r=jdm
<!-- Please describe your changes on the following line: -->

This PR implements the current draft Houdini Worklets specification (https://drafts.css-houdini.org/worklets/).

The implementation is intended to provide a responsive environment for worklet execution, and in particular to ensure that the primary worklet executor does not garbage collect, and does not block loading module code. The implementation does this by providing a thread pool, and performing GC and module loading in a backup thread, not in the primary thread.

---
<!-- 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 #16206
- [x] There are tests for these changes

<!-- 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: ac99a48aeaa184d3acdb39d249636a140c4b7393

--HG--
rename : servo/components/script/dom/webidls/Function.webidl => servo/components/script/dom/webidls/VoidFunction.webidl
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d4069e68d5b007ec258bf5821d6386a3ec63c490
2017-05-17 16:20:42 -05:00
Drew Willcoxon 6995e1d59d Bug 1357800 - The One-Off search buttons not visible in the search bar. r=florian
Rebuild the one-off search buttons when the theme changes.  See bug 1357800 for details.  Summary: On Linux, switching between themes can cause a row of buttons to disappear.

MozReview-Commit-ID: 8lfsUO00jYP

--HG--
extra : rebase_source : 5bdef5513a8c8f8f02fd9383867b0ed57610b606
2017-05-17 15:58:56 -07:00
Botond Ballo eb687c3599 Bug 1364622 - Consider the async transforms on the scroll thumb when computing the drag start offset during APZ initiation of scrollbar dragging. r=kats
MozReview-Commit-ID: 8GA53FX7AEk

--HG--
extra : rebase_source : 1406cf44ee8354e732ba0d4e066c3a0de4ce4b77
2017-05-17 15:03:15 -04:00
Botond Ballo 600ec000fe Bug 1364622 - Consider async transforms on scroll thumb layers during hit testing. r=kats
MozReview-Commit-ID: 9avcNOKmmqF

--HG--
extra : rebase_source : 0f21e336171cc369ff9bb98caa484d5f64e87c5a
2017-05-15 20:18:48 -04:00
Botond Ballo b1bad294f4 Bug 1364622 - Add a helper function HitTestingTreeNode::IsAncestorOf(). r=kats
MozReview-Commit-ID: Et3dokACnMa

--HG--
extra : rebase_source : 821ce1451940e97d87db99683cee9b3328124c42
2017-05-15 20:18:05 -04:00
Botond Ballo cc0d93aebc Bug 1364622 - Make APZCTreeManager::GetTargetNode() const. r=kats
MozReview-Commit-ID: iroBJvekoX

--HG--
extra : rebase_source : c4f86883f3254617d6834b53f42050ee687d6b2e
2017-05-15 20:17:42 -04:00
Botond Ballo ae015859e7 Bug 1364622 - Add a utility function AsyncPanZoomController::CallWithLastContentPaintMetrics(). r=kats
MozReview-Commit-ID: Juh622Qoh2I

--HG--
extra : rebase_source : cb603b519a5db41cd74ebdf2a9245480e9549fac
2017-05-15 19:38:51 -04:00
Botond Ballo dbb6fb2a96 Bug 1364622 - Factor out a helper function for computing the current async transform for a HitTestingTreeNode. r=kats
MozReview-Commit-ID: 8ySehvzTMDl

--HG--
extra : rebase_source : 9da6da9c2a6580b7b028356d2a04265ebd18d9ec
2017-05-17 15:02:18 -04:00
Botond Ballo 9460cdd08b Bug 1364622 - Introduce a helper function for computing the async transform for a scroll thumb layer. r=kats
MozReview-Commit-ID: DFFcmBxzI84

--HG--
extra : rebase_source : 3fdd6a00215ba8bfc9a717d3ab0e7ba0e21d4700
2017-05-15 18:35:16 -04:00
Mike Hommey 3172b1d2a0 Bug 1365763 - Make all spidermonkey tasks depend on more file changes. r=sfink
I've been bitten by spidermonkey tasks not running on automation enough.
Anything that can have an influence on spidermonkey builds should
trigger them to build, not only js/ changes.

As it turns out, the sm-package task has a more complete list of things
spidermonkey depends on, so we just use that same list for all tasks.

--HG--
extra : rebase_source : 609ba99fadec0d024266975ce143a26e23bc0d78
2017-05-17 18:51:12 +09:00
Wes Kocher f79e5f62ee Merge m-c to autoland, a=merge UPGRADE_NSS_RELEASE
MozReview-Commit-ID: BKdEYXMvOS8
2017-05-17 15:08:03 -07:00
Wes Kocher 0a5ec26ac6 Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: 9BuuGYyJ3RJ

--HG--
extra : amend_source : 57de84460e0ace13892ff1623451b9b9be8eaeeb
2017-05-17 14:48:30 -07:00
Wes Kocher 154a821d07 Merge autoland to central, a=merge
MozReview-Commit-ID: 8mfsi6YK1Bu
2017-05-17 13:32:02 -07:00
Emilio Cobos Álvarez dbf5d921b5 servo: Merge #16911 - Bug 1365471: Check bool flags before going through FFI in a variety of situations. r=bz (from emilio:bits); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: bafaae75f47c169078132e761ed2dcfda9541a27

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 116b38e9b653ac5dfc128372e1c4e950a252831b
2017-05-17 14:45:55 -05:00
Sebastian Hengst 0f7e37f8da Backed out changeset 79027b4b7762 (bug 1365350) for frequently failing gecko decision task with 'Bad Request'. r=backout 2017-05-17 20:30:03 +02:00
ffxbld 399a95bd59 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-05-17 08:11:58 -07:00
ffxbld 4d10d237bc No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-05-17 08:11:55 -07:00
Carsten "Tomcat" Book f55349994f Backed out changeset 484c5137e19f (bug 1365194) to clean up spidermonkey 2017-05-17 11:44:17 +02:00
Carsten "Tomcat" Book 766c2581c8 Backed out changeset d8de424663b7 (bug 1365194) 2017-05-17 11:43:28 +02:00
Carsten "Tomcat" Book 9c3f61e278 Backed out changeset b56224bf370d (bug 1365194) 2017-05-17 11:43:26 +02:00
Carsten "Tomcat" Book d0e69c4bdb Backed out changeset 4b9c2fb40653 (bug 1365194) 2017-05-17 11:43:24 +02:00
Carsten "Tomcat" Book c994a231f0 Backed out changeset 9711f5bbda3b (bug 1365194)
--HG--
rename : memory/mozjemalloc/mozjemalloc.cpp => memory/mozjemalloc/jemalloc.c
2017-05-17 11:43:22 +02:00
Jon Coppeard e26d8d5744 Bug 1361458 - Generate the phase tree for GC statistics recording ahead of time r=sfink 2017-05-17 10:37:18 +01:00
Geoff Brown 04a5ab1720 Bug 1365621 - Allow specification of info categories for |mach test-info|; r=jmaher 2017-05-17 10:30:37 -06:00
Geoff Brown d3531a3682 Bug 1365621 - Display manifest info in |mach test-info|; r=jmaher 2017-05-17 10:30:36 -06:00
Geoff Brown 2006363898 Bug 1365621 - Allow multiple test arguments for |mach test-info|; r=jmaher 2017-05-17 10:30:34 -06:00
Geoff Brown d844ac12ec Bug 1364228 - Increase marionette startup timeout for Linux mochitests; r=ato
Our linux32-debug build is very slow to startup when running mochitests on aws.
Sometimes we see similar behavior on other linux platforms. Intermittently,
in this environment, startup takes longer than the 120 seconds that marionette
waits, resulting in test failures in bug 1261598. Increasing the marionette
startup timeout to 180 seconds appears to effectively avoid these failures.
2017-05-17 10:30:32 -06:00
Joel Maher 6f0a8de6e5 Bug 1365289 - update tabpaint addon to be signed. r=rwood
MozReview-Commit-ID: 8p7H7kD1cli
2017-05-17 11:53:19 -04:00
Andrea Marchesini c945c40e97 Bug 1313157 - Increase timeout for test_subworkers_suspended.html, r=gbrown 2017-05-17 17:18:14 +02:00
Mason Chang 31c2614b44 Bug 1340627. OS X XUL UI test to check for CG Borrow/Return CGContext r=lsalzman 2017-05-17 08:20:39 -07:00