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

536696 Коммитов

Автор SHA1 Сообщение Дата
Timothy Guan-tin Chien d40c6eb2c0 Bug 1365869 - Bug 1365869 - Better contrast comparison for Selection#setColors(). r=masayuki
Instead of hardcoding a color-to-compare, compare the contrast between
the text and the background color v.s. text and the alternative
background color, and use the color that has better contrast.

MozReview-Commit-ID: D90047Y0Xst

--HG--
extra : rebase_source : cc0bd290930dbb11f464aa434b7606bab268627a
2017-05-18 16:49:51 +08:00
Sebastian Hengst aafad4390c Backed out changeset 86af05828caf (bug 1358946) for Android bustage in SafeIntent.java. r=backout 2017-05-18 13:54:07 +02:00
cnevinc edd2beae07 Bug 1358946 - Strip about:reader in intent data uri. r=maliu
MozReview-Commit-ID: AQ8txBAbtUr

--HG--
extra : rebase_source : 96f9a73ced0a0a8d948e8fe89f3e15fc9780b9d6
2017-05-05 13:24:51 +08:00
Gerald Squelart c2ff0b715a Bug 1365534 - Close temp file in FileBlockCache thread - r=cpearce
Closing the temporary file was done in the FileBlockCache destructor, which is
called on the main thread.

Instead, we are now dispatching a new final task from Close, which will close
the temporary file and then shutdown the thread.
The thread and FD ownerships are transferred to that final task, so that no
more tasks may be unexpectly queued to that thread, and both members can
immediately be reused after Close() returns.

MozReview-Commit-ID: L9djYGhDFn4

--HG--
extra : rebase_source : bedad374454ec94966d10552b8aea26c8997fbb9
2017-05-17 16:00:39 +12:00
Gerald Squelart 42e3e6f1db Bug 1365534 - In non-e10s, open temp file in FileBlockCache thread - r=cpearce
In a parent process, the temporary file was created and opened by calling
NS_OpenAnonymousTemporaryFile() from Init, which was called from the main
thread.
In addition to being called at least once when the first media file is fetched,
it may also be called if caches need to be emptied.

So it should help to move this operation on the FileBlockCache thread, if only
to remove potential background-hang reports from non-e10s configurations.

MozReview-Commit-ID: CjPsHEsL3Ch

--HG--
extra : rebase_source : beaa2793dea82d853669d87c9434139d88562da9
2017-05-17 15:30:32 +12:00
Gerald Squelart 1173cd8973 Bug 1365534 - Remove unneeded IsMainThread assertions - r=cpearce
SetCacheFile, Init, Close, and MoveBlock all had NS_IsMainThread() assertions.
However they all use Monitor's to access member data, so they should be thread-
safe.
(Upcoming patches will actually start using some of these functions from non-
main-threads.)

MozReview-Commit-ID: E1auNEXuoF9

--HG--
extra : rebase_source : 41af7d16f8a9bde5492e864712981a208f3b47be
2017-05-18 16:17:08 +12:00
Gijs Kruitbosch 693fc8a6f8 Bug 1365294 - swap position of the fixed overflow list, r=mikedeboer
MozReview-Commit-ID: 9LlTxRLuOkx

--HG--
extra : rebase_source : bc97a85cf5e2f1f8bc10cc5e5e8883875490c2de
2017-05-17 15:05:36 +01:00
Masatoshi Kimura cbb138559e Bug 1363055 - Find a nearest screen if no screen overlaps. r=kanru
MozReview-Commit-ID: 8BCcVmTC96W

--HG--
extra : rebase_source : 6bb4e59b26652ad92e7fa976a42c5f1c98fa7559
2017-05-17 23:30:05 +09:00
Shih-Chiang Chien 56a6fc77dc Bug 1365566 - use PR_GetSystemInfo to get OS version on Firefox desktop. r=dragana.
MozReview-Commit-ID: J5qlptRVzQe

