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

578737 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew c70ab6cef4 Bug 1432552 - patch 2 - Linux font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew 9de316c207 Bug 1432552 - patch 1 - Add a getVariationInstances() method to InspectorFontFace. r=dholbert,bz 2018-01-29 13:24:11 +00:00
Jonathan Kew 82f83b9470 Bug 1433402 - Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var. r=jrmuizel 2018-01-29 13:24:11 +00:00
Andrea Marchesini b845f28538 Bug 1433625 - Implement console.createInstance().time("foo") correctly, r=smaug 2018-01-29 13:25:15 +01:00
sotaro 0fae93703a Bug 1413390 - Add PluginGeometryUpdates handling for WebRenderLayerManager r=jrmuizel 2018-01-29 20:55:09 +09:00
Olli Pettay 9a6985ae0c Bug 1433413 - Optimize IsEventTargetChrome, r=masayuki 2018-01-29 13:49:48 +02:00
Franziskus Kiefer 227ed43083 Bug 1432177 - land NSS 1b20549e1075 UPGRADE_NSS_RELEASE, r=me 2018-01-29 12:28:20 +01:00
Tooru Fujisawa dfb28054d0 Bug 1430979 - Wait for focus event in addition to FormReady event in formautofill tests. r=MattN 2018-01-29 19:15:11 +09:00
shindli 006d377043 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-29 12:00:28 +02:00
shindli 0d9139ed76 Merge inbound to mozilla-central. a=merge 2018-01-29 11:51:34 +02:00
Lars T Hansen f6b34b3652 Bug 1428453 : [MIPS] Implement hardware wasm traps support; patch=dragan.mladjenovic, r=luke, push=lth 2018-01-29 08:35:43 +01:00
Ryan VanderMeulen 9817997470 Bug 1433810 - Update pdf.js to version 2.0.303. r=bdahl
--HG--
extra : rebase_source : d1d477a8a5e45be69a6361b0fad49028f0fdc7a9
2018-01-28 16:54:07 -05:00
Andreea Pavel 6a22f05a91 Merge inbound to mozilla-central. a=merge 2018-01-28 23:48:41 +02:00
Andreea Pavel bb3066c3a1 Merge autoland to mozilla-central. a=merge 2018-01-28 23:45:15 +02:00
ffxbld bfe4421c0c No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2018-01-28 11:13:29 -08:00
ffxbld fa07960ab6 No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2018-01-28 11:13:25 -08:00
Coroiu Cristina 311adb3fa0 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-01-28 12:44:50 +02:00
Coroiu Cristina 11d0ff9f36 Merge inbound to mozilla-central. a=merge 2018-01-28 12:40:33 +02:00
Andrea Marchesini 2ced31c722 Bug 1425559 - nsPrompter must use nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
Andrea Marchesini 3eea0de148 Bug 1425559 - "content-child-will-shutdown" notification when the content process starts the shutting down, r=smaug 2018-01-28 08:41:36 +01:00
Andrea Marchesini a8a933a51f Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug
Currently nsIThreadManager::spinEventLoopUntil doesn't monitor the shutting
down. Firefox shutting down can be blocked by a 'broken' use of
nsIThreadManager::spinEventLoopUntil.
nsIThreadManager::spinEventLoopUntilOrShutdown should be used instead.
2018-01-28 08:41:36 +01:00
Aneesh Agrawal e8915e6153 servo: Merge #19884 - Fix mutation test in CI by passing env vars correctly (from aneeshusa:fix-mutation-test); r=jdm
Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary
since it was the first token in the command string, which won't work.

Fix this by using the `env` command to set the environment variables,
as there is currently no support for setting per-step environment variables
in the `buildbot_steps.yml` file.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- 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: 025e5d773313e16ffe73ae63efc068b79b82d531

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f1acdfbff9c0c0bf16dcf5ae029222b525e5169f
2018-01-27 23:38:04 -06:00
Gabriel Luong c84d4c1cac Bug 1428170 - Update Codemirror to 5.33.0. r=bgrins 2018-01-28 00:04:37 -05:00
Emilio Cobos Álvarez 20e931ee66 Bug 1433591: Test that dynamic changes properly affect hit-testing for elements that have anon boxes. r=bz
MozReview-Commit-ID: 3NfL4Lf7yOu
2018-01-28 05:30:24 +01:00
Emilio Cobos Álvarez f7d932d9fe Bug 1433591: Update the style of child anon box wrapper after owned anon boxes. r=bz
Since the former could inherit from the latter.

