Commit Graph

482019 Commits

Author SHA1 Message Date
Mark Banner
64acf23056 Bug 1285974 - Land version 1.4.3 of the Loop system add-on in mozilla-central, rs=Standard8 for already reviewed code. 2016-07-11 16:22:03 +01:00
Carsten "Tomcat" Book
c4f94c21a0 Merge mozilla-central to fx-team 2016-07-11 16:25:10 +02:00
Carsten "Tomcat" Book
bd92616152 merge mozilla-inbound to mozilla-central a=merge 2016-07-11 16:21:15 +02:00
Carsten "Tomcat" Book
3ed844e5b9 merge fx-team to mozilla-central a=merge 2016-07-11 16:19:27 +02:00
Sebastian Hengst
c9b2e89a26 Backed out changeset 5b110e44f7a6 (bug 1279703) for failing browser_styleinspector_tooltip-longhand-fontfamily.js. r=backout 2016-07-11 13:37:21 +02:00
Carsten "Tomcat" Book
fed949c864 Backed out changeset 28cd5a9882d8 (bug 918721) for causing 1285919
--HG--
extra : rebase_source : 40556d76bdd348a2744317f5e141f9c7d1a78b1e
2016-07-11 13:10:29 +02:00
Carsten "Tomcat" Book
0d2c8ddbb2 Merge mozilla-central to autoland 2016-07-11 11:51:22 +02:00
Carsten "Tomcat" Book
579567479e Merge mozilla-central to fx-team 2016-07-11 11:50:13 +02:00
Carsten "Tomcat" Book
93ee226609 merge mozilla-inbound to mozilla-central a=merge 2016-07-11 11:47:38 +02:00
Carsten "Tomcat" Book
8604ef5140 Backed out changeset 31765c4f5ea4 (bug 1275330) for ESlint failures 2016-07-11 11:42:01 +02:00
Gian-Carlo Pascutto
bb409b10ab Bug 1285293 - Add fstatfs to seccomp-bpf whitelist. r=tedd
For some reason libfontconfig really Needs To Know.

MozReview-Commit-ID: KSET8D5h9xf

--HG--
extra : rebase_source : 10c5df6a4b8b85be120a9828686d0c63e3fff5d4
2016-07-11 10:54:48 +02:00
Gian-Carlo Pascutto
c4c92abf28 Bug 1285525 - Add sys_semget to seccomp-bpf whitelist. r=tedd
MozReview-Commit-ID: 1yV0uqiMSru

--HG--
extra : rebase_source : cbc57f22fc4b5818b1ac9857446d2190eaa359c2
2016-07-11 10:15:31 +02:00
Carsten "Tomcat" Book
3b3e07edb2 Merge mozilla-central to mozilla-inbound 2016-07-11 11:49:34 +02:00
Andrew Sutherland
7cf501d883 Bug 1167553 - Timeout-related Service Worker shutdowns should be reported. r=bkelly
Log a message when shutting down a service worker with pending promises.
Looks like:

Terminating ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/’ with
pending waitUntil/respondWith promises because of grace timeout.
2016-07-10 22:22:29 -04:00
Andrew Sutherland
6f183de053 Bug 1233798 - report to console when service worker register fails due to mime-type issues. r=bkelly
Log a message to the console when there is no Content-Type received for a
service worker or it's not a JS type.  With test.  Looks like:

Failed to register/update a ServiceWorker: Non-JS Content-Type of ‘text/plain’
received for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/sw_bad_mime_type.js’.
2016-07-10 22:22:28 -04:00
Andrew Sutherland
d1659931b7 Bug 1267473 - Report to console if service worker script 404s. r=bkelly
Add an error message of the following form for when a register/update job
fails for network reasons:

Failed to register/update a ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/network_error/’:
Load failed with status 404 for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/404.js’.

A mochitest is added that verifies this.

To simplify the process of logging error messages, ServiceWorkerManager gains
a new LocalizeAndReportToAllClients method that always provides the SW scope as
the first argument to the localized string since all good error messages should
include it.

Its argument list takes an nsTArray<nsString> in order to reduce the potential
for use-after-free scenarios from the char16_t** signature that unfortunately
has rippled outwards from the nsIStringBundle interface.  This potentially
results in more memory allocation and byte shuffling than is strictly
necessary, but we're also talking about rare error logging where it's
better to optimize for easily adding the messages without needing to get hung
up on the life-cycle of temporaries.

