Commit Graph

528982 Commits

Author SHA1 Message Date
Ryan VanderMeulen
94a51643a0 Bug 1352260 - Upgrade to SQLite 3.18.0. r=mak 2017-04-01 15:08:18 -04:00
Sebastian Hengst
36def3ff3b merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-01 19:17:00 +02:00
Maxim Breev
f982515e79 Add a new flag to nsIWebProgressListener for redirects (bug 1342989). r=smaug
MozReview-Commit-ID: 5q29n6d3Iz8
2017-04-01 20:07:47 +03:00
Dale Harvey
f9e45a8cf7 Bug 1351834 - Give webapp tabs correct type when launched. r=janh 2017-04-01 15:23:18 +01:00
Sebastian Hengst
948595ff2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-01 13:12:04 +02:00
Sebastian Hengst
0cb6e36e75 Backed out changeset 1b4e77a9d11d (bug 1350522) for leaking in browser_ext_incognito_popup.js. r=backout 2017-04-01 12:39:05 +02:00
Sebastian Hengst
6709885298 Backed out changeset a3ed5ad1bc33 (bug 1350522) 2017-04-01 12:38:28 +02:00
Sebastian Hengst
58d7b72241 Backed out changeset 42015d3bfe49 (bug 1350522) 2017-04-01 12:38:23 +02:00
Sebastian Hengst
7e2f368910 Backed out changeset 7fd4ade88118 (bug 1350522)
--HG--
rename : browser/components/extensions/ext-browser.js => browser/components/extensions/ext-desktop-runtime.js
2017-04-01 12:38:19 +02:00
Sebastian Hengst
b16bea09f2 Backed out changeset 8f8891e51936 (bug 1350522) 2017-04-01 12:38:14 +02:00
Sebastian Hengst
f8b77a93c4 Backed out changeset 650808cfe044 (bug 1350522) 2017-04-01 12:38:09 +02:00
Sebastian Hengst
68eccd6f65 Backed out changeset 069dbaa8300e (bug 1350522) 2017-04-01 12:38:05 +02:00
Brian Birtles
9d5c0d1978 Bug 1351038 - Completely disable test_animations_effect_timing_enddelay.html; r=me
This will be restored in bug 1352336.

MozReview-Commit-ID: 8OqaH5gmCJA
2017-04-01 18:05:37 +09:00
Brian Birtles
a920654edf Bug 1351038 - Disable failing tests in test_animations_playbackrate.html, test_animations_iterationstart.html, and test_animations_effect_timing_enddelay.html; r=hiro
Bug 1352336 tracks restoring these.

MozReview-Commit-ID: D7ItNpUlfR2
2017-04-01 18:05:37 +09:00
Dale Harvey
cb99a6a79e Bug 1337341 - Show url when navigating out the scope of pwa. r=walkingice 2017-04-01 09:34:23 +01:00
JW Wang
17fd6d8cd9 Bug 1352319. P12 - let CalculateNewCurrentTime() return a TimeUnit. r=kaku
MozReview-Commit-ID: 6bQdKvw0VEN

--HG--
extra : rebase_source : 4b6486f7626d3a3a44012485d7ee5c4ddf5e0ee2
extra : source : a0cb6689491d236a6cdd1196cfdf41c35cb46c20
2017-03-28 16:44:40 +08:00
JW Wang
7e2b1dfe92 Bug 1352319. P11 - change the type of NextFrameSeekingState::mCurrentTime to TimeUnit. r=kaku
MozReview-Commit-ID: Q4u92HgGdF

--HG--
extra : rebase_source : 4a6777c0e1ed50d84fa3ccce98667b461c094cd0
extra : source : 7995043baf379ec4f20e93acfd649f0307905d64
2017-03-28 16:38:26 +08:00
JW Wang
14d7d8bec7 Bug 1352319. P10 - let GetClock() return a TimeUnit. r=kaku
MozReview-Commit-ID: Efl1FemHOmJ

--HG--
extra : rebase_source : 39862017f074d30374c05f861cd360cc4d20aeb0
extra : source : a7363eb07fbef9ecd9a30037da6c9a0f356fadb1
2017-03-28 16:35:24 +08:00
JW Wang
308286b2e3 Bug 1352319. P9 - let GetMediaTime() return a TimeUnit. r=kaku
MozReview-Commit-ID: 7vrIzeMLP4Z

