Commit Graph

601125 Commits

Author SHA1 Message Date
Masayuki Nakano
ac32b59118 Bug 900750 - part 1: Make KeyboardLayout store the information if current keyboard layout has AltGr key r=m_kato
For setting AltRight key's key value to "AltGraph" if it should work as so,
we need to know if current keyboard layout has AltGr key.  Unfortunately,
Windows doesn't provide such information but we retrieve all input characters
from each key when a keyboard layout is loaded.  So, when we load a keyboard
layout, we can mark if current keyboard layout has AltGr key with checking
at least one key inputs different character(s) when AltGr key is pressed.

MozReview-Commit-ID: 8GI3phSVTUS

--HG--
extra : rebase_source : f1622615f03740609984da6d216391e23cae6796
2018-05-29 20:36:38 +09:00
Mike Hommey
bf8286ece7 Bug 1471103 - Add a few useful packages to the base Debian docker images. r=froydnj
--HG--
extra : rebase_source : f10f6c3d00e60ab705595250e38d5ea6d09966a0
2018-06-26 10:59:34 +09:00
Daisuke Akatsuka
8c5b175f2f Bug 1449477: Add test for short duration. r=gl
MozReview-Commit-ID: 6ZkqS0iDqcG

--HG--
extra : rebase_source : 00a9506364025919f4e67bcf8e089fe6a593299b
2018-06-26 10:59:30 +09:00
Daisuke Akatsuka
f24d951078 Bug 1468953: Use node bounds in viewport instead of offsets from offsetParent. r=jdescottes
MozReview-Commit-ID: nqMLetevCZ

--HG--
extra : rebase_source : 8ca955be72b36a7554024103ceede82bce0b5076
2018-06-26 10:51:40 +09:00
Chris Pearce
63dbf9d6f7 Bug 1470346 - Gesture activate all documents in tab, even across origins, upon user interaction. r=smaug
Sometimes when video is playing, a preroll ad plays, and that may be in a cross
origin iframe. If autoplay media is disabled, we require a user gesture in a
document before playback in that document is permitted, and we require each
origin to be gesture activated separately. So in the cross origin preroll video
add case, then the user will have to click once to unblock playback for the
cross origin ad, and then once the preroll ad finishes, the user will have to
click again to activate playback of the same origin content video.

This is a bad user experience.

So we should instead make gesture activation propagate up the doc tree
irrespective of crossing origins.  This way, when the user clicks to activate,
all documents in that tab are also also effectively gesture activated, and so
can autoplay.

MozReview-Commit-ID: 1HZQ5zkubR

--HG--
extra : rebase_source : d6b75732548cb1d73b9f82dce60a5e6e97d1da14
2018-06-22 11:52:20 +12:00
arthur.iakab
05cc8bb814 Backed out changeset b5e89c1b4e8c (bug 1470073) for failing browser chrome tests on browser_test_io_activity.js on a CLOSED TREE 2018-06-26 04:10:45 +03:00
arthur.iakab
8b1be0e972 Backed out 5 changesets (bug 1340498) for build bustages on SelectionChangeListener.h on a CLOSED TREE
Backed out changeset fae677707059 (bug 1340498)
Backed out changeset 2adde1d1742a (bug 1340498)
Backed out changeset a444ab9cefde (bug 1340498)
Backed out changeset e2ac49ef2034 (bug 1340498)
Backed out changeset 6465310b3de9 (bug 1340498)
2018-06-26 03:53:21 +03:00
Tom Ritter
8fab7ae7af Bug 1451601 Do not buffer output in TaskCluster job output r=gps
MozReview-Commit-ID: 4XOcqSXGhHi

--HG--
extra : rebase_source : 315755e7027546f26f98d154dfe15cd0eaf5684d
2018-06-25 15:28:06 -05:00
Dan Mosedale
7514746d09 Bug 1466574 - make generate_builtin_addons handle races better, r=ted
MozReview-Commit-ID: D9irkni3gQv

--HG--
extra : rebase_source : 22ce8dd77b1d9f22c82fe58e6b8a515828cbb840
2018-05-31 09:56:20 -07:00
Doug Thayer
f8255e3bd2 Bug 1340498 - Fix unified sources build errors r=mrbkap
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.

MozReview-Commit-ID: C2H9ce8FmE4

--HG--
extra : rebase_source : 7a3b71596b4318f517ec4c3ac0180e2aa3b721c7
2018-04-13 11:04:47 -07:00
Doug Thayer
76e9efa7ff Bug 1340498 - Add new globals to lint config r=standard8
MozReview-Commit-ID: 360gup8cWvi

