Commit Graph

562133 Commits

Author SHA1 Message Date
bechen@mozilla.com
b6e091b3ea Bug 1324883 - Shutdow the decoder when receiving nsIWebProgressListener with flag LOAD_RELOAD_BYPASS_PROXY_AND_CACHE in docshell. r=jwwang,smaug
We register the nsIWebProgressListener at the root docshell(GetSameTypeRootTreeItem) to handle video element embedded in iframe.

MozReview-Commit-ID: D4CavLDAnKD

--HG--
extra : rebase_source : 93032297272bbfc8570dce0c8c13ea9f0d45f7a8
2017-10-03 12:07:09 +08:00
Jim Chen
e3de08b829 Bug 1404144 - 4. Preload child process in geckoview_example in multiprocess mode; r=snorp
In geckoview_example multiprocess mode, preload child process during
startup to make e10s startup faster.

MozReview-Commit-ID: GinwBZlrnps

--HG--
extra : rebase_source : a43ef4708d311c9a100aafba0c84ee4a2e27090b
2017-10-04 22:28:44 -04:00
Jim Chen
3b801bac89 Bug 1404144 - 3. Add flag to preload child process during main GeckoThread startup; r=snorp
We need to wait for GeckoThread to load the Gecko libs in the main
process before we can launch any child processes, so that the child
process doesn't try to extract libs, which can conflict with any
extraction going on in the main process.

MozReview-Commit-ID: 2gUd2R1TUBI

--HG--
extra : rebase_source : d48b9e2e744669a89f2b761cf6936f28948c17c3
2017-10-04 22:28:43 -04:00
Jim Chen
f281c874c0 Bug 1404144 - 2. Move start child process JNI call to GeckoProcessManager; r=rbarker
Avoid going through GeckoAppShell and move the start child process JNI
call directly to GeckoProcessManager.

MozReview-Commit-ID: KU62TiHVQJX

--HG--
extra : rebase_source : 0e8546da502257e1c59bc00b79f50c79a314f3e6
2017-10-04 22:28:43 -04:00
Jim Chen
ffe3e86076 Bug 1404144 - 1. Refactor child process code to support preloading; r=rbarker
Refactor the code in GeckoProcessManager and GeckoServiceChildProcess so
that, we can have a ChildConnection object that's bound but not started.
This way we can bind the connection to preload Gecko child process, but
hold off starting until told by Gecko main process.

Some code is simplified. For example, `IChildProcess.stop` is removed in
favor of killing the child process directly.

MozReview-Commit-ID: 4XgmTuT0IAs

--HG--
extra : rebase_source : 94fe748556c66f639d1f8e5bb26c28ea3ed950b3
2017-10-04 22:28:43 -04:00
Leo Khodel
c252244f67 Bug 1357575: Remove unused include prclist.h r=erahm
MozReview-Commit-ID: 751gsPAHKAt

--HG--
extra : rebase_source : 7140cd63ede88aa33dfef255689ee43ed98edefa
2017-10-04 16:42:36 -07:00
Kyle Machulis
e54a4653ba Bug 1404079 - Remove nsIDOMHTMLFrameElement; r=bz
MozReview-Commit-ID: GSvMwRpl7g4

--HG--
extra : rebase_source : a5e8ee45bae90eaa9ecdcc6f0bac0c9dac0ce2c8
2017-09-28 19:06:14 -07:00
Brian Birtles
ab450ccdb9 Bug 1404803 - Convert empty values to suitable zero values even when using discrete interpolation; r=hiro
Normally when we interpolate values for CSS properties we convert empty values
(such as the empty "from" value created for a by-animation) to a suitable zero
value. However, when we use discrete interpolation that step never occurs and in
some rare cases that means we end up setting the empty value on the target
attribute directly which will have an incorrect result (e.g. setting "" for the
height property will have no effect, whereas setting "0px" will).

This patch makes us perform the empty value to zero value conversion when
performing discrete animation.

Unfortunately it is not possible to test this behavior with shorthands since
there are currently no shorthand properties that are additive.

MozReview-Commit-ID: JFT1tis1RAR