--HG--
extra : rebase_source : fe59f42336ea04d573579d8c6bdb1ecb8849f592
extra : source : 1d26e04ea6f7ad969ae995025d87c8b7836925fe
2017-03-28 16:16:56 +08:00
JW Wang
149633543d Bug 1352319. P8 - use TimeUnit in UpdatePlaybackPosition(). r=kaku
MozReview-Commit-ID: JkopzDG45Bq

--HG--
extra : rebase_source : c9bf356a4b421012f7756841aae8c3ced028c579
extra : source : fb3b140d5a5ecec923e75d11e314f216a88f502a
2017-03-28 16:01:55 +08:00
JW Wang
d79d1e4a87 Bug 1352319. P7 - use TimeUnit in UpdatePlaybackPositionInternal(). r=kaku
MozReview-Commit-ID: ASzjKhHlhVA

--HG--
extra : rebase_source : a2fed6debead5ba37574dcc79b8ac7a5e2701064
extra : source : 678b5117a8b9d778e6f785b53cab3c0007061cfe
2017-03-28 15:57:38 +08:00
JW Wang
1b98a1aef1 Bug 1352319. P6 - let AudioEndTime/VideoEndTime return a TimeUnit. r=kaku
MozReview-Commit-ID: 6yyVl2RDrPm

--HG--
extra : rebase_source : c62f1972acb4c4f376fe2a1d689246a02ffb0fd8
extra : source : 9a7b19b5a668270cd9af875dd8b33791f69b542b
2017-03-28 15:50:53 +08:00
JW Wang
f47a7d4631 Bug 1352319. P5 - rename AudioPrerollUsecs and let it return a TimeUnit. r=kaku
MozReview-Commit-ID: C3IdeNksQjn

--HG--
extra : rebase_source : f1dcc25e33dc0b8d3b09252509bf738088cc16ae
extra : source : 1b4d5af3409768bf3e2373e6627e2d72a6e290ab
2017-03-28 15:42:09 +08:00
JW Wang
747b792884 Bug 1352319. P4 - move AudioPrerollUsecs/VideoPrerollFrames into DecodingState. r=kaku
MozReview-Commit-ID: 3VuDj1TXZV2

--HG--
extra : rebase_source : 53471b886ee48e845e31b70e9e13d82b0620a6a7
extra : source : 383119c9b722b892d300cb56b92116af3285b60a
2017-03-28 15:38:34 +08:00
JW Wang
428f953b53 Bug 1352319. P3 - use TimeUnit in HasLowBufferedData(). r=kaku
MozReview-Commit-ID: HP7M78yKpww

--HG--
extra : rebase_source : 84069608ad345ea248b5584e8847df99d9d030a1
extra : source : 6a5be23e8d7ed332bfbd99717db24f22b0ad4824
2017-03-28 15:09:30 +08:00
JW Wang
c2313c1dc6 Bug 1352319. P2 - rename variables and fix comments. r=kaku
MozReview-Commit-ID: G7II28F00Qp

--HG--
extra : rebase_source : 080df9f9c88d47b22f3aee24c66a342c2591861d
extra : source : e62c3c8524fe41601dcb5fa92b2b156906ad9234
2017-03-28 14:58:03 +08:00
JW Wang
dafc031d93 Bug 1352319. P1 - add LOW_BUFFER_THRESHOLD and replace the use of LOW_DATA_THRESHOLD_USECS with it. r=kaku
MozReview-Commit-ID: HNQR7Y93pAz

--HG--
extra : rebase_source : 9ee8f45df132901345922255bda4f634b22be6c3
extra : source : fae6434fdc3a76aa29197ccb43a501cee713f173
2017-03-28 14:56:35 +08:00
Johann Hofmann
a01a4f8ec3 Bug 1334842 - Fix intermittent browser_temporary_permissions.js. r=Nihanth
This intermittent was likely occurring because we set the expiry timeout
for temporary permissions to a really low value in the previous test.
The failing test was only failing on slow machines, leading me to believe
that the time between setting and checking was larger than the 500ms timeout
defined in the previous test. Thus, the permission was reset on checking it.
The expiry pref was set using pushPrefEnv, which restores prefs only after
the entire test was run. To just eradicate this category of problems in
the future I moved the test that manipulates the expiry into its own file.