--HG--
extra : rebase_source : 64b0c5f3bb65a4922a7e7e26ae646ae8358a3c56
2018-01-29 11:07:28 -08:00
Doug Thayer
4ef92a21b2 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 8815ce1e4eef3bfaf25acf36faeeadacbe4a3b0c
2018-02-14 09:17:41 -08:00
Doug Thayer
41d49cecec Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 148555189f73fb29a48296215e367c406f3f0286
2018-02-14 09:11:49 -08:00
Doug Thayer
3429e477f0 Bug 1340498 - Implement new Places Observers interface r=mrbkap
See the design doc[1] for further info. We would like to redesign
the places observer system to be more performant and more friendly
to consume. WebIDL was recommended as it simplifies creating simple
dictionary payloads while allowing dynamic typing with `any`.

There were some difficulties with WebIDL though, most of which
revolved around allowing consumers to be weakly referenced, from
both C++ and JS. The simplest solution I could come up with was to
create a simple native interface for the C++ case, and a WebIDL
wrapper for a JS callback in the JS case. Suggestions for simpler
alternatives are very welcome though.

[1] https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit?usp=sharing

MozReview-Commit-ID: ACnAEfa5WxO

--HG--
extra : rebase_source : 7e140df5961c5a01c13b1fd2489905f61c83959f
2018-02-14 09:06:15 -08:00
arthur.iakab
f375978f3e Backed out changeset 48f880cffaed (bug 1448096) for devtools mass failure on a CLOSED TREE 2018-06-26 03:10:03 +03:00
Gijs Kruitbosch
006aa20e16 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9

--HG--
extra : rebase_source : b22103b5a4d43fc6da535ef00f75ed6bc80d92fb
2018-06-13 09:34:52 -07:00
Gijs Kruitbosch
c53b224b4f Bug 1448096 - use promiseDocumentFlushed to avoid sync reflows when resizing devtools windows, r=bgrins,mconley
MozReview-Commit-ID: HATxzjdbQDj

--HG--
extra : rebase_source : f0157ee79c917205f053c7b53ebbe67d1f7c9144
2018-06-19 18:12:42 +01:00
Gijs Kruitbosch
4991b73f4a Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG

--HG--
extra : rebase_source : ffa5561834b03205bf5f5b0cb3ee65b29eb82a9b
2018-06-20 22:53:40 +01:00
Gijs Kruitbosch
839706233a Bug 1470002 - remove pagehide message passing from browser code, r=mixedpuppy
MozReview-Commit-ID: 18hsSwHsWzz

--HG--
extra : rebase_source : f5d93272bd437f135a9d9f8242c3e02be1a2659a
2018-06-20 22:41:27 +01:00
Gijs Kruitbosch
a4d6d71982 Bug 1470100 - use a vector instead of an array for the list of prefs, r=ato
MozReview-Commit-ID: 5JI85Rif28M

--HG--
extra : rebase_source : ce4ee702166107d85b268f78d5efaa66eaa9ab2b
2018-06-21 12:02:00 +01:00
Gregory Szorc
1705480c26 Bug 1469999 - Use yaml.safe_load() in telemetry test; r=chutten
yaml.load() can lead to arbitrary code execution because it isn't
secure by default and allows special YAML syntax.

While it shouldn't be a problem here, I'm trying to get rid of all
yaml.load() calls so we can add a lint to ban the practice.

Differential Revision: https://phabricator.services.mozilla.com/D1740

--HG--
extra : rebase_source : eed31255da88254cb248b51c5ab917bcae76f1db
extra : histedit_source : 4a681465ec8434e92dc9164a759eb521c10b9e79
2018-06-20 14:34:15 -07:00
Gregory Szorc
d82ec22992 Bug 1469999 - Use yaml.safe_load() for loading shaders manifest; r=chmanchester
yaml.load() isn't safe and can lead to arbitrary code execution for
untrusted input. While probably not an issue here, I'm trying to
rid the tree of all yaml.load() instances so we can add a lint to
ban its usage.

Differential Revision: https://phabricator.services.mozilla.com/D1739

--HG--
extra : rebase_source : 4db69cde270b71335218b40d7b662c170854a6aa
extra : histedit_source : a740d99092c345ec8c6fcdb028498798c103b6a5
2018-06-20 14:32:46 -07:00
Gregory Szorc
6e4366049c Bug 1469999 - Use yaml.safe_load() for loading linter config file; r=ahal
yaml.load() is unsafe and can lead to arbitrary code execution via
syntax like `!!python/object/apply:os.system`. yaml.safe_load() is
more reasonable.

Differential Revision: https://phabricator.services.mozilla.com/D1738