--HG--
extra : rebase_source : 0a674ee1227d1f0c61adeac4e5f9e007991a4d7f
2017-05-12 12:03:14 +08:00
Marco Bonardo bac23ee9cb Bug 1364488 - Allow fetch to use a concurrent connection. r=standard8
MozReview-Commit-ID: 4L4PFtXsjsy

--HG--
extra : rebase_source : f12cbc4f9f6bb5cf9fc791c1c44978c98e3ca325
2017-05-17 15:51:02 +02:00
Marco Bonardo c8f2a10f2c Bug 1364488 - Recover from a Talos regression due to recent changes to the Star button. r=standard8
The main reason for these changes is to avoid initializing the bookmarks service too early,
plus a lot of micro-optimizations to reduce the code-bloat compared to the previous bogus
(but slick) async getter.

MozReview-Commit-ID: Fy4fshsDaIw

--HG--
extra : rebase_source : 3ad245e932e718ee5ca1fa8da4df8a0f8efd3f0b
2017-05-15 19:32:47 +02:00
sole 8efc1bf877 Bug 1365216 - Follow up. r=pbro
MozReview-Commit-ID: 9X9xSaxTQkB

--HG--
extra : rebase_source : 5b213ab74e9c9977f38e0cb9b263625e9f601844
2017-05-17 16:06:07 +01:00
sole 0af285b498 Bug 1365216 - DevTools: bring over documentation for how to find documentation into the tree. r=pbro
MozReview-Commit-ID: 1dTTTVBB59k

--HG--
extra : rebase_source : 9e4af46b13ff7ef93f318abbb8e9f54b539a037a
2017-05-16 13:18:48 +01:00
Mike Conley 0fc1441c96 Bug 1354194 - Add reflow regression tests for tab closing. r=florian
MozReview-Commit-ID: IWi3vEI5tIg

--HG--
extra : rebase_source : 7412cf32c731872c5542299a3533d5f8b061ae0a
2017-05-03 13:52:36 -04:00
Mike Conley e6768389f2 Bug 1354194 - Make browser_windowopen_reflows.js use the reflow test helper and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 1mknVjSVIKe

--HG--
extra : rebase_source : 28079a63543f7d71c1fe649919c3fcc1f8f86cc6
2017-05-03 13:32:36 -04:00
Mark Banner b5cf40721c Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit - manual fixes. r=bevis
MozReview-Commit-ID: 6ThfXUwvojk

--HG--
extra : rebase_source : f76edd5048227d3df7bee48d86aebb2d23828d1f
2017-05-03 17:54:12 +01:00
Mark Banner 9dce8bd209 Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit - automatic fixes. r=bevis
MozReview-Commit-ID: 8GVCzudNPiq

--HG--
extra : rebase_source : d924c54b9d5bfe0b22199190c6b9a28feec15622
2017-05-03 17:30:48 +01:00
Mike Conley 945923c2d1 Bug 1354194 - Make browser_tabopen_reflows.js use the new reflow test helper, and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 5Pyocd7BN4e

--HG--
extra : rebase_source : c928cf7beee277d1e59e594830c1500b1dab641f
2017-05-02 17:40:07 -04:00
Mike Conley 4cdf0cab90 Bug 1354194 - Add utility method for more easily writing reflow tests. r=florian
This also consolidates the pre-existing style and layout flush regression tests
into the same performance folder.

MozReview-Commit-ID: IA3FqroG75O