nsTArray gained a std::initializer_list in bug 1228641.  It is explicit, so
inline argument usages may take a form along the lines of:
`nsTArray<nsString> { string1, string2, ... }`

This change did necessitate a change to nsContentUtils to add an nsTArray
variant of FormatLocalizedString since the existing public function was
slightly too clever.  It used a template function to statically acquire the
number of arguments at compile time, which is not compatible with the dynamic
nsTArray usage. Since nsTArray may be useful to other consumers as well, I
placed the conversion logic in nsContentUtils.
2016-07-10 22:22:27 -04:00
Matt Woodrow
a871a80e98 Bug 1263092 - Improve error logging when reftests fail due to the screen resolution being too low. r=dholbert 2016-07-11 13:11:08 +12:00
Andrea Marchesini
ddb0a1be85 Bug 1279503 - part 2 - moving BrowserConfiguration in the ContentChild::InitXPCOM, r=gabor 2016-07-11 00:28:13 +02:00
Andrea Marchesini
0e242f0ac7 Bug 1279503 - part 1 - removed a non-used variable in BrowserConfiguration, r=gabor 2016-07-11 00:28:10 +02:00
stefanh@inbox.com
13348e25c7 Bug 1280827 - Remove some obsolete OS X version checks in gfx/. r=jrmuizel. 2016-07-10 13:11:33 +02:00
Wes Kocher
65ebeb046e Backed out changeset e097b3f7f21b (bug 1283415) for reftest failures in poster-4.html a=backout 2016-07-09 23:37:08 -07:00
Andrea Marchesini
5338858140 Bug 1285326 - Remove custom check in CheckUserContextCompatibility for UCI == 0 in nsWindowWatcher, r=smaug 2016-07-10 08:08:39 +02:00
Benoit Girard
70a0e5bad9 Bug 1284322 - Unblacklist NVIDIA >8.15.11.8265, >8.16.11.8265. r=jrmuizel
MozReview-Commit-ID: 6x9lWGEJCZ
2016-07-09 21:14:31 -04:00
Timothy Nikkel
8ef0c4f3e2 Bug 1285411. Mark preserve 3d children as "force descend into" before we mark absolute frames so that we can save the proper clip for more out of flow frames. r=mattwoodrow 2016-07-09 18:41:02 -05:00
Jared Wein
1f1db1d20c Bug 1283415 - Only set the poster src on the anonymous content if the attribute is not empty. r=cpearce
MozReview-Commit-ID: 9217JCdS1yP

--HG--
extra : rebase_source : a78599a3e3f1c81bed329672d8c16485b4fe5f3d
2016-07-07 13:20:54 -04:00
Jared Wein
c72dd2013f Bug 1278844 - Disable the Download Folder and Choose Folder elements if the browser.download.useDownloadDir pref is locked. r=MattN
MozReview-Commit-ID: 7biIaukj7Fp

--HG--
extra : rebase_source : 2cd19e9c060b5b7f6fc36e3afa9763383491e877
2016-07-07 14:31:05 -04:00
Phil Ringnalda
bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Phil Ringnalda
816f3fa167 Merge m-i to m-c, a=merge 2016-07-09 08:51:52 -07:00
Tim Nguyen
f332c75bae Bug 1283998 - Fix Fonts panel 'Show all' position on RTL locales. r=bgrins
MozReview-Commit-ID: 3VupMtAhcbD
2016-07-09 10:29:31 +02:00
Boris Zbarsky
d7dcc1d4c7 Bug 1275315 followup. Actually include all the headers we need, to fix non-unified builds. r=bustage 2016-07-09 01:52:42 -04:00
Masatoshi Kimura
25ce2ba428 Bug 1284840 - Don't forget TLS intolerance when a DHE-based cipher is used. r=keeler
MozReview-Commit-ID: 70pa7lCLAxQ

