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

574222 Коммитов

Автор SHA1 Сообщение Дата
Aki Sasaki 4d23576876 bug 1425215 , bug 1417697 - version bump idempotency that supports relbranches. r=rail
MozReview-Commit-ID: DosTZiDDh8l

--HG--
extra : rebase_source : 9c59a0b8a4633752777ea1f433acfe579b7a6549
extra : source : 565a6a19faa15e210e1c38881f160e0897cc5600
2017-12-15 13:01:39 -06:00
Alex Chronopoulos ada70b6339 Bug 1418694 - Use channel layout to avoid failures when default layout is not set. r=padenot
MozReview-Commit-ID: FzdJQYi35yQ

--HG--
extra : rebase_source : b8460d156ea933d2f87982e38d23502bba7226e1
2017-12-15 18:02:39 -06:00
Martin Stransky ed49bfcfee Bug 1425820 - build fix of SetImageDataFromBackBuffer definition/call, r=jhorak
MozReview-Commit-ID: 7NJMCdhd400

--HG--
extra : rebase_source : bd72e00090af03c285cdd16b0a05106c3fd7e6c6
2017-12-18 11:53:30 +01:00
Sean Lee 2e627003a7 Bug 1404769 - The documentation of FormAutofill feature and FormAutofillHeuristics module. r=MattN
MozReview-Commit-ID: Dab8KunXHK2

--HG--
extra : rebase_source : 3d14ab701145897b02001ebbc942e914968c0d30
2017-11-07 16:32:38 +08:00
Sean Lee a0dbd4d8fc Bug 1406585 - Close the autocomplete popup when the crash of a content page or Message Manager disconnection happens. r=MattN
MozReview-Commit-ID: DjSc4R0WBQP

--HG--
extra : rebase_source : 81a6b0ad63673b284f34763a2e4992a47ba8f8d5
2017-11-10 17:00:33 +08:00
Alexandre Poirot adeffba1c4 Bug 1415472 - Document writing new DAMP test. r=sole
MozReview-Commit-ID: vlhuov077c

--HG--
extra : rebase_source : 15ac47b53494d2daac74082c336d6de4e9c0e9bb
2017-12-11 06:07:10 -08:00
Cosmin Sabou 4dfa28f2f0 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-18 11:55:42 +02:00
Cosmin Sabou f0ab0b072a Backed out 2 changesets (bug 1424834) for leaks at netwerk/dns/nsHostResolver.cpp:352 r=backout a=backout
Backed out changeset 2503df83bbd9 (bug 1424834)
Backed out changeset 49cc08386f17 (bug 1424834)
2017-12-18 11:52:06 +02:00
Cosmin Sabou cf90bf7a74 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-18 11:46:13 +02:00
Cosmin Sabou 4d17a4cc2e Backed out 4 changesets (bug 1425771) for ESlint failure r=backout on a CLOSED TREE
Backed out changeset 984d714aa987 (bug 1425771)
Backed out changeset 848047469b27 (bug 1425771)
Backed out changeset a28293b06afe (bug 1425771)
Backed out changeset 14c5ca99af0c (bug 1425771)
2017-12-18 08:37:10 +02:00
Noemi Erli 0605fd9d76 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-17 23:48:22 +02:00
Noemi Erli 197aaefc45 Merge autoland to mozilla-central r=merge a=merge 2017-12-17 23:42:42 +02:00
ffxbld 869f194506 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-17 10:58:36 -08:00
ffxbld c9d95edd9f No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-12-17 10:58:33 -08:00
tigercosmos 4ec4c9eede servo: Merge #19589 - remove unused `Auto` in test of serialization (from tigercosmos:e1); r=emilio
<!-- Please describe your changes on the following line: -->
```
warning: unused import: `Auto`
 --> /Users/tigercosmos/servo/tests/unit/style/properties/serialization.rs:9:40
  |
9 | use style::values::{CustomIdent, RGBA, Auto};
  |                                        ^^^^
  |
  = note: #[warn(unused_imports)] on by default
```

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9eaaf02d839c57eb3aaf95a98dcb12394b3602d0
2017-12-17 11:51:10 -06:00
Jan de Mooij b1e0ae2573 Bug 1420462 - Fix rooting hazard. r=red 2017-12-16 21:49:40 -06:00
Jan de Mooij 26beafba66 Bug 1420462 - Add an EnumerableOwnProperties fast path for unboxed objects. r=anba
--HG--
extra : rebase_source : bf36e7381b1b6ef4ed6a898c6625ab437febd8df
2017-12-16 20:43:52 -06:00
Coroiu Cristina cf5c1f8db6 Merge mozilla-central to mozilla-inbound. r=merge
--HG--
extra : amend_source : 198dee9af9b4902873b814a9a64c05049cca564f
2017-12-17 00:42:08 +02:00
Jan de Mooij f7105f3f2e Bug 1412420 - Ensure upper bits are zeroed when calling a function that returns int32. r=nbp 2017-12-16 16:22:13 -06:00
Coroiu Cristina a3f83e3825 Merge autoland to mozilla-central r=merge a=merge 2017-12-17 00:12:51 +02:00
Zibi Braniecki c18a5d5ba2 Bug 1425689 - Move search-plugin resource entry to fennec's chrome jar.mn. r=nalexander
MozReview-Commit-ID: F9cFX7vtXMB