--HG--
rename : browser/base/content/test/windows/.eslintrc.js => browser/base/content/test/performance/.eslintrc.js
rename : browser/base/content/test/general/browser_tabopen_reflows.js => browser/base/content/test/performance/browser_tabopen_reflows.js
rename : browser/base/content/test/windows/browser_toolbariconcolor_restyles.js => browser/base/content/test/performance/browser_toolbariconcolor_restyles.js
rename : browser/base/content/test/general/browser_windowopen_reflows.js => browser/base/content/test/performance/browser_windowopen_reflows.js
extra : rebase_source : b226a9aceecf118ffad2f23c2361f0be403d5aaf
2017-05-02 17:30:18 -04:00
Matthew Wein 880ae24e61 Bug 1360448 - Only ignore OPTIONS_TYPE_INLINE_BROWSER instead of ignoring all types which aren't OPTIONS_TYPE_INLINE r=mixedpuppy
MozReview-Commit-ID: Ks3Yryy22lL

--HG--
extra : rebase_source : 7708bddba429871ca02a894fca4e8f1b452ad12c
2017-05-10 22:54:40 -04:00
Boris Zbarsky 85a8b07474 Bug 1365659 part 2. Add id/class flags to stylo snapshots and set them correctly on the Gecko side. r=emilio
MozReview-Commit-ID: 4ylYDIbR3lI

--HG--
extra : rebase_source : e103418eb75fda17a3f83fd017514b2b9d821ec3
2017-05-18 11:31:54 -04:00
Boris Zbarsky 55413bb238 Bug 1365659 part 1. Change stylo element snapshot member ordering to pack a bit better. r=emilio
MozReview-Commit-ID: 4pe8JJAXiXz

--HG--
extra : rebase_source : 95d02763720de8797367304e90b9eeef2a22309c
2017-05-18 11:30:42 -04:00
Andrew McCreight a2131dea50 Bug 1365767 - Stop bootlegging TextEncoder and TextDecoder from osfile.jsm in devtools. r=jryans
MozReview-Commit-ID: DI4OqSGdzgl

--HG--
extra : rebase_source : 9e0f89049e7e9b252b39ebd70693c234b85fe986
2017-05-17 13:52:39 -07:00
Boris Zbarsky 0b39650b85 servo: Merge #16934 - Check snapshot id/class flags before looking for those attributes (from bzbarsky:check-snapshot-id-class-flags); r=emilio
<!-- Please describe your changes on the following line: -->
Most elements don't have classes or IDs.

---
<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1365659

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are just performance optimization

<!-- 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: 2fd7f4f393874d2a2a8285e18f0288d18554454f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6addae8f2078c73e9461327d4edfe22a4e1be623
2017-05-18 11:40:51 -05:00
rforbes 5fa372aaa0 Bug 1365994 - Update libfuzzer r=decoder
MozReview-Commit-ID: GCwIIZd5PTS
***
1365994 - update moz.build for libfuzzer

MozReview-Commit-ID: IxbLnviJC08

--HG--
extra : rebase_source : 2ca4965181388fa113e2781fbd14b5f5ae2bbc4b
2017-05-18 10:23:05 -07:00
Carl Corcoran 2e80270b6e Bug 1360493 write a test asserting that Firefox launches without hanging; r=rstrong
MozReview-Commit-ID: D0axTNp4KCt

--HG--
extra : rebase_source : b56359ba3797a62f51fbc421d404409f994df11f
2017-05-17 08:22:08 +02:00
Michael Froman fd474519c7 Bug 1365291 - capture 'this' with RefPtr on dispatch to STS thread. r=jib
- Avoid any potential for this going away from underneath the dispatch
to STS thread.
- Added notes in PeerConnectionImpl on the test-only nature of the
AddRIDExtension, AddRIDFilter, and GetMediaPipelineForTrack methods.
PeerConnectionImpl::GetMediaPipelineForTrack by returning a reference
to the RefPtr instead of a copy.

MozReview-Commit-ID: EwMr9ulKtm8

--HG--
extra : rebase_source : 55c8b14f63020feda57accd2b4b331de708866c4
2017-05-16 16:07:33 -05:00
Michael Froman 117651c749 Bug 1325991 - sections with bundle-only should have port set to 0. r=drno
Now that Chrome release is bundle-aware, let's reapply the patch to
properly emit port 0 for m-lines in sections with the bundle-only
attribute.