--HG--
extra : rebase_source : cc444b6d4d5571c8ab231d88c4d349ea0713baaa
2017-10-04 15:04:23 +09:00
Mike Hommey
4d379e455b Bug 1403366 - Remove the --with-default-mozilla-five-home configure flag. r=froydnj
--HG--
extra : rebase_source : 354efac644a7fdeea507c0e87cf44183d773413d
2017-09-28 11:02:45 +09:00
Mike Hommey
e2e258506d Bug 1403366 - Remove outdated comment. r=froydnj
--HG--
extra : rebase_source : 810e0c072c2effb6eb1f3e3c3baef5dde69eee86
2017-09-28 11:01:15 +09:00
Mike Hommey
37d01456dc Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : e0b1dcdabe798af478e054cde0df65facf25ea21
2017-09-28 11:00:09 +09:00
Mike Hommey
3af63f59c0 Bug 1403366 - When NS_XPCOM_INIT_CURRENT_PROCESS_DIR is not already set, fallback to BinaryPath's parent. r=froydnj
The Windows and OSX code paths were essentially doing the same thing,
and the Unix fallback was using an old convention that is pretty much
outdated.

Under normal conditions (XPCOM initialized by Firefox),
NS_XPCOM_INIT_CURRENT_PROCESS_DIR is set from BinaryPath anyways, so
this only really affects adhoc XPCOM initialization from e.g. C++ unit
tests.

--HG--
extra : rebase_source : b3151fffd4c82159b633a48dead86f2c3b0a03d6
2017-09-28 10:49:48 +09:00
Mike Hommey
4fe7459180 Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj
--HG--
extra : rebase_source : ac7bb0d7766fce5b6325c34c2868b26eec594e18
2017-09-28 10:37:27 +09:00
Mike Hommey
bdf125352e Bug 1403366 - Remove GetXULRunnerStubPath. r=froydnj
The difference between GetXULRunnerStubPath and XRE_GetBinaryPath was
removed in bug 552864.

--HG--
extra : rebase_source : 20060486de82c04bc888fade5be1f42675bc5d07
2017-09-28 10:31:14 +09:00
Mike Hommey
e68b54aab1 Bug 1403366 - Don't use nsDirectoryService::Create in nsDirectoryService::GetCurrentProcessDirectory. r=froydnj
Back in the day, there was no global with an already initialized
DirectoryService. But now there is, and, in fact,
GetCurrentProcessDirectory already errors out if that global is not set
by the time it's called. All calling nsDirectoryService::Create achieves
is doing the check again and calling QueryInterface, which we don't need
to do anyways.

--HG--
extra : rebase_source : 32f5080ecb8165cffd601799e72d278b482b0871
2017-09-28 08:46:43 +09:00
J.C. Jones
9f45608ca1 Bug 1405431 - Be more precise in WebAuthn signature verification assertion r=keeler
There's an intermittent which might be spurious because ASN.1 signatures might
sometimes be less than 70 bytes, but the actual floor is probably 68 (32 + 32
+ 4).

It's a sanity check, so I've adjusted it down and also am now emitting the
offending key bytes if this triggers again.

MozReview-Commit-ID: 1wwU9Q3BUPF

--HG--
extra : rebase_source : 2877deb770f8bf4bcf31dae40f75016892dc9d53
2017-10-04 11:21:18 -07:00
Robert Helmer
c42f57923a Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP

--HG--
extra : rebase_source : e20ec54eabb5ecb2cc0b85efb687dbed06f1d16a
2017-10-02 18:41:20 -07:00
Robert Helmer
b5691ba8af Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir

--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Robert Helmer
cb1aad0897 Bug 1348981 - add Cu.readURI helper for sync file reading on startup r=kmag
MozReview-Commit-ID: 1yz25afCUDs