Test incoming in a followup.

MozReview-Commit-ID: LJjprcyjDyU
2018-01-28 05:11:07 +01:00
Kentaro Teramoto df454ec391 Bug 1421395 - change focus ring in console from gray dotted line to blue, change active input caret color to toolbar-checked-color. r=nchevobbe
MozReview-Commit-ID: 6fUAi4199Yb

--HG--
extra : rebase_source : a129539d28833ab097aa260615ab60698f7d1d80
2018-01-27 08:33:33 +09:00
Kit Cambridge b596b46b85 Bug 1433698 - Make trace logging for synced bookmark trees less noisy. r=markh
MozReview-Commit-ID: 1MSxKdsgsIu

--HG--
extra : rebase_source : 9fba0d942dd75c93d154918ceddf839b9d7b3d1e
2018-01-27 13:04:06 -08:00
Patrick Brosset a8606678b7 Bug 1424880 - Size the font for grid area names after the smallest dimension; r=gl
MozReview-Commit-ID: 7dWo8Fw6gwf

--HG--
extra : rebase_source : 6515bc23c1b4e80399ad5564aee525f76a3afc4d
2018-01-28 16:40:32 +01:00
Andreea Pavel ffa8d31f68 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-28 23:50:58 +02:00
Hiroyuki Ikezoe b9bff5b5e1 Bug 1415780 - Drop CollectDocuments in nsRefreshDriver.cpp. r=hiro
MozReview-Commit-ID: ETSPKpWDuI4

--HG--
extra : rebase_source : d535999aa9b68d816047f387993f366aeaf0aa45
2018-01-27 19:19:54 +09:00
Hiroyuki Ikezoe fedb7434fb Bug 1415780 - Call UpdateTiming() prior to remove the animtion from the timeline in Animation::CancelNoUpdate. r=birtles
Now AnimationEventDispatcher ensures that the refresh driver's next tick
happens for cancel event, so we don't need to re-observe the timeline
(it happens in UpdateTiming) once after removing the animation from the
timeline.

MozReview-Commit-ID: 7ivclmYIkPa

--HG--
extra : rebase_source : 286b3d5d29208496bfe8405819b44b5f52f6671c
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 175bc2d176 Bug 1415780 - Let AnimationEventDispatcher observe nsRefreshDriver. r=birtles
So that we can now ensure nsRefreshDriver ticks (i.e. nsRefreshDriver doesn't
stop its timer) for all queued events.
Before this patch, dispatching CSS animation/transition events relied on the
fact that DocumentTimeline observes nsRefreshDriver.  For this fact,
animationcancel or transitioncancel event did not dispatch properly in some
cases, i.e. the case where the animation was dropped from the DocumentTimeline.

MozReview-Commit-ID: 7JYro0MY2U2

--HG--
extra : rebase_source : 28c8e2a50d29c5344e2c5ca3c43af41f4692fa0f
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 7061542dd0 Bug 1415780 - Make AnimationEventDispatcher::SortEvents() private. r=birtles
Now we sort pending events only when dispatching the events, i.e.
only inside DispatchEvent().

MozReview-Commit-ID: BZbuF8gD39b

--HG--
extra : rebase_source : 2a90697356d980b1fd1329d34936eaef1179d12f
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 7828b6be59 Bug 1415780 - Let nsPresContext have AnimationEventDispatcher. r=birtles
Now we sort CSS animation/transition events by scheduled event time prior
to compositor order.

SortEvents() will be a private method in the next patch in this patch
series.

MozReview-Commit-ID: ICkOayquN0f

--HG--
extra : rebase_source : 405c8232e93c54a073c722a4332873af02daa870
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 21a53275cd Bug 1415780 - Make AnimationEventDispatcher refcountable. r=birtles
In a subsequent patch in this patch series, we want to make nsPresContext
have an AnimationEventDispatcher as RefPtr<>.

