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

553927 Коммитов

Автор SHA1 Сообщение Дата
Michael Comella 957efea1da Bug 1315201: Add license header to bottomsheet. r=sebastian
MozReview-Commit-ID: Iaafq67csMV

--HG--
extra : rebase_source : 804e1fbb6c8da9a0eca697dc149b41b836918d38
2017-08-16 13:53:31 -07:00
Michael Comella 6a820929f0 Bug 1315201: Decrease visibility of BottomSheetContextMenu fields. r=sebastian
MozReview-Commit-ID: 259OIlNQI8r

--HG--
extra : rebase_source : b56f134a93012d37201ca00ca4a7ae8aa3926492
2017-08-16 13:50:53 -07:00
Mike Hommey f7fa48a68d Bug 1392515 - Properly link webrtc-gtest on Linux. r=gps
The main difference between Linux and other platforms is that mozglue is
a static library and doesn't include the allocator, while it is a
dynamic library and includes the allocator on other platforms.

As such, linking against mozglue alone doesn't guarantee everything that
should be linked is linked, which GeckoProgram() does. But since
webrtc-gtest doesn't want to link libxul, we use linkage=None.

--HG--
extra : rebase_source : 552b123cb4ef6a861a49bc5eea0f03b9b5427e8b
2017-08-22 14:51:44 +09:00
Michael Comella 982859961f Bug 1390203: Only get highlight images on wifi. r=sebastian
MozReview-Commit-ID: FtSDZ6Yu5Ql

--HG--
extra : rebase_source : 186637c333da09e2619338d0ad3135418694d50d
2017-08-22 10:59:12 -07:00
Michael Comella eb539f8bed Bug 1390203: Add NetworkUtils.isWifi. r=sebastian
It doesn't appear we simply check for a wifi connection type anywhere so the
existing code shouldn't need to be updated.

MozReview-Commit-ID: 7MqIbdB7uRI

--HG--
extra : rebase_source : 4a42a080b37104fb49f1f1cfbec884edbab52ba2
2017-08-22 17:27:19 -07:00
Michael Comella 0ff9993c78 Bug 1390356 - review: getMetadataSlow -> getImageUrl in Item interface. r=mcomella
MozReview-Commit-ID: 8pFmBQf4fzp

--HG--
extra : rebase_source : 6a004bb45a1d88d8f0c028a5304042a31eca52d3
2017-08-23 13:43:59 -07:00
Michael Comella 5d0af9f992 Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM

--HG--
extra : rebase_source : a0ce0cb638a985a7c41ecac89014e9b4e22c70a4
2017-08-15 14:21:31 -07:00
Michael Comella b0cf9b49a1 Bug 1390356: StreamPageIconLayout -> StreamOverridablePageIconLayout. r=liuche
Now it doesn't imply it's used everywhere for page icons in activity stream.

MozReview-Commit-ID: F7Z2HrhHsss

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java
extra : rebase_source : 8e5d6fe665f315da80c11a53fe5a63b85fa45c98
2017-08-15 13:33:09 -07:00
Ed Lee 5d6acac3bf Bug 1383875 - When the zoom level is not 100%, about:newtab is loaded at 100% first and then zoomed in. r=adw
MozReview-Commit-ID: 421iYU7jmgX

--HG--
extra : rebase_source : 72a28663dbf455b19583024417ab1b0176d74e23
2017-08-22 16:37:57 -07:00
Andrew McCreight 03450c1c40 Bug 1340425 - Add back the magic GC in DoShutdown() to avoid intermittent leaks. r=smaug
MozReview-Commit-ID: CNkjPk9FLKj

--HG--
extra : rebase_source : 157fddbf60bfffe2ec7a5dece66c6121624a612e
2017-08-23 10:27:12 -07:00
Bruno Bernardino a309c38dac servo: Merge #18020 - Implement CanvasRenderingContext2d.fillText's "unimplemented" message (from BrunoBernardino:feature-canvas-filltext); r=jdm
Basic skeleton for implementing CanvasRenderingContext2d.fillText,  only adding methods and parameters in the right place, and a basic test, with some `println!()`.

<!-- Please describe your changes on the following line: -->

This is only the beginning. It were my first couple of hours looking at Rust and Servo.

However, I have _no clue_ how to get the text to render now (basically go from the `println!()` to something else).

It's also possible I messed something up with the `DOMString.parse()` but not entirely sure.

I'm doing this PR as a starting point to get help and learn more about this, _or_ at least maybe save someone some time while implementing this, if no one's able to take the time and show me where/how.