--HG--
extra : rebase_source : 549e28b7ceeb6556156d8f6e4d2a7470852d64c0
2017-09-19 12:13:08 -07:00
Robert Helmer
f0cf406637 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Glenn Watson
bf632baa47 servo: Merge #18735 - Update WR (clip masks on angle gradients, fix clips on transformed images) (from glennw:update-wr-angle-clips); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 22685465156a07eadca0edfcc5eca119f3ec4681

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 25611e482b0de27e05ed124c93899bd2251e01c2
2017-10-04 17:09:40 -05:00
Wes Kocher
6dc323cfe9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Wes Kocher
d8985b6e57 Merge inbound to central, a=merge
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Wes Kocher
b44ad7dcfa Backed out changeset 0376b0f2075a (bug 1405445) for conflicting with the merge a=backout
MozReview-Commit-ID: 2ed0eV0Wow3
2017-10-04 16:36:49 -07:00
Wes Kocher
960beae3a6 Merge autoland to central, a=merge
MozReview-Commit-ID: 5q3B4i0wpSI
2017-10-04 14:57:59 -07:00
Geoff Brown
7ddd283350 Bug 1363945 - Follow-up: really mark text-control-baseline-1.html as fuzzy on Android, r=me,test-only
skiaContent is true on Android, so the previous change was a no-op.
2017-10-04 13:03:24 -06:00
ffxbld
7ba03cebf1 No bug, Automated blocklist update from host bld-linux64-spot-324 - a=blocklist-update 2017-10-04 10:43:27 -07:00
ffxbld
278e956997 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2017-10-04 10:43:24 -07:00
ffxbld
9e73581c10 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2017-10-04 10:43:20 -07:00
Sebastian Hengst
7b3f84a66d Backed out changeset 4eb36d1710ca (bug 1402334) for bustage at media/webrtc/signaling/src/media-conduit/AudioConduit.cpp:609: 'logTag' was not declared in this scope. r=backout on a CLOSED TREE 2017-10-04 19:13:56 +02:00
Sebastian Hengst
41b7635dd5 Backed out changeset de7bd38908da (bug 1402334) 2017-10-04 19:12:24 +02:00
Sebastian Hengst
f50ee09496 Backed out changeset 978b0400ac3b (bug 1402334) 2017-10-04 19:12:19 +02:00
Tom Schuster
13fd77b08d Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Sebastian Hengst
5e0b457b10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Edouard Oger
c49f52c201 Bug 1404065 - Update Synced Tabs buttons to photon style. r=markh
MozReview-Commit-ID: KSAwgRzys7p

--HG--
extra : rebase_source : 1b6af7f41c3904774998fe22822b29f1d15b20b5
2017-10-03 15:34:36 -04:00
Arthur Edelstein
5b21d91dce Bug 1405139 - Fix ubsan runtime error for TrackInfo::TrackType. r=gerald
We're plan to enforce -fsanitize=enum, so no need to test outside
the enum range.
2017-10-03 10:17:00 -04:00
Wes Kocher
8962ceb779 Backed out changeset 0b08540034c0 (bug 1405330) for failures in browser_toolbox_options_enable_serviceworkers_testing.js a=backout
MozReview-Commit-ID: HLiQlGjWI13
2017-10-03 16:35:11 -07:00
Boris Zbarsky
4f26cd362a Bug 1402766. Work around layout violating its own invariants and causing stylo code to crash. r=emilio
MozReview-Commit-ID: 3ggJI0qmOJV
2017-10-03 18:50:10 -04:00
Nicolas B. Pierron
e51c33aaf4 Bug 1399379 - Use memcpy to import/export SRI hashes to the JS bytecode buffer. r=francois 2017-10-03 10:00:00 -04:00
Dan Minor
85e0a8d5b0 Bug 1402334 - Build mediapipeline using unified build; r=drno
This replaces MOZ_MTLOG with CSFLog, which is already set up to handle having
a shared LazyLogModule used from difference source files.

MozReview-Commit-ID: KNUKL92aWcw

--HG--
extra : rebase_source : 6d9eb3421c364f941c4cdf6d40217d2b853faacb
2017-10-02 14:29:20 -04:00
Dan Minor
5e6e96008c Bug 1402334 - Add log level test to CSFLog; r=drno
MozReview-Commit-ID: 3EKeDLAmEs0