MozReview-Commit-ID: 3mc5xHY4XLn

--HG--
extra : rebase_source : 40f78258a975da9dca9a47beddcaaeea83649de3
2017-03-29 16:15:56 +02:00
Iris Hsiao
98b769cf18 Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst
2374426ebe Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout 2017-03-31 10:08:21 +02:00
Sebastian Hengst
cb6b27aed8 Backed out changeset ffbf6849c41f (bug 1019483) 2017-03-31 10:07:50 +02:00
Sebastian Hengst
91095472dc Backed out changeset f3ccca098f5e (bug 1019483) 2017-03-31 10:07:45 +02:00
Zibi Braniecki
ad3956d0f1 Bug 1351873 - Bind OSPreferences::GetSystemLocale to use intl.locale.os pref. r=rnewman
This patch fixes a regression that we hit on Fennec when we handed over control
over language negotiation to LocaleService in bug 1347306.

The problem is that we currently do not have good Android bindings for
OSPreferences::GetSystemLocale and in result we could not negotiate
languages between user-selected OS locales and available locales.

The temporary solution implemented here binds android OS preferences to
`intl.locale.os` pref which is set on Locale:OS event in browser.js.
In LocaleService we add a listener on the pref to renegotiate languages
when OS locale changes.

MozReview-Commit-ID: KTqjYSzLNNO

--HG--
extra : rebase_source : 61b692e81ce67cdb15a7962e41ebe78164dbe1aa
2017-03-31 01:30:54 +02:00
bechen
d75825c747 Bug 1350821 - Notify the mediaElement to render subtitle when the mCaption was created or re-created. r=rillian
MozReview-Commit-ID: 3RM7u8jumT9

--HG--
extra : rebase_source : 2a3ed8f304ac8fdf9c0cc897e2f70bd2d23e8101
2017-03-28 16:48:40 +08:00
JW Wang
83749eaa68 Bug 1351203. P2 - rename the variable and fix comments. r=kaku
MozReview-Commit-ID: Bs2uanapqR9

--HG--
extra : rebase_source : 431bcddbb23d60298a39cf4bb6c6fc8d5990a215
extra : source : 58f8153869933f3de7272b7058017acf60a82ec6
2017-03-28 14:46:34 +08:00
JW Wang
2c75e6cb53 Bug 1351203. P1 - change the type of LOW_VIDEO_THRESHOLD_USECS to TimeUnit. r=kaku
MozReview-Commit-ID: 47uMuLTPFPt

--HG--
extra : rebase_source : 4e6a9ac7e7c4b631cc880bafc4fa7bb86fb9d455
extra : source : 27b5c45872f2595e109a8c87df1365a9bd9d6f8d
2017-03-28 14:43:56 +08:00
Manish Goregaokar
1a52807756 Bug 1341102 - Update stylo test expectations
MozReview-Commit-ID: YQ4bixZsfo
2017-03-31 00:22:55 -07:00
Scott Wu
0e8a46bf3b Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : 661dc49e59066f983a802d5f4ebedc6cceb359ac
2017-03-30 14:34:38 +08:00
Mason Chang
96cc223a05 Bug 1347727 - Enable outer box shadows by default in WR. r=rhunt 2017-03-27 16:32:55 -07:00
Kartikaya Gupta
618a729ba9 Merge m-c to graphics
MozReview-Commit-ID: IhFmzYDQJte
2017-03-30 08:55:36 -04:00
Ted Mielczarek
2c431cb961 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : c328db9b979eb2ff1f469b6ebc4a63e7ac337c63
2017-03-27 14:40:22 -04:00
Ted Mielczarek
5f9adc61f1 bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW

--HG--
rename : toolkit/crashreporter/test/unit/test_crash_moz_crash.js => toolkit/crashreporter/test/unit/test_crash_rust_panic.js
extra : rebase_source : ba9f626ca2d2852f966e93401b8f8f7543615310
extra : source : 8c9117de1e7f40af42b7cbce25bc3780c032fe45
2017-03-31 12:08:57 -04:00
Ted Mielczarek
68002ffc75 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : 4ff228f90fe9114720f7f7a91df77a6899806a89
2017-03-27 14:40:22 -04:00
Dustin J. Mitchell
819ad4cb14 Bug 1350390: use optionally_keyed_by for worker-type; r=Callek
MozReview-Commit-ID: L2AxEZx1H0w

--HG--
extra : rebase_source : ec54f20e20e5297f07fda49a72bb7bdcca74232c
2017-03-27 16:09:44 +00:00
Henrik Skupin
3055f8532d Bug 1291320 - Make refresh command synchronous. r=ato,automatedtester
Update the refresh command to make it synchronous, and let it return
once the target page has been loaded. This can be accomplished by using
the loadListener object in listener.js.

MozReview-Commit-ID: Lc8QoGFeQrY

--HG--
extra : rebase_source : 1fd914aec1c55fe91a0de773cfd7ff22b5d12167
2017-03-27 16:16:36 +02:00
Henrik Skupin
bdc3b68d5c Bug 1291320 - Refactor page load algorithm for listener framescript. r=ato,automatedtester
This refactoring allows us to re-use the same load algorithm for
each command which could trigger a page load. It also takes remoteness
changes into account, and waits until the load has been done.

With this change we no longer check for readyState only, but observe
the necessary DOM events as fired for page unloads and loads. This will
help us to implement the page loading strategy later.

By observing the DOM events, I also expect a small increase of performance
for any kind of page load, given that we now return immediately and do not
have a delay of 100ms at maximum.

MozReview-Commit-ID: IVtO6KgJFES

--HG--
extra : rebase_source : 40f90e3b9d1bf0a2f9123271cd08513769616e41
2017-03-28 21:41:38 +02:00
Henrik Skupin
b6b4a474d6 Bug 1291320 - Disallow slow loading page to be put into the cache. r=ato,automatedtester
To delay the page load for our slowly served example page when using the
back or forward commands, the page doesn't have to be put into the browser
cache.

MozReview-Commit-ID: 4xMjR3SakZn

--HG--
extra : rebase_source : 024b8e702d95689defcee7e12496ce531e72d651
2017-04-03 22:40:48 +02:00
Andreas Tolfsen
8ecaf68f51 Bug 1350887 - Fall back to deprecated pref if it exists; r=whimboo
This is a follow-up to address a fallout caused by bug 1344748 whereby
deprecated preferences relevant to Marionette are no longer being
picked up.  This is preventing trace logs from being emitted in CI.

The old logic related to falling back to a deprecated preference is
faulty in that it the preferred, new preference always exists through
the power of testing/marionette/prefs.js.  This patch introduces a new
helper method getPref that first looks at whether the preferred pref
is set, and only falls back to the deprecated if it isn't set and the
deprecation preference exists.

MozReview-Commit-ID: 8DeawLAELyK

--HG--
extra : rebase_source : d75ff2eff3941c2cb074d4f3983a70ebd66b8043
2017-03-27 14:28:32 +01:00
Andreas Tolfsen
914224d736 Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 8be91ed46c443dd120cbc4b42c729cf3ae250b5f
2017-03-29 18:25:55 +01:00
Andreas Tolfsen
4725e008d0 Bug 1350887 - Skip recommended Marionette prefs for reftests; r=whimboo
The recommended Marionette preferences for use in automation are not so
useful when testing the browser itself.  Many of the tests for Firefox
have highly specific requirements, and setting the recommended Marionette
preferences could for these mean a deterioration of test coverage.

The majority of test harnesses utilising Marionette use it to install
unsigned add-ons at runtime, and these preferences are not relevant in
this context.

To avoid an unfortunate and unintended regression in test coverage,
we skip using the recommended Marionette preferences when we test the
browser itself.

MozReview-Commit-ID: 4DeHZfQEX7d

--HG--
extra : rebase_source : bf31d336df7c4c28c04454338a912632087aa3ff
2017-04-04 16:34:03 +01:00