--HG--
extra : rebase_source : 597c07b3c1538dc27ad6f46e01cdb7f48755d0bc
extra : histedit_source : 131d570f8ac1ee047487cba54822dbf20abf6681
2018-06-20 14:29:27 -07:00
Gregory Szorc
871e349399 Bug 1469999 - Use yaml.safe_load() for loading clang-tidy config file; r=chmanchester
yaml.load() isn't secure.

--HG--
extra : rebase_source : 03eb1715acd62ab8c98bf4d850cc39a88140a998
extra : histedit_source : 8b3b4823c1f1c20be58494a5f98041e7c46ca3b4
2018-06-20 14:29:06 -07:00
Gregory Szorc
3f4ac974d3 Bug 1469999 - Use yaml.safe_load() in taskgraph; r=dustin
yaml.load() can evaluate arbitrary Python code via syntax such as
`!!python/object/apply:os.system`. Seriously.

Let's switch taskgraph to yaml.safe_load(), which is reasonable
about limiting magic.

Differential Revision: https://phabricator.services.mozilla.com/D1736
2018-06-25 21:34:30 +00:00
Mike Conley
f88719f6e0 Bug 1449756 - Make DisplayPort suppression PresShell specific and not process global. r=kats
Originally, DisplayPort suppression was a process-global static. This change makes it possible
to control DisplayPort suppression on a per-PresShell basis.

Differential Revision: https://phabricator.services.mozilla.com/D1759
2018-06-25 21:42:25 +00:00
Michael Kaply
047b517cdd Bug 1466846 - Enabling addon should set homepage override. r=kmag
MozReview-Commit-ID: G9cfRuQjyGb

--HG--
extra : rebase_source : b3fa8c4277b8ac36fe23e108e5b934a853c70bc2
2018-06-22 15:58:15 -05:00
arthur.iakab
da61445198 Backed out changeset 73f940527757 (bug 1468389) for failing xpcshell tests on test_NewTabUtils.js on a CLOSED TREE 2018-06-26 01:08:03 +03:00
Dave Hunt
4d7f8fd972 Bug 1428362 - Run modernize against mozlog to support Python 3; r=ahal
MozReview-Commit-ID: 6BxTt4eGmfc

--HG--
extra : rebase_source : 2185715e8664288a9847dd81695fdb1640ee32eb
2018-05-31 13:35:19 +01:00
Dave Hunt
e4acd5d754 Bug 1428362 - Add Python 3 support to mozterm; r=ahal
MozReview-Commit-ID: CBl7XKXPABv

--HG--
extra : rebase_source : 8652319ece563ec103fc623157a6784ea2c643a5
2018-05-30 13:51:30 +01:00
Dave Hunt
6a3d72d58f Bug 1428362 - Vendor blessings via |mach vendor python|; r=ahal
MozReview-Commit-ID: 7suX72iyYEV

--HG--
extra : rebase_source : 5add0fe52017f69062567debacd1967b98c0507d
extra : source : 8218a2d572c59cd4c67f115fa0c9fcd82c98f5a1
2018-05-31 13:54:43 +01:00
Ursula Sarracini
ab9d2957d0 Bug 1468389 - Add a src parameter to Pocket URLs in Highlights r=nanj
MozReview-Commit-ID: 55tSoA2Pqgy

--HG--
extra : rebase_source : 3ed60d179be6d168e3fbf4aea494e1afd9cbcc7e
2018-06-25 17:14:50 -04:00
Joel Maher
9c7f5155eb Bug 1466853 - Port stylebench and motionmark benchmarks test from talos to raptor. r=rwood
stylebench and motionmark run in talos, we want these running in raptor

Differential Revision: https://phabricator.services.mozilla.com/D1814
2018-06-25 20:28:58 +00:00
Tarek Ziadé
0f643a27fd Bug 1470073 - Make IOActivityMonitor timer optional - r=valentin
- Introduced the io.activity.enabled pref, so IOActivityMonitor can run without a timer
- Added IOActivityMonitor::NotifyActivities() to trigger notifications manually
- Added ChromeUtils.requestIOActivity() so we can trigger it via JS

MozReview-Commit-ID: 9JA2rLaM496

--HG--
extra : rebase_source : 0a92195b6b8314383c63de4b2bb1dfe033c40e9f
2018-06-25 18:32:22 +02:00
Sam Foster
4cf8d4350f Bug 1463608 - Expose FormAutofill computeFields methods, use them for temporary records in payments. r=MattN
* Test helpers for cards
* Refactor the test_add_link test to test in private & non-private window

MozReview-Commit-ID: AeVJOkSwQps