--HG--
extra : rebase_source : 3cd2251011988f7cd5fc9101af9ec9a8e55696c9
2017-10-02 14:33:23 -04:00
Dan Minor
8bfcd583ee Bug 1402334 - Build media-conduit and peerconnection using unified build; r=jesup
This removes the duplicate definition of logTag and fixes a preprocessor related
unified build error.

MozReview-Commit-ID: LP5frg0QZul

--HG--
extra : rebase_source : 64f2d77816c8d3681a7cf795317e8bdcb73c6713
2017-10-02 11:05:29 -04:00
Paul Rouget
8b66bf2d47 servo: Merge #18702 - do not force resource_path on android (from paulrouget:android_res_path); r=Manishearth
I want to be able to configure the resource path via `set_resources_path`.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c23fb710a0acc994fc4f02ea58bce46393dde018
2017-10-04 10:34:52 -05:00
Tom Ritter
6d14b17623 Bug 1404147 Convert tid_t to integer on all platforms to resolve signed/unsigned comparison warnings r=njn
MozReview-Commit-ID: G5E3GpELkPs

--HG--
extra : rebase_source : fcc611e9face0583a5ad2ad46fad38f270b1cb03
2017-10-03 23:04:24 -05:00
Masayuki Nakano
9a85312d4a Bug 1404206 - Part 3: Make GeckoInputConnection handle "mozAwesomebar" inputmode value as "url". r=jchen, r=gijs
Although, Firefox for Android doesn't use urlbarBindings.xml for declaring its
awesome bar, for consistency with widget code for desktop OSes,
GeckoInputConnection should treat "mozAwesomebar" inputmode value as "url"
since Android doesn't have any special input type for "search" and we should
keep current behavior.

MozReview-Commit-ID: DpUnUx4E2Sp
2017-09-29 16:11:20 +09:00
Masayuki Nakano
5726ada8a0 Bug 1404206 - Part 2: Make TSFTextStore and IMEHandler handle "mozAwesomebar" inputmode value. r=m_kato, r=gijs
When "mozAwesomebar" is set to inputmode value, that means that the Smart
Location Bar gets focus.  In that case, we should notify IME of input scopes
as "URL" because on-screen keyboard for URL has some useful additional keys
but they are not hindrances even when users want to type non-URL text.

On the other hand, MS-IME for Japanese and Google Japanese Input changes their
open state to "closed" if we notify them of URL input scope.  A lot of users
complain about this behavior.  Therefore, we should notify only them of
"Default" input scope even when "mozAwesomebar" has focus.

MozReview-Commit-ID: DIgqpR7TXQx
2017-09-29 15:15:14 +09:00
Masayuki Nakano
093d53d74b Bug 1404206 - Part 1: Smart Location Bar should have special inputmode value, mozAwesomebar. r=smaug, r=gijs
Smart Location Bar (a.k.a URL bar) has some features, loading inputted URL
directly, searching bookmark items and history items, and search inputted words
with registered search engine.

So, it does not make sense its inputmode is "url".  E.g., neither showing URL
specific software keyboard nor switching IME open state automatically for
typing URL may not be expected in most cases.

Unfortunately, there is no proper inputmode value for Smart Location Bar.
Therefore, this patch uses "mozAwesomebar" value and accepts the value only in
chrome documents.  This value should be handled by each native IME handler
properly.

MozReview-Commit-ID: 7vUnbpg91F2
2017-09-29 14:44:06 +09:00
Nicolas B. Pierron
bb6e7bf9b1 Bug 1404486 - Do not flush necko cache to avoid keeping the CacheIOThread alive. r=valentin
--HG--
extra : rebase_source : 9ce4fdb059a149da0e364efe1963ad2055e937cd
2017-10-03 10:07:00 -04:00
Nathan Froyd
1957b2376e Bug 1405639 - remove outdated check for XPCOMABI in jsreftest; r=sfink
The backstory for this bit of code is that we didn't know if ARM had a
stable ABI or not.  Well, it does now, and so we can remove this bit of
code.
2017-10-04 14:19:34 -04:00
Ehsan Akhgari
f149573106 Bug 1405419 - Part 2: Remove a dead overload of HTMLEditor::GetPriorHTMLSibling(); r=masayuki 2017-10-04 13:39:48 -04:00