Instead, if we were trying to make nsPresContext have the
AnimationEventDispatcher as data object (not RefPtr<>) just like we did in
CommonAnimationManager, we will fall into header inclusion hell since Element.h
includes nsPresContext.h and AnimationEventDispatcher.h ends up including
Element.h.  Even if we could solve the inclusion hell, we will suffer from Rust
bindgen issues for some reasons.

MozReview-Commit-ID: B0nX2JzIRJD

--HG--
extra : rebase_source : 4eb998876b2fc39de8d09cac09c19e1a51cd382e
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 75fc208a71 Bug 1415780 - De-templatize AnimationEventDispatcher. r=birtles,masayuki
Now single AnimationEventDispatcher can handle both CSS animation/transition
events simultaneously.  To do this we had to change AnimationEventInfo and
TransitionEventInfo into a single struct, the struct is also named
AnimationEventInfo.

It results we can sort both CSS animation/transition events altogether.  Thus
we make sure CSS animation/transition events are sorted by scheduled event time
prior to their composite order (i.e. transitions is prior to animations).

At this moment, we don't sort both events altogether since nsAnimationManager
and nsTransitionManager has an AnimationEventDispatcher respectively.  In the
next patch we move AnimationEventDispatcher into nsPresContext, i.e. each
document has an AnimationEventDispatcher without the distinction between
CSS animations and transitions.

Note that, after this patch, we copy all members in InternalTransitionEvent and
InternalAnimationEvent in the copy-constructor of AnimationEventInfo, this
will be fixed once WidgetEvent has move-constructor and move-assignment
(bug 1433008).

MozReview-Commit-ID: 5JAh6N7C6ee

--HG--
extra : rebase_source : 50da76f51cf65cdd1245d93d8b48aaf0ae0ec94b
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 45ef4d82a6 Bug 1415780 - Split AnimationEventDipatcher into an independent file. r=birtles
MozReview-Commit-ID: Fcqtu7G400Z

--HG--
extra : rebase_source : 50de08148dcd4e4db0ea9a9ad1b501718852ca78
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 7fd0af8304 Bug 1415780 - Rename DelayedEventsDispatcher to AnimationEventDispatcher. r=birtles
We plan to use this class to dispatch web animation API events as well
(bug 1354501).

MozReview-Commit-ID: 7DMmc0aJzJ5

--HG--
extra : rebase_source : 445428771238ad31697cede8afbab35c1144a422
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe 0340a8a1ca Bug 1415780 - Drop the comment for nsAnimationManager::DispatchEvents(). r=birtles
The comment is no longer correct since bug 1180125.

MozReview-Commit-ID: A4NWgmwAOFt

--HG--
extra : rebase_source : 57471f99bcbef86bf211692eee8cf06513f4b60a
2018-01-27 21:17:26 +09:00
Hiroyuki Ikezoe 2bb54f7aa1 Bug 1415780 - Move AnimationCollection::PseudoTypeAsString into nsCSSPseudoElements. r=birtles
It's not need to be a template function since the function is independent from
AnimationType.

MozReview-Commit-ID: 13WkRIfaQbZ

--HG--
extra : rebase_source : 5df3eb22dc2785b43718f388a9a32915a18c8be2
2018-01-27 21:17:26 +09:00
Hiroyuki Ikezoe 357f94c98c Bug 1415780 - Don't count all observers for nsRefreshDriver. r=smaug
We just need information whether there is still an observer or not in most
cases.  The only case we need to know the count is in an assertion in the
dtor of nsRefreshDriver.  In the dtor we are checking there remains no
observers other than early runners.

Note that the order in HasObserver() was adjusted to reflect that we check
boolean flag first (mViewManagerFlushIsPending) and subsequently check observer
which is likey happen to.  mFrameRequestCallbackDocs should have checked prior
to mResizeEventFlushObservers though.

MozReview-Commit-ID: E1qplusqw1Y

--HG--
extra : rebase_source : ebd9e6eb08952df954c55860638233c9a8729856
2018-01-27 21:17:26 +09:00
Hiroyuki Ikezoe f4d1fdc0b1 Bug 1415780 - Undef GetCurrentTime in the template function that uses Animation::GetCurrentTime. r=birtles
MozReview-Commit-ID: DaOZtYRx4Ud