--HG--
extra : rebase_source : 6e8380826bcac87bc408ff75a6a398b5c4f6cafa
2018-05-30 16:56:25 -07:00
Sam Foster
fe4f526cc6 Bug 1463608 - Add test helpers for payment address and cards. r=jaws
* addSampleAddressesAndBasicCard now accepts arrays of addresses and card, but with no args defaults to its original behavior
* addAddressRecord and addCardRecord helpers
* New helpers for each step in the sequence of clicking through to add a new address

MozReview-Commit-ID: Dto5MSekJTV

--HG--
extra : rebase_source : be32c684dba62d051bb119a530437830e41bb128
2018-06-04 09:36:21 -07:00
Henrik Skupin
894f69b8b2 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : 1c6c8de55def6026da467d589ec3a8b511986125
2018-06-22 13:32:05 +02:00
Mark Striemer
6b7ded9af2 Bug 1470684 - Flip undo close tab icon for RTL in all tabs menu r=dao
MozReview-Commit-ID: J5U4nwxYDZ1

--HG--
extra : rebase_source : f7b7be7caa360977e5a997d893035ff54f271450
2018-06-25 12:39:36 -04:00
Jean-Yves Avenard
507a82e41c Bug 1470944 - Don't attempt to create a new demuxer upon changeType call r=bryce
Re-creating a new demuxer is fine, provided that the SourceBufferResource exists. However, a resource is only created upon receiving an init segment.

The segment following a call to changeType() must be an init segment, will let the demuxer creation occurs there.

Differential Revision: https://phabricator.services.mozilla.com/D1812
2018-06-25 19:13:13 +00:00
Johann Hofmann
758db2df67 Bug 1465337 - Adjust tracking protection toggle and other right-hand-side buttons in the main menu to align their separators. r=dao
MozReview-Commit-ID: 6u5AaSCMhr

--HG--
extra : rebase_source : 599674f680aa47525791260357ce3452d6082755
2018-06-22 00:22:43 +02:00
Ed Lee
2ce440e3ed Bug 1470588 - Add site added-unblocking, deleted-updating and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 25tyUmDQV9i

--HG--
extra : rebase_source : 1340567dee22eee4562a877ed86226b05165fe06
2018-06-22 15:18:57 -07:00
Haik Aftandilian
93adc15937 Bug 1469657 - Whitelist Extensis UTC fonts on 10.11 and Earlier r=Alex_Gaynor
Add whitelist rules to allow access to Extensis Universal Type Manager fonts
on 10.11 and earlier OS versions.

MozReview-Commit-ID: 3cPKlC1xCUW

--HG--
extra : rebase_source : 2f8b126cbc7dff2b4d660b6261c1a45d695e09d8
2018-06-19 11:39:41 -07:00
Jean-Yves Avenard
9ae6b235d5 Bug 1470814 - Update SourceBuffer.changeType behaviour. r=bryce
Follow current WICG https://github.com/WICG/media-source/tree/codec-switching as of revision f2ed457

The difference with the current spec can be seen with:
https://services.w3.org/htmldiff?doc1=https%3A%2F%2Fraw.githubusercontent.com%2FWICG%2Fmedia-source%2F9bb87ae9566f0db3d646b648e7370bdac97349ae%2Findex.html&doc2=https%3A%2F%2Fraw.githubusercontent.com%2FWICG%2Fmedia-source%2Fcodec-switching%2Findex.html

Differential Revision: https://phabricator.services.mozilla.com/D1810
2018-06-25 19:07:16 +00:00
Noemi Erli
b7560a0ac0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-25 22:14:26 +03:00
Noemi Erli
aaac9a77dd Merge inbound to mozilla-central. a=merge 2018-06-25 22:02:08 +03:00
Noemi Erli
c4744895a1 Merge autoland to mozilla-central. a=merge 2018-06-25 22:00:46 +03:00
Jean-Yves Avenard
d677c92441 Bug 1470754 - Remove AMD VP9 MFT support r=bryce
Not even AMD supports it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D1793
2018-06-25 17:49:48 +00:00
arthur.iakab
ff23802cfd Backed out changeset 88960670cf9f (bug 1465637) for failing talos damp tests on server/protocol.js: Error: Can't manage front without an actor ID on a CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js
2018-06-25 21:56:27 +03:00
Mike Cooper
9e75b596ea Bug 1470957 - Publish Normandy action schemas under Mozilla NPM org r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1813
2018-06-25 18:08:38 +00:00
J. Ryan Stinnett
8433b7ff9f Bug 1465637 - Rename tab-scoped actors to target-scoped actors. r=ochameau
The term "tab actor" was used ambiguously to mean either the "target actor
representing a tab" or "a child actor of the tab target actor" (such as the
console actor).  Here we rename the second case to "target-scoped actor".

Differential Revision: https://phabricator.services.mozilla.com/D1760

--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-25 17:53:40 +00:00