MozReview-Commit-ID: 8RftSXIzIpD

--HG--
extra : rebase_source : 6f9c4cb6b322aec7c00060827e1f5e7852f8acfc
2017-05-08 14:06:54 -05:00
Edouard Oger d198d9c234 Bug 1365273 - Remove about:sync-tabs. r=markh
MozReview-Commit-ID: HFsc4xf8N3a

--HG--
extra : rebase_source : 0af5802196622a3c44b162a4de7e2ceadfde666d
2017-05-17 11:39:22 -04:00
Sebastian Hengst cb81b8de15 Backed out changeset b8d0fdf79562 (bug 1365273) for build bustage: Unused pattern 'sync/**' in browser/base/content/moz.build and unreferenced files detected by browser_all_files_referenced.js. r=backout 2017-05-18 19:09:55 +02:00
Dão Gottwald 21a34a4b42 Bug 1365024 - Mirror the Reload button icon in RTL locales. r=johannh
MozReview-Commit-ID: GlUC3gGDq9O

--HG--
extra : rebase_source : c00efa82215a58bd236b9256104dcd2329732052
2017-05-18 18:11:27 +02:00
cku f8714ff527 Bug 1351440 - Part 5. typedef DrawResult in nsDisplayItem to avoid the image:: qualification. r=jwatt
MozReview-Commit-ID: 1l8DUL1z6U2

--HG--
extra : rebase_source : 67a5655b166c80e37ac2aef49683bb4a37b13518
2017-05-10 03:03:03 +08:00
cku c412dd10b9 Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt
The reason of this change is the same as for Part 2, except that this commit fixes
nsSVGPaintServerFrame::GetPaintServerPattern rather than PaintSVG.

Commit-ID: 691YrKZ0Lm9
MozReview-Commit-ID: KSnFhCndFUk

--HG--
extra : rebase_source : 3397613129fff6023833cdc3bd639f0d2b151652
extra : source : fa29f1920a88d88bcf0f5239462d32ee8955895c
2017-05-09 02:14:08 +08:00
cku 0fcc7571b7 Bug 1351440 - Part 3. Pass imgDrawingParams to nsSVGMaskFrame::GetMaskForMaskedFrame. r=jwatt
The reason of this change is the same as for Part 2, except this commit fixes
nsSVGMaskFrame::GetMaskForMaskedFrame rather than PaintSVG.

MozReview-Commit-ID: DS0eG6eKDgs

--HG--
extra : rebase_source : 696bf495edc98a390f49ff0638165724521460b1
extra : source : 95f38c2c8b57134504e7fbe03d1637866e3e65ba
2017-05-08 21:27:20 +08:00
cku eaa4406688 Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.

The signature of PaintSVG is changed from
  DrawResult PaintSVG(...., uint32 flags);
to
  void PaintSVG(...., imgDrawingParams& aPackage);

imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.

MozReview-Commit-ID: IOq2evUAOQF

--HG--
extra : rebase_source : 66c9a9e391c2f9e142575f42fd47b37334ec5752
extra : source : 97a08873177c0f18edffdb1b5589c77843a50553
2017-05-05 17:19:43 +08:00
cku fedf7f24d9 Bug 1351440 - Part 1. Implement imgDrawingParams. r=jwatt
A struct used during painting to provide input flags to determine how
imagelib draw calls should behave, plus an output DrawResult to return
information about the result of any imagelib draw calls that may have
occurred.

MozReview-Commit-ID: 3jGEh5vEPF

--HG--
extra : rebase_source : 6a40d1bca79425dabf28538b5492cb090074223e
2017-05-09 13:41:18 +08:00
Bobby Holley 5b8aa2c2db servo: Merge #16930 - Only use the parallel traversal when traversing from the root (from bholley:limit_parallelism); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1365686