--HG--
extra : rebase_source : f7ac3984139ebab86997041550e255c80a90fda2
2016-07-09 13:44:10 +09:00
Boris Zbarsky
efc4dcf284 Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
Boris Zbarsky
4eb8d252a4 Bug 1275315 part 1. Add a Realm.h that defines getters for some standard prototype objects. r=waldo 2016-07-09 00:19:50 -04:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky
5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Wes Kocher
5f976429e1 Backed out changeset f7f37f4fd841 (bug 1029631) for gtest failures 2016-07-08 19:20:51 -07:00
Sotaro Ikeda
9a92018d0c Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical 2016-07-08 18:59:59 -07:00
Kartikaya Gupta
8a5ecf1d31 Bug 1029631 - Enable touch-action support on Nightly for all platforms. r=smaug
MozReview-Commit-ID: 80KzjezAhMy
2016-07-08 20:23:24 -04:00
Luke Wagner
c999164b02 Bug 1284155 - add #include to silence 32-bit unified compiler warning (r=me)
MozReview-Commit-ID: 9UQM63cfVSU

--HG--
extra : rebase_source : fbea588f641a204e08e054a8975f838709cad235
2016-07-08 18:49:46 -05:00
Daniel Holbert
05575e6215 Bug 1285660: Annotate DocshellEntryMonitor as 'final', to fix clang warning about it having virtual functions & explictly-invoked non-virtual destructor. r=bholley
(Its destructor is explicitly invoked by Maybe::reset(). This is fine, as long as there are no subclasses that need custom destruction behavior -- and 'final' proves that there are no subclasses.)

MozReview-Commit-ID: LKiw3CT6wN7
2016-07-08 16:20:18 -07:00
Geoff Brown
6c9e1864c5 Bug 1285675 - Grant READ_EXTERNAL_STORAGE to fennec during tests; r=me 2016-07-08 17:02:51 -06:00
Nick Fitzgerald
f05a7e46e3 Bug 1285074 - Add perror calls when pthread locking fails; r=terrence 2016-07-08 15:48:48 -07:00
Ruturaj
6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
JW Wang
fed5a4ba6d Bug 1283718. Part 6 - always check NeedMoreVideo() before requesting new video. r=kaku
We still have a chance to finish seeking even when video promises are rejected
provided we already have video samples in the queue.

MozReview-Commit-ID: 5cIbryiLMYt

--HG--
extra : rebase_source : bebed5ab2639686f75eb8aa122fe4e3aac3a98ca
2016-07-07 12:03:48 +08:00
JW Wang
5f103ef1ca Bug 1283718. Part 5 - move the call to EnsureVideoDecodeTaskQueued() out of MaybeFinishSeek() so we only request video in video callbacks. r=kaku
MozReview-Commit-ID: 3Hdwx26I9Mi

--HG--
extra : rebase_source : 9e9aa7e5acd2517904bb282746bba48cc43ce94c
2016-07-07 11:45:57 +08:00
JW Wang
44e9fa5a27 Bug 1283718. Part 4 - rename some function. r=kaku
MozReview-Commit-ID: CGOiy8SBjMR

--HG--
extra : rebase_source : 404b594b91473fecf2d445e402685ce080ae55aa
2016-07-07 11:39:56 +08:00
JW Wang
f0ef2f4515 Bug 1283718. Part 3 - replace some code with new helpers. r=kaku
MozReview-Commit-ID: 3fHSEoxdh9u

--HG--
extra : rebase_source : 0532da9c0b61f4c36acb52f397683e4560dc9a6a
2016-07-07 11:32:27 +08:00
JW Wang
d87290b303 Bug 1283718. Part 2 - fix the logic of IsVideoSeekComplete(). r=kaku
MozReview-Commit-ID: L1u5P5hWMAA

--HG--
extra : rebase_source : 670e70671e5e2449371b270303d933b6c044d091
2016-07-07 11:23:11 +08:00
Benjamin Bouvier
6b289d22cc Bug 1285522: Don't DCE opcodes which can throw exceptions at runtime; r=sunfish
MozReview-Commit-ID: 6TppTpNJ1Kx

--HG--
extra : rebase_source : 016b7055f664ff69a274454218818cc796c8b4be
2016-07-06 18:26:21 +02:00
Benjamin Bouvier
2d3673925f Bug 1283177: Tests; r=sunfish
MozReview-Commit-ID: FsYtHRpiYVD

--HG--
extra : rebase_source : 9a330aa0a6940ca09656049b4782ee0cdf4c9838
2016-07-08 13:07:11 +02:00