--HG--
extra : rebase_source : 40f4465e39e5cc0d846989ab25bf264547778aac
2018-01-27 21:17:26 +09:00
Tom Ritter 59cfa9d5ce Bug 1432319 Bump MinGW version to incorporate Process Mitigation structs needed by the sandbox r=froydnj
MozReview-Commit-ID: HnYuQa8DflY

--HG--
extra : rebase_source : ed06ff4ffc4938a861afaec833537676e32e1907
2018-01-27 19:44:45 -06:00
CYBAI 1824d90740 servo: Merge #19889 - script: Move `style` as Element method (from CYBAI:style-inside-element); r=emilio
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19886
- [x] These changes do not require tests because it should not break anything

Source-Repo: https://github.com/servo/servo
Source-Revision: 64c514ac3a54254720440d869c1c739f7b2a6802

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 11acd8b191d15e680de77e244c9127ad8f95c100
2018-01-28 12:00:45 -06:00
Aneesh Agrawal 0e0e7a2324 servo: Merge #19882 - Move global CI environment variables to servo (from aneeshusa:move-global-env-vars-to-servo); r=jdm
Migrate RUST_BACKTRACE out of saltfs.
SCCACHE_IDLE_TIMEOUT has already been migrated.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- 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: 1cb824d48e832b2e11b5e7341b188ad579b43111

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1cc4d753a0a36683d0665a6adb7fd68d1fa5f65a
2018-01-28 11:01:23 -06:00
Aneesh Agrawal 36105822c1 servo: Merge #19883 - Re-enable sccache for Linux builds (from aneeshusa:reenable-sccache-partially); r=jdm
As far as I know, sccache is working properly
on the non-cross-compiling Linux builders.
For safety, only enable it for the builders that run on PRs,
to avoid breaking our nightly generation and scheduled test runs.

This will also allow testing new versions of sccache more easily.
This implements my suggestion from https://github.com/servo/servo/pull/19858#issuecomment-360514782, and should also let us
handle testing a new sccache: https://github.com/rust-lang/rust/issues/42867#issuecomment-358692077 (our current version of sccache [seems to be 2018-01-09](f50214b8fa/servo-build-dependencies/ci-map.jinja (L5))).

<!-- 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: -->
- [ ] `./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
- [x] These changes do not require tests because they change the CI configuration

<!-- 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: 78ffce1cbe5fcce4d057b69c3cbf0cd2bc2b449c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 04b98e4452ebe655c59d54f42827b6f3c29b0cd9
2018-01-28 10:17:02 -06:00
Jon Leighton ec2ff2cabb servo: Merge #19881 - Add layout RPC query for getting an element's style (from jonleighton:issue-19811); r=emilio
This enables us to implement Element::has_css_layout_box() in a more
direct way, and also enables us to remove some of the existing more
specific queries.

Fixes #19811.

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 2a46067587d63aec176621ab3b6112ef5200a248

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 715f36d9bedb88b8bba29eff16913cb31a426305
2018-01-28 05:52:56 -06:00
Nico Grunbaum c4a0cebf58 Bug 1433576 - bring rtp sources js timestamp and timebase up to spec r=jib
MozReview-Commit-ID: 2joFQ41NaMp

--HG--
extra : rebase_source : e424cbbeb00d0b152609a4390d43d5ca6e4aceb7
2018-01-26 13:40:30 -08:00
J.C. Jones c2ff67b667 Bug 1433525 - Web Authentication Client Data needs the "type" field r=keeler,smaug
The Web Authentication CollectedClientData is missing the type field, which
is just a simple string. (The editor's draft also removes hashAlgorithm, but
let's not get ahead of ourselves...)

Add in that simple string. This was found at interop testing.

MozReview-Commit-ID: DlawLyHTYhB

--HG--
extra : rebase_source : 6cdd8e14161dc4aea5bfd1baf60c7384219ba951
2018-01-26 10:41:37 -08:00
Jan Beich 9f9d8720a3 Bug 1433395 - FreeBSD bootstrap: install LLVM as Mesa dependency. r=froydnj
Firefox generally supports the same range of LLVM versions as Mesa.
Instead of regularly updating it just pull Mesa drivers which will
be required by WebRender, anyway.

MozReview-Commit-ID: DiK4TD9tWe0

--HG--
extra : rebase_source : 5dd9c8c46ae79deee8f2fd887b27fddbc30fc22d
2018-01-25 10:27:51 +00:00