Let's get this in to see the impact on Talos.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d887a23756c9b646394831a073a3a0cbfc07e15

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4267cac66cf2c564a24178bd4fb595780c352fb6
2017-05-18 09:53:41 -05:00
Matteo Ferretti b3dbed1256 Bug 1365075 - waiting until the document is loaded if CustomContentContainer is not available; r=pbro
MozReview-Commit-ID: Cuv6diP08RT

--HG--
extra : rebase_source : 07c8a9c67b1f54df657dfc8e735bc623fec20a77
2017-05-16 18:18:46 +02:00
Edouard Oger ca11d95460 Bug 1365273 - Remove about:sync-tabs. r=markh
MozReview-Commit-ID: HFsc4xf8N3a

--HG--
extra : rebase_source : 841763ceb5a2ce3630e2f0f3625f7d3d20569135
2017-05-17 11:39:22 -04:00
Chris Manchester dcb8101430 Bug 1337667 - Un-skip xpcshell selftests for stylo now that they're passing. r=jryans
MozReview-Commit-ID: JwvIhSkgNa4

--HG--
extra : rebase_source : cb19f6ae5bb4bb16b622e1f02e2efc22ea1686d4
2017-05-17 12:58:49 -07:00
Chris Manchester be91997096 Bug 1337667 - Add need-xvfb to stylo build Taskcluster configs. r=dustin
This allows `make check` to pass when run against these builds.

MozReview-Commit-ID: BVs6BPifbfW

--HG--
extra : rebase_source : ebad40260b160744e0d2f9dfc52a74b7e5e5ae0e
2017-05-17 12:28:23 -07:00
Brian Grinstead 4897fac06f Bug 1364047 - Pull WebConsoleUtils.l10n into its own module;r=Honza
MozReview-Commit-ID: LI5Hrs33CVS

--HG--
extra : rebase_source : 5da9d9ac8acf90f2446d1068589f1a4d314c0695
2017-05-17 14:07:03 -07:00
Junior Hsu 3b926e298f Bug 1354405 - Add new telemetry probe for bandwidth cost for rcwn, r=michal, valentin, data-r=bsmedberg 2017-05-02 10:08:06 +08:00
Iris Hsiao 34b5af799e Merge mozilla-central to mozilla-inbound 2017-05-18 14:16:22 +08:00
Brian Birtles 5308137759 Bug 1363107 - Check if the startTime is set before using it in SampleAnimationForEachNode; r=hiro
We are seeing occasional failed release assertions from calling
animation.startTime().get_TimeDuration() in SampleAnimationForEachNode on
Windows.

My theory is that in some circumstances (perhaps graphic-driver related?) when
creating a layer transaction we fail to call Layer::StartPendingAnimations and
end up sending pending animations to the compositor. Prior to bug 1334583 that
would have only triggered a debug assertion so it may have gone unnoticed if it
depends on the system configuration.

This patch makes us check that the startTime is set before we try to access it
in order to avoid triggering a release-time assertion. If the startTime is not
set we will use the hold time which should give us the correct behavior for
a still-pending animation. (Furthermore, the holdTime is set unconditionally
when we create animations so it should be correct -- but even if it were not
set explicitly, its initial zero value would still likely produce a reasonable
result until the start time was updated on a subsequent layer transaction. At
very least, it should not crash. Likewise, if it was set to an incorrect value.)

This patch also strengthens the debug assertion in SampleAnimationForEachNode to
check that not only is start time not-null, but that it is set to a TimeDuration
since MaybeTimeDuration also includes a third uninitialized "None" state.
2017-05-18 14:06:36 +09:00
Iris Hsiao 77020e4e53 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 12:05:45 +08:00
Mike Hommey 6be8089731 Bug 1365788 - Always define NOMINMAX in spidermonkey. r=sfink. a=backout
--HG--
extra : rebase_source : 1c31350716806945c896f62077cf74d3cf31c79e
extra : amend_source : 4e8a0407c52e638ee6fc2a59b5afdde30e6dcf21
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
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