--HG--
extra : rebase_source : 250ac7bd5aa15f7a874f8a827e0d9679a53b735e
2017-12-16 13:24:59 -06:00
Hiroyuki Ikezoe 83ec4ebbf0 Bug 1425771 - Add a branch in only_one_restyling_after_finish_is_called for the conformant Promise handling. r=birtles
Animation.finish() in a micro task for Animation.ready leads to a restyle and
a redundant restyle due to bug 1415457.  The redundant restyle has been observed
in a single frame without the conformant Promise handling.  But once we have the
conformant Promise handling we can tell it in a later frame.
(see https://bugzilla.mozilla.org/show_bug.cgi?id=1415457#c1 to know what's
going on there)

MozReview-Commit-ID: FoojunfYZ6k

--HG--
extra : rebase_source : 2820dce4513329fb648ef387d58cac469f680a6d
2017-12-18 14:19:39 +09:00
Hiroyuki Ikezoe 8d960ec192 Bug 1425771 - Tweak expected restyle count for the case where the animation begins at the current time. r=birtles
The expected restyle count depends both on animation state and micro task
handling.

If we have the conformant Promise handling and if the animation begins at the
current time, we will observe 1 less restyles than observed frames since we
skip the first restyle in the initial frame.  This represents correctly what
we do and what we *should* do.

If we don't have the conformant Promise handling and if the animation doesn't
begin at the current time, we will observe 1 more restyles than obsered frames
since the Promise in observeStyling (precisely the Promise is inside the
callback for requestAnimationFrame) is fulfilled once after a restyling process
followed by the requestAnimationFrame.

MozReview-Commit-ID: FLhSRx4y1V7

--HG--
extra : rebase_source : 59e2bb2439f69bc1415a441c0b84a81463d8229f
2017-12-18 14:19:26 +09:00
Hiroyuki Ikezoe 71ad758afd Bug 1425771 - Add a another variant of restyling_transform_animations_in_scrolled_out_element for the conformant Promise handling. r=birtles
The test case checks document timeline's currentTime to make sure that we are
in the first frame which happened after 200ms since the animation started.  It
is unfortunate for us from the point of view of restyling that the first frame
includes the restyling process in the frame without the conformant Promise
handling, doesn't include the process with the Promise handling.  So we need
to tweak there depends on the Promise handling.

I did intentionally add the forked version of the function with the same name
since branching depending on the conformant flag inside the original function
will be hard to understand and also we can easily remove the original version
once we have the conformant Promise handling.

FWIW, here is the diff between them:

