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

536590 Коммитов

Автор SHA1 Сообщение Дата
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
Kris Maglione cdcfb4139e Bug 1365706: Use a special set of startup data when running in safe mode. r=rhelmer
MozReview-Commit-ID: DcRnYu3rNot

--HG--
extra : rebase_source : d72ad915b93733cb8f7e19cca4312ffbc3fd7660
2017-05-17 12:55:42 -07:00
Bill McCloskey 8adfa773bb Revert "Bug 1363877 - Label IPC shmem messages as SystemGroup (r=dvander)" for valgrind failures
This reverts commit 1f7a7e259501b47a014959049e2ed069fe2fd9b8.
2017-05-17 12:58:35 -07:00
David Major ce4248324c Bug 1365415: No need to hook LdrResolveDelayLoadedAPI on Win7, it doesn't exist. r=mstange
--HG--
extra : rebase_source : 3ba5eee05ca2bf7e50e6c8fb1fd29a8e4ab32686
2017-05-17 15:26:13 -04: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
L. David Baron 60cfc710b2 Bug 1365443 - Unbreak wildcard rules in GECKO_DISPLAY_REFLOW_RULES_FILE. r=emilio
This restores the code to what it was doing prior to bug 1360241 (where
the else to add to mWildRules was an else of a test of fType), but then
removes the unnecesary null-check on the result of GetFrameTypeInfo.

MozReview-Commit-ID: EOPumJoKrIs

--HG--
extra : transplant_source : %E4%C8%A7%21%98%FAx%C7%1E%A5%0D%B5-%C5%BA%80%D4%1C%A8M
2017-05-17 11:59:56 -07: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
Carsten "Tomcat" Book 921529ef63 Backed out changeset 4553b67c794f (bug 1365473) for breaking spidermonkey with illegal token on right side of..
--HG--
rename : memory/mozjemalloc/mozjemalloc_types.h => memory/mozjemalloc/jemalloc_types.h
2017-05-17 11:31:32 +02:00
Carsten "Tomcat" Book 6bd33f52d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
Cervantes Yu 686a8d81ef Bug 1365203 - Test cases for annotating name of base::Thread in the crash reporter. r=gsvelto
MozReview-Commit-ID: Es8ikFOj8iF

--HG--
extra : rebase_source : 35fa348ed0a944194a1197873ba33c239633d3f5
extra : amend_source : 4e41cc823dc6c85279f9dbd49ef7adcd0a8d12b3
2017-05-17 14:25:28 +08:00
Cervantes Yu 26a4bb3385 Bug 1365203 - Annotate name of base::Thread in the crash report. r=gsvelto
This adds the call NS_SetCurrentThreadName() to the thread created using
base::Thread (e.g. the Compositor thread) so that the name gets annotated in the
crash report and displayed on socorro.

MozReview-Commit-ID: 9bNeHlhbicA

--HG--
extra : amend_source : a7c0c09e7fa057df4c0e212e1579961c3f9617b1
extra : histedit_source : 8919f69bc68861858105efed12cc0a37404b38b0
2017-05-17 14:25:09 +08:00
Carsten "Tomcat" Book 4603014981 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Carsten "Tomcat" Book b5eb8a2a1b Backed out changeset be04f96bf78b (bug 1347791) 2017-05-17 08:11:09 +02:00
Carsten "Tomcat" Book 771b1095ef Backed out changeset 37d295d7eec9 (bug 1347791) 2017-05-17 08:11:07 +02:00
Carsten "Tomcat" Book c60f5362f4 Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
Alan Jeffrey 0412b67dd7 servo: Merge #16876 - Renamed constellation::Frame to constellation::BrowsingContext (from asajeffrey:constellation-rename-frames); r=cbrewster
<!-- Please describe your changes on the following line: -->

Now that script has `WindowProxy` rather than `BrowsingContext` objects, we can rename `Frame` in the constellation to `BrowsingContext`. In particular, this means that `FrameId`s are now `BrowsingContextid`s, which better captures their purpose (and they are used in a lot of places, not just the constellation).

---
<!-- 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 do not require tests because renaming

<!-- 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: 837531992864f920342020462830b933d5ed0280

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c73d366cabd57d2776dbe787880f363ce7bae144
2017-05-16 23:10:45 -05:00
JW Wang 39a57b5d00 Bug 1365484 - Remove the call to AbstractThread::GetCurrent() in Benchmark.cpp. r=gerald
See bug 1365483 for the rationale.

MozReview-Commit-ID: ITKtWISQ3A3

--HG--
extra : rebase_source : 0bc0521ad8a00e643dcd762c495b6fb5f4ae3ecb
2017-05-17 13:56:40 +08:00
Oriol 3ada647c06 Bug 1364082 - Improve test about file save in JSON Viewer. r=Honza 2017-05-16 03:46:00 -04:00
Andrea Marchesini b203932e2d Bug 1364297 - Use nsString instead nsCString for Worker names, r=smaug 2017-05-17 16:49:34 +02:00
Andrea Marchesini 7453988cd7 Bug 1364297 - Worker and SharedWorker constructors have an optional WorkerOptions parameter, r=smaug 2017-05-17 16:48:54 +02:00
Jonathan Kew 54fe5f66e7 Bug 1365356 - patch 4 - Split low-level nsIFrame methods taking an optional nsStyleDisplay pointer into two versions, one taking a (non-null) nsStyleDisplay parameter, so we can bypass StyleDisplayWithOptionalParam and its null-check + branch in hot calls. r=mats 2017-05-17 15:47:42 +01:00
Jonathan Kew fef41b2663 Bug 1365356 - patch 3 - Allow callers to pass an nsStyleDisplay to GetContainingBlock (and IsAbsolutelyPositioned, which it calls) if they have it on hand, to avoid internal calls to StyleDisplay(). r=mats 2017-05-17 15:47:36 +01:00
Jonathan Kew 6d345e8ee2 Bug 1365356 - patch 2 - Allow callers to pass an nsStyleDisplay in to FinishAndStoreOverflow, to avoid internal StyleDisplay() calls. r=mats 2017-05-17 15:47:31 +01:00