Because it's still a work-in-progress, I'm leaving the boxes below unchecked (even though there are no errors).

---
<!-- 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 #11681 and #17963

<!-- Either: -->
- [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: acd08c75f7ac87d4a61e214816a5f6d47c4a1310

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28459e12e1ce761004c6a94d9800bb899310627c
2017-08-23 14:00:47 -05:00
Gijs Kruitbosch 0a10556def Bug 1391705 - don't show context menu except on toolbarbuttons on the main view, r=adw
MozReview-Commit-ID: GkGXAIrP15u

--HG--
extra : rebase_source : f089a365490238992f22db869cb19f3ccca2587c
2017-08-23 13:29:47 +01:00
Anthony Ramine 01f78c7e92 servo: Merge #18204 - Fix quote dependency version (from servo:quote); r=bustage
Source-Repo: https://github.com/servo/servo
Source-Revision: 16c1446137317b7e974d65119d2187b81f0d2394

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9782912bc4a08e4e0d952ab831d05b99b7c87215
2017-08-23 12:13:18 -05:00
Michael Comella f326d1c853 Bug 1390372: Set top site title to page title if path is non-empty. r=liuche
MozReview-Commit-ID: CoWqRlBtKhO

--HG--
extra : rebase_source : c090095bf3aa692c60afcb1341d4e151c0b77736
2017-08-14 18:58:03 -07:00
Michael Comella bdfa67ee26 Bug 1390372: Add URIUtils.isPathEmpty. r=liuche
MozReview-Commit-ID: G8rq6NL54mZ

--HG--
extra : rebase_source : 0a3aa337545539437ff2a046216d8178bdabccca
2017-08-14 18:07:03 -07:00
Henrik Skupin c7e59bd618 Bug 1388249 - Add crashreporter environment variables to geckodriver. r=jgraham
In geckodriver we need a better control about the behavior of the
crash reporter. It should be enabled by default if possible, but
never show its window when a crash actually happens. Both settings
will allow us later to analyze the generated minidump files.

Further the crash reporter will shutdown Firefox now in case of
content crashes. This prevents a possible hang of Marionette
when a command in content gets executed and the framescript
gets disconnected.

MozReview-Commit-ID: DV1E7yQlElM

--HG--
extra : rebase_source : 6273a2f45fbe5f1b21c099ed8efcea44d72ec8e3
2017-08-23 13:33:12 +02:00
Henrik Skupin 2f663e435b Bug 1388249 - Vendor in mozrunner 0.4.2 crate. r=jgraham
MozReview-Commit-ID: DNaQKpDBQu8

--HG--
extra : rebase_source : 6680318eec05ddd67c6a09628efc12af78de30d6
2017-08-23 12:26:28 +02:00
Henrik Skupin 2c0bc01a9a Bug 1388249 - Upgrade to mozrunner 0.4.2. r=jgraham
MozReview-Commit-ID: 5cexJ4uJnB1

--HG--
extra : rebase_source : b643bb0fa203bee5bda765fea62f515a139a55d5
2017-08-23 12:25:03 +02:00
Julian Descottes 23efb92efc Bug 1391563 - stop exporting event-emitter emit method from devtools protocol.js;r=ochameau
MozReview-Commit-ID: Eeh55k6DDCd

--HG--
extra : rebase_source : 4a0c5d3704baf673aaac51ba7702546532bd6056
2017-08-18 17:16:12 +02:00
Gijs Kruitbosch 9303f5c082 Bug 1383913 - fix popuphiding listener for overflow panel to only 'count' the panel itself hiding, r=mixedpuppy
MozReview-Commit-ID: K2nvSimItyx

--HG--
extra : rebase_source : ac880fa1a927c1cfe974661e8d306a1c9d7cbebc
2017-08-23 14:42:57 +01:00
Andrew Halberstadt 1bfac5e46e Bug 1391675 - Fix sm-pkg bustage on a CLOSED TREE, r=bustage CLOSED TREE
MozReview-Commit-ID: KbDxxJtWFbE
2017-08-23 15:22:57 -04:00
Wes Kocher e452e627ec Backed out changeset e903ef2fd85a (bug 1387088) for win debug failures like browser_urlbar_keyed_search_reflows.js a=backout CLOSED TREE
MozReview-Commit-ID: 6awooAlq2m4

--HG--
extra : amend_source : 0be51ad3b8c767c70b3d4f611023352c12ed805c
2017-08-23 12:26:25 -07:00
Evelyn Hung 2292f819c5 Bug 1383299 - Fix xpcshell test failures, r=dao
Some xpcshell tests run with _windowless_ browser and calls its LoadURI().
It then failed to get `aBrowser.contentWindow` when we tried to create OA
and detected if the browser was in the private mode.

MozReview-Commit-ID: DWGMyfao1wG

--HG--
extra : rebase_source : c8ed703221aa84ead8288dc7c1f200838808792b
2017-08-22 12:04:19 +08:00
Evelyn Hung c6c14335a6 Bug 1383299 - Fix test case error, r=jkt,mconley
The triggeringPrincipal needs to be consistent with the given userContextId.

MozReview-Commit-ID: Ao4hokoIcLb

--HG--
extra : rebase_source : b342a8020960e7e1028c0230ebfc0daf41c60d43
2017-08-22 12:01:13 +08:00
Evelyn Hung 088e2c9eba Bug 1383299 - Ensure we start to set up network connection before content process requests. r=mconley
In chrome process, we often know which url is going to be loaded.
As a performance optimization, we can start initiating network
connection before sending out the 'LoadURI' message to the content
process.

MozReview-Commit-ID: L79ylHOaxX8

--HG--
extra : rebase_source : cc3aeefedde21dc8eaaf37c67710980b0204f4dc
2017-08-22 12:00:31 +08:00
Haik Aftandilian 3fbdb1b349 Bug 1382260 - Patch 2 - [Mac] Allow reading of font files from the content sandbox. r=Alex_Gaynor
MozReview-Commit-ID: 9W5aqQweFmd

--HG--
extra : rebase_source : 9aa778bc08bee206e7f3340eac32ca2f46a4f81b
2017-08-18 16:12:07 -07:00
Haik Aftandilian c90d8c6594 Bug 1382260 - Patch 1 - Fix file access test bug. r=Alex_Gaynor
Fix the file access check by adding missing parentheses to isDirectory method call.

Don't run the cookies file check on Linux because the test profile is read accessible due to being in /tmp.

MozReview-Commit-ID: lps2hk8f5U

--HG--
extra : rebase_source : 5fba75d65081e56df5a0d171c41689c489a3aace
2017-08-22 10:11:01 -07:00
Rok Garbas f3a3affcf2 Bug 1284475 - migrate ToolTool blueprint to new codebase of relengapi r=KWierso
UPGRADE_NSS_RELEASE a=kaie
MozReview-Commit-ID: 7CB1VYb8OJP

--HG--
extra : rebase_source : 04751620add813cd1780898d109d9f7fa89d7b2d
2017-08-08 10:55:52 +02:00
flyingrub 216e775829 Bug 1392403 - Ease the dismiss of the popup in about:telemetry r=chutten
Fix ping selector popup is sometimes hard to dismiss.

MozReview-Commit-ID: KEFcmq6cvRA

--HG--
extra : rebase_source : e2a6b13bd7f355aa88e47c50347d03aee5f0fa57
2017-08-23 16:40:12 +02:00
Doug Thayer 21ef26ac40 Bug 1389443 - Load handlers.json asynchronously r=florian,Paolo
Asynchronously load handlers.json for nsHandlerService-json.js in
order to avoid blocking IO early on.

MozReview-Commit-ID: F3THSxvXR7I

--HG--
extra : rebase_source : 95d5ccb545cd7d8a09f80586fc2bf2dcf1ea5ab7
2017-08-15 14:57:32 -07:00
Andrew Halberstadt a4a6ffdd99 Bug 1391675 - [tryselect] Add a test for 'mach try fuzzy' and associated task, r=gps
Basic test to get the ground work laid out.

MozReview-Commit-ID: LmjA3Kq7xKN

--HG--
extra : rebase_source : c32e1954b6b5b88c825075c64c8b9993be3035c6
2017-08-21 11:52:28 -04:00
Andrew Halberstadt dd95aa68cc Bug 1391675 - [tryselect] Move --no-push into common arguments, r=armenzg
The main motivation behind this change is to make testing easier, so e.g:
./mach try fuzzy --no-push
and
./mach try syntax --no-push

both work the same way.

MozReview-Commit-ID: LmjA3Kq7xKN

--HG--
extra : rebase_source : 49beb7e1ae0f7502966ebadc4d9c37cae4357df4
2017-08-21 13:14:31 -04:00
Andrew Halberstadt 60a3f8a31c Bug 1391675 - [tryselect] Make main command and all subcommands use the same argument parser, r=armenzg
This will give us a good way to share arguments between subcommands.

MozReview-Commit-ID: KmXRj8TBvYK

--HG--
extra : rebase_source : 9ff275af226cfe65697b980d1b19f9ca9e1dad5f
2017-08-17 11:13:50 -04:00
Andrew Halberstadt b8511feb50 Bug 1391675 - [mach] Allow commands to have both a parser and subcommands, r=gps
We currently raise if we detect a command has both the `parser` attribute and a subcommand
at the same time, but as far as I can tell, there's no good reason to do this. Handling a
parser + subcommands seems to work exactly how you would expect. Furthermore, it isn't an
error to have subcommands + @CommandArgument, so it doesn't make sense that we're allowing
one but not the other.

This change solves an (admittedly unique) use case I'm trying to build into |mach try|. There
are N subcommands that all support a --save and --load style argument. So, e.g, we might have:

./mach try syntax --save foo
./mach try fuzzy --save bar

The main command will have the ability to detect which subcommand a saved value was generated
from and automatically dispatch to it. So this will work:

./mach try --load foo  # dispatches to the syntax subcommand
./mach try --load bar  # dispatches to the fuzzy subcommand

In order to share the --save/--load arguments across the main command + subcommands, we need
to set the parser attribute.



MozReview-Commit-ID: KmXRj8TBvYK

--HG--
extra : rebase_source : cbf1e402a080913709a34430274ae3191821dd72
2017-08-17 11:10:48 -04:00
Kartikaya Gupta fda8ec623e Bug 1358771 - Don't set the resolution on the main-thread from an APZ repaint request that was triggered by a main-thread update. r=tnikkel
Conceptually, a repaint request that arrives in APZCCallbackHelper with
!GetScrollOffsetUpdated() is a repaint request that the APZ is sending in
response to a main-thread update it received. The purpose of the repaint
request is mainly to update the displayport margins; the scroll position
and resolution should not have changed. Therefore actively trying to set
the scroll position or resolution as a result of these repaint requests
should at best be a no-op but often triggers unnecessary clobbering of things
that are in-flight, or extra reflows. This can result in buggy behaviour.
Bug 1286179 avoided doing this for the scroll position, and this patch does
the equivalent thing for zooming.

MozReview-Commit-ID: 91RbRP0ZHBe

--HG--
extra : rebase_source : 7bb97075619f5435705d369a695d37aa1c972278
2017-08-21 12:51:43 -04:00
Jonathan Jayet b5d5c3a9d9 servo: Merge #18189 - First step toward iOS Support (from JJayet:ios_support); r=larsbergstrom
This mostly prevents Gaol/sandboxing to be used during compilation.
There are a number of issues with : `expat-sys`, `servo-freetype-sys`, `fontsan`, `heartbeats-simple-sys`, `mozjs_sys`.

Also modified `components/script/dom/navigatorinfo.rs` in order to add iOS.

```rust
#[cfg(target_os = "ios")]
pub fn Platform() -> DOMString {
    DOMString::from("iOS")
}
```

See here for more informations : https://github.com/servo/servo/issues/18154

---

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes partially work on #18154

- [X] These changes do not require tests because it deals with the compile toolchain

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a2c0b7ec260e7fb45156d5d278abcd0a6b701e4c
2017-08-23 10:59:39 -05:00
Julian Descottes 024a25f592 Bug 1386616 - dt-addon: move key-shortcuts.properties to devtools/shim/locales;r=ochameau
MozReview-Commit-ID: 9zUqnuYIdWS

--HG--
rename : devtools/client/locales/en-US/key-shortcuts.properties => devtools/shim/locales/en-US/key-shortcuts.properties
extra : rebase_source : 806a6baa5886fbad2b50df80a7560b5300bd25b5
2017-08-02 16:20:58 +02:00
Julian Descottes 1e72d11d7b Bug 1386616 - dt-addon: create new devtools/shim locale;r=Pike
MozReview-Commit-ID: JVnBlBSPpw1

--HG--
extra : rebase_source : 1a8239167f5bfc98a170907e1337ac19b27e0799
2017-08-03 16:57:19 +02:00
Emilio Cobos Álvarez f1d7bf0054 Bug 1341102: Revendor rust dependencies. r=me
On a CLOSED TREE

MozReview-Commit-ID: BoEbixf4mIK
2017-08-23 18:51:30 +02:00
Emilio Cobos Álvarez 646d99aebd Bug 1341102: Update quote crate. r=me
On a CLOSED TREE

MozReview-Commit-ID: ILUnDCyDBem
2017-08-23 18:51:29 +02:00
Michael Comella 2007b1926f Bug 1390685: Replace InvalidHighlightCandidateException with boolean return. r=sebastian
In the event that many of these exceptions are thrown (which I witnessed
locally after importing a large number of desktop bookmarks), it could have a
negative impact on performance so we're making a fix. Note: we don't know how
much it happens in practice.

MozReview-Commit-ID: 1hQo7B704LV

--HG--
extra : rebase_source : b4dd1921b9886b8c403b6676fa9e49de5402b316
2017-08-22 14:57:30 -07:00
Andreas Tolfsen b65f30cdab Bug 1393097 - Relicense test_execute_async_script.py to public domain. r=automatedtester
DONTBUILD

MozReview-Commit-ID: AMrcfZyfEQM

--HG--
extra : rebase_source : 5632343813bb45edab99e30d8aba32ef48a34bda
2017-08-23 17:12:11 +01:00
Andreas Tolfsen 3f7148fec0 Bug 1393094 - Relicense test_execute_script.py to public domain. r=automatedtester
DONTBUILD

MozReview-Commit-ID: 2195jqRYoQN

--HG--
extra : rebase_source : f214dfac96a7d40d38e2e21823aa3fe7afaaa14b
2017-08-23 17:08:14 +01:00
Dão Gottwald 43540e2da6 Bug 1391743 - Polish tabstrip overflow indicators some more. r=daleharvey
MozReview-Commit-ID: EKz6l9uV2Ge

--HG--
extra : rebase_source : 9d2e8ad4158205d0cdca20e2139ac89e130a5bbc
2017-08-23 10:32:58 +02:00
Anthony Ramine c5d45b3509 servo: Merge #18200 - Introduce style_derive::cg (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e629f8da7ba373f6575c2e9ccc6259b7f2c4e3e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2cd81b8fc16a4fc3c3928a61645355a71e9440d9
2017-08-23 10:01:15 -05:00
Gregory Szorc 9a361b3df7 Bug 1392886 - Vendor robustcheckout with sparse support; r=mshal
From version-control-tools revision
0451f128550d8c9dcf83d6628dea5a8030d5cc08. Vendored without
modifications.

This should be a rubber stamp review since the changes to
robustcheckout were already reviewed.

MozReview-Commit-ID: 3J0db7Cja1D

--HG--
extra : rebase_source : 4e36dc83a486841d253cd365ce7a6ceeb50a8ccc
2017-08-22 22:54:06 -07:00
Gregory Szorc 0ef27f30cd Bug 1392886 - Enable sparse extension in Docker images; r=mshal
This needs to be globally enabled to support sparse checkouts
and accessing repos using sparse checkouts.

Having the extension enabled should no-op unless sparse checkouts
are being used. i.e. it should be harmless to globally enable.

MozReview-Commit-ID: AKNUOXfYQPx

--HG--
extra : rebase_source : d32b8a89c56c39923d7b0cd61583c2828a29a872
2017-08-22 20:44:57 -07:00
Gregory Szorc c024875c88 Bug 1392886 - Ignore missing mach_commands.py when checkout is sparse; r=mshal
Sparse checkouts may not have all mach_commands.py files.

mach raises an error when a mach_commands.py file is missing.

So, we teach the mach driver to ignore missing file errors when
a sparse checkout is present.

The added code is optimized to avoid an import of mozversioncontrol
and some I/O as part of resolving the repo and VCS binaries because
this file is in the critical path of all mach commands and avoiding
I/O is worthwhile. Since we aren't using sparse checkouts in the
common case, this effectively makes the new code 0 cost.

MozReview-Commit-ID: C6itJga31t5

--HG--
extra : rebase_source : 4b2c18d30ff8b923a940c80ac81372a4076b8fdc
2017-08-23 08:41:01 -07:00
Gregory Szorc 3088419b32 Bug 1392886 - Explicit error type when a mach command file doesn't exist; r=mshal
This will facilitate handling this error condition specially.

Some unused imports were also removed.

MozReview-Commit-ID: 4zxVDgE7NxU

--HG--
extra : rebase_source : c4d0dd96629e028ce8a83215564a8d865e4b4b3d
2017-08-22 20:29:01 -07:00
Gregory Szorc a1d02ea1fb Bug 1392886 - Defer import reftestcommandline; r=mshal
This shouldn't be at module level.

This isn't technically needed for this series. I caught it during
an earlier attempt at teasing out all Python import dependencies
to run `mach`. Why let a good patch go to waste.

MozReview-Commit-ID: FwwdZqcKtpq

--HG--
extra : rebase_source : a8ce2cf452dc8c03371dc384ea4f1be9195b5d30
2017-07-19 11:27:10 -07:00