@@ -365,6 +365,9 @@ waitForAllPaints(() => {

       await SpecialPowers.pushPrefEnv({ set: [["ui.showHideScrollbars", 1]] });

+      // Make sure we start from the state right after requestAnimationFrame.
+      await waitForFrame();
+
       var parentElement = addDiv(null,
         { style: 'overflow-y: scroll; height: 20px;' });
       var div = addDiv(null,
@@ -379,13 +382,17 @@ waitForAllPaints(() => {
       var markers;
       var now;
       while (true) {
-        markers = await observeStyling(1);
-        // Check restyle markers until 200ms is elapsed.
         now = document.timeline.currentTime;
         if ((now - timeAtStart) >= 200) {
+          // If the current time has elapsed over 200ms since the animation was
+          // created, it means that the animation should have already
+          // unthrottled in this tick, let's see what observes in this tick's
+          // restyling process.
+          markers = await observeStyling(1);
           break;
         }

+        markers = await observeStyling(1);
         is(markers.length, 0,
            'Transform animation running on the element which is scrolled out ' +
            'should be throttled until 200ms is elapsed');

MozReview-Commit-ID: 3WfY6aVnsXk

--HG--
extra : rebase_source : ddf51217f03fc1bfe421c344a7a7811dc591a9af
2017-12-18 14:18:17 +09:00
Hiroyuki Ikezoe 25e6b9fd45 Bug 1425771 - Add a function to check detect whether have conformant Promise handling and set the flag to represent it. r=birtles
MozReview-Commit-ID: FbzaUBKQ47F

--HG--
extra : rebase_source : ae936432d4ccb3e069608703c586d7134d52d12e
2017-12-18 14:17:44 +09:00
ffxbld ad5a9a2eb7 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2017-12-16 10:39:47 -08:00
ffxbld 0e3e215a27 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-16 10:39:43 -08:00
ffxbld d762c29622 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-12-16 10:39:40 -08:00
Csoregi Natalia 3ec05888ca Merge inbound to mozilla-central r=merge a=merge 2017-12-16 11:37:48 +02:00
Jean-Yves Avenard ec469fdddc Bug 1425608 - Don't delete AutoTaskQueue::mTaskQueue on the main thread. r=gerald
MozReview-Commit-ID: I2R4OYB0Jyc

--HG--
extra : rebase_source : 1b8c1caffef91b5888b04b336bd20a74df6711a1
2017-12-16 00:46:49 +01:00
Jean-Yves Avenard 6258e4b122 Bug 1425631 - Reduce global threads count. r=jya
MozReview-Commit-ID: JWPH6DRg1k7

--HG--
extra : rebase_source : 5a05a3de3123db26ac2facb0e6ffdf6f9a0815f0
2017-12-15 21:45:35 +01:00
Jean-Yves Avenard 5fad4bec6e Bug 1404997 - P27. Name TaskQueue for debugging purposes. r=gerald
MozReview-Commit-ID: KqW8IHNtUZq

--HG--
extra : rebase_source : d238d004006339edb988f2ea0e179c2dcc854be3
2017-12-16 00:07:42 +01:00
Jean-Yves Avenard 9c5a09051e Bug 1404997 - P26. Give Await the threadpool to use. r=gerald
This allows to re-use the SharedThreadPool across calls, preventing the need to create a new thread on each call.

MozReview-Commit-ID: CbP6OTYKhHL

--HG--
extra : rebase_source : 969f2c74f00614d6265fe0e25abfb36c9648d564
2017-12-15 20:06:38 +01:00
Jean-Yves Avenard 19542f34d4 Bug 1404997 - P25. Add MSG and WebRTC MediaThreadType. r=gerald
Additionally, remove no longer relevant MediaThreadType documentation as all MediaDataDecoder API are now asynchronous and we no longer have cancellable taskqueues.

MozReview-Commit-ID: 1F0YUhNniAn

--HG--
extra : rebase_source : 7b93ef24f91ccc21537e78bbb8a2d82bafacd29e
2017-12-15 18:39:33 +01:00
Jean-Yves Avenard 998881b06e Bug 1404997 - P24. Make AutoTaskQueue deliver runnables to nsIEventTarget. r=gerald
Similar to bug 1300118 for TaskQueue.

MozReview-Commit-ID: 8jIifvs2r4U

--HG--
extra : rebase_source : f1c8ab791fa853c4d69cfb8791a418654a5d4142
2017-12-15 18:14:02 +01:00
Masayuki Nakano 59ff865ade Bug 1425390 - part 2: Make the constructor of CompositionTransaction take TextComposition to reduce its arguments r=m_kato
Most arguments of the constructor of CompositionTransaction are now stored by
EditorBase::mComposition.  So, making it take TextComposition reduces the
number of its arguments.

Note that this patch doesn't make it retrieve TextComposition with
EditorBase::GetComposition() for guaranteeing that the editor has non-nullptr
mComposition.

MozReview-Commit-ID: 3O5wL52UBUy

--HG--
extra : rebase_source : 7f48465ef3f2f040e8c526fb7837060ecb6c9147
2017-12-15 16:45:41 +09:00
Masayuki Nakano 6e8192fd45 Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato
EditorBase stores a text node, offset in it and length in it of composition
string directly.  However, this wastes memory space if user never uses IME
or user only sometimes uses IME.  Additionally, storing all data in
TextComposition is better than current design when other classes like
CompositionTransaction wants some information of both EditorBase and
TextComposition.

This patch moves those 3 members from EditorBase to TextComposition.

MozReview-Commit-ID: 4N7wmGGfxmt

--HG--
extra : rebase_source : bd7cb37fe9631b959ec21da40c20751fec269dca
2017-12-15 13:14:51 +09:00
Brian Birtles f464fbbad3 servo: Merge #19580 - Update references to Web Animations spec (from birtles:update-web-animations-link); r=hiro
This has been reviewed in [Gecko bug 1425548](https://bugzilla.mozilla.org/show_bug.cgi?id=1425548).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : be54a712cafe4eb7fb42bc073bd687f6fd0220cb
2017-12-15 17:39:55 -06:00
Cosmin Sabou 2d8d0b4c2c Backed out 3 changesets (bug 1423425) for frequent browser chrome failures r=backout on a CLOSED TREE
Backed out changeset c3ac950b0b8a (bug 1423425)
Backed out changeset d64fd69a4b88 (bug 1423425)
Backed out changeset 04017639642a (bug 1423425)
2017-12-16 02:45:41 +02:00
Miko Mynttinen 03b4894819 Bug 1425271 - Improve temporary display item removal r=mattwoodrow
MozReview-Commit-ID: FBDuGice0DU

--HG--
extra : rebase_source : 3e932e2851d9f706e11c56156a5bc48a2df8b1c2
2017-12-15 16:33:03 -06:00
Jean-Yves Avenard 1769747959 Bug 1404997 - P23. Strongly enforced that our destination buffer is big enough. r=padenot
MozReview-Commit-ID: A1kLsH75SzX

--HG--
extra : rebase_source : bcc4460507638ef36986ad519e48ba2d4596f4cf
2017-12-13 18:44:30 +01:00
Jean-Yves Avenard 485b10a8b0 Bug 1404997 - P22. Make mConduit release on main thread consistent. r=pehrsons
There's no need for a custom class to perform this task.

MozReview-Commit-ID: JxpDQVM97fl

--HG--
extra : rebase_source : 8387efa0ed3add9e4a42daed98e97372d9cabee5
2017-12-11 00:32:00 +01:00
Jean-Yves Avenard 0c03c673b3 Bug 1404997 - P21. Make MediaPipelineReceiveAudio listener asynchronous. r=pehrsons
We keep the synchronous version that will be used in bug 1424653

MozReview-Commit-ID: JTGaRYm20ca

--HG--
extra : rebase_source : aa694b7ac4f03322edbdefd64cefd198c0909cec
2017-12-11 00:16:24 +01:00
Jean-Yves Avenard 1fc0ccabbd Bug 1404997 - P20. Make MediaStreamListener::NotifyPull asynchronous. r=padenot
The operations is done in two ways:
1- Process all the MediaStreamListener at once, which returns a promise that will be resolved once the operation is completed.
2- As the Cubeb audio callback must be resolved immediately, the MSG will wait for all the promises to be resolved until it continues the operation of feeding the callback the necessary data.

This will allow to parallelize the stream's tracks' audio decoding.

MozReview-Commit-ID: EeoDvxnJyWV

--HG--
extra : rebase_source : 3d09af5aa3c80c4892a4d9af80842541d8fc33bb
2017-12-10 21:33:43 +01:00
Jean-Yves Avenard c32881f98c Bug 1404997 - P19. Use new Await method with WebrtcMediaDataDecoder. r=gerald
MozReview-Commit-ID: nRQL312aDE

--HG--
extra : rebase_source : d63e120d24ab4e7f10843387b321fa2ed05f5af3
2017-12-08 17:30:28 +01:00
Jean-Yves Avenard 95126c57ea Bug 1404997 - P18. Add Await convenience methods. r=gerald
Takes either a MozPromise or an AllPromiseType and will execute the resolve/reject functions synchronously once the promise has resolved/rejected.

MozReview-Commit-ID: EyfMTPtA1Lu

--HG--
extra : rebase_source : 780ab41307158d7887cd76782e43693079f78c91
2017-12-08 13:35:29 +01:00
Nevin Chen 903f8af32b Bug 1424179 - Hide PWA badge when site identity updates to mix content. r=walkingice
https://m.aliexpress.com is a good target to test. But it sometimes show mixed content, sometimes not.
I also chnage the check when adding a PWA shortcut. Only fail fast in nightly and local build.

MozReview-Commit-ID: 4sLoNERIYuW

--HG--
extra : rebase_source : 18663f8aafa5029afa1dd443cb9029ad3dd44abd
2017-12-08 15:07:42 +08:00
Simon Sapin 200ff11a39 servo: Merge #19590 - Use [patch] instead of [replace] (from servo:patch); r=SimonSapin
CC https://github.com/servo/webrender/pull/2215

Also, `[replace]` prevented using `[patch]` for other crates. (Cargo forbids using both.)

Source-Repo: https://github.com/servo/servo
Source-Revision: 3a37d8093108b66fb3edc212c97551738450c402

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 446a416f4a7c2e85487eb7cc00731adf09d7982a
2017-12-17 15:18:05 -06:00
Jean-Yves Avenard 8ee5b6a296 Bug 1404997 - P17. Split ExtractPendingInput into two methods. r=padenot
There were two steps happening inside ExtractPendingInput:
1- Retrieve the data from the StreamTracks
2- Process any pending pending states change

We split it so that the retrieval from the StreamTrack can be promisified in an upcoming change

MozReview-Commit-ID: 53O4fXWMDGL

--HG--
extra : rebase_source : da082fa8db3a9029dc05d845cb9f58514f5ffcff
2017-12-07 20:52:56 +01:00
Nicholas Nethercote 42f4510bf1 Bug 1424030 - Fix integer overflow of places.database.lastMaintenance in testing/profiles/prefs_general.js. r=standard8.
Bug 1382444 added this line to testing/profiles/prefs_general.js:

> user_pref("places.database.lastMaintenance", 7258114800);

(7258114800 seconds after 1970 is the start of the year 2200.)

libpref stores integers prefs as int32_t and the current parser doesn't detect
overflow. So this overflows to -1331819792. (I detected this with the new prefs
parser from bug 1423840, which does detect integer overflow.) As a result the
condition testing this pref in
toolkit/components/places/PlacesCategoriesStarter.js ends up always succeeding
in tests, which is the exact opposite of what was intended.

This patch changes it to 2147483647 (the year 2038), the maximum int32_t value.

MozReview-Commit-ID: LJQmMqQ9hFL

--HG--
extra : rebase_source : 84339c8e721abd47cb3cc85c3923a04417b1bbee
2017-12-08 06:47:28 +11:00