Commit Graph

497274 Commits

Author SHA1 Message Date
Markus Stange
f92c8259d3 Bug 1310814 - Add ObjC exception guards. r=spohl
With the added safety checks it's unlikely that anything in this function will
fire ObjC exceptions, but our rule is to have guards around every Objective C
function that can directly be called from C++ files.

MozReview-Commit-ID: GQ0bN5638Sf

--HG--
extra : rebase_source : 3919f4a2b8160f197e1690ba13b58319239848e1
extra : source : 3d233eddd929e0cb2cadf0b07f75d60aa3fba419
2016-10-18 11:23:38 -04:00
Markus Stange
6b58571417 Bug 1310814 - Use public NSLocale API for getting the system country code. r=spohl
This potentially changes behavior. On my machine, the old code returned
NS_ERROR_FAILURE because the dictionary did not have a "countryCode" entry,
but this new implementation correctly returns the string "CA".

MozReview-Commit-ID: 17Vme0fcAIw

--HG--
extra : rebase_source : 9ffc388ae98b11cb37c37957a8721e92284208c3
extra : source : e1a14b0c638571ec7f7aaec56f11d4b77dfb4dd5
2016-10-26 17:56:59 -04:00
Hiroyuki Ikezoe
4999550c29 Bug 1311196 - Part 3: Adjust fill mode to fill forwards for all animations on the compositor. r=birtles
MozReview-Commit-ID: DsIrWoxci0X

--HG--
extra : rebase_source : 559edb1756cf13b2677cabcc18321825c9fd8e4c
2016-10-26 17:19:38 +09:00
Hiroyuki Ikezoe
5c99fb8b87 Bug 1311196 - Part 2: Test that transition keeps the final style while the main thread is busy even if the transition finished on the compositor. r=birtles
This test is skipped on Android, since on Android it takes too long to send
the transition to the compositor.  On an Android emulator, it took 5s!
For this test case, 5s duration transition needs busyness on the main thread
more than 5s, it's undesirable.

MozReview-Commit-ID: DIqcwsnLttV

--HG--
extra : rebase_source : 256978c2a58fb483da4c0acac1db0e51fcf45ccd
2016-10-26 17:19:37 +09:00
Hiroyuki Ikezoe
d51fb9dbcc Bug 1311196 - Part 1: Add isOMTAEnabled() in testcommon.js. r=boris
MozReview-Commit-ID: FtJTXlsTACn

--HG--
extra : rebase_source : fe2a1df9c8edf3315d77b1f4070852234f2df070
2016-10-26 17:19:37 +09:00
J. Ryan Stinnett
5d51f47dfb Bug 1311178 - Expose some DevTools CSS as resource:// only. r=ntim
For CSS files which were used via both chrome:// and resource://, I converted
all usages to resource:// and removed the chrome:// copy to reduce file
duplication.

I believe most DevTools CSS could be using resource:// throughout, but that's
left as follow up work for now.

MozReview-Commit-ID: G7oxZqjodwv

--HG--
extra : rebase_source : d6ae487f35cdeddd32aa96d95d62113ba0565b2a
2016-10-19 16:19:29 -05:00
J. Ryan Stinnett
137f7ec3ea Bug 1311178 - Remove various duplicate DevTools files. r=ntim
MozReview-Commit-ID: ABtuFPC85OQ

--HG--
rename : devtools/client/themes/images/security-state-local.svg => devtools/client/themes/images/globe.svg
rename : devtools/client/themes/images/itemArrow-dark-ltr.svg => devtools/client/themes/images/item-arrow-dark-ltr.svg
rename : devtools/client/themes/images/itemArrow-ltr.svg => devtools/client/themes/images/item-arrow-ltr.svg
rename : devtools/client/themes/images/itemArrow-rtl.svg => devtools/client/themes/images/item-arrow-rtl.svg
rename : devtools/client/themes/images/debugger-blackbox.svg => devtools/client/themes/images/item-toggle.svg
extra : rebase_source : fe6f4a532d83a25ddf4083506c945f2b57015b27
2016-10-19 15:59:09 -05:00
Marco Bonardo
ab630e99be Bug 1251569 - It's not possible to hide the Blocked Popup menu by clicking its anchor button in urlbar. r=Dolske
MozReview-Commit-ID: 7L6JwLNJt5x

--HG--
extra : rebase_source : 97d9188694ecfeeb08fcea26797018cf5f38ccad
2016-09-28 13:52:44 +02:00
Jean-Yves Avenard
a4f3312d22 Bug 1311876: P3. Provide more details when audio decoder errors. r=gerald
MozReview-Commit-ID: Dbh2Cvyq1NH

--HG--
extra : rebase_source : 6fa83589965db1f63c80c18bb6c94b896c1b894b
2016-10-26 11:34:46 +11:00
Jean-Yves Avenard
83df18207f Bug 1311876: P2. Recreate audio decoder when an error occurs. r=gerald
MozReview-Commit-ID: CwQMZwSNndO

--HG--
extra : rebase_source : d76bd3c15f4d4fc54fcb6f4659ad3d501433f8be
2016-10-26 09:06:14 +11:00
Jean-Yves Avenard
f0515f7a99 Bug 1311876: P1. Flush audio decoder when error occurs. r=gerald
MozReview-Commit-ID: JaFfXj3xMat

--HG--
extra : rebase_source : b0929ead47ec912731a867b17ce17d59934f85c2
2016-10-26 08:48:47 +11:00
Jean-Yves Avenard
94530fa5a6 Bug 1312958: P2. Only delete the trackinfo object once the decoder has been shutdown. r=gerald
While it's unlikely to have been a problem as the decoder would have been idled at this stage. During the time the TrackInfo was reset and the decoder actually be shut down, the reference to the object would have been invalid causing a potential UAF.

MozReview-Commit-ID: 7pGJtYRy2Yr

--HG--
extra : rebase_source : d32b8ff393f55685ef182b00f286aea1d1d75464
2016-10-26 20:13:44 +11:00
Jean-Yves Avenard
f1049dae10 Bug 1312958: P1. Do not modify original Audio/Video info. r=gerald
The issue is particularly problematic with the Apple audio decoder. The Apple decoder relies on the sampling rate to configure the CoreAudio transform.
The actual output rate may be different (such as with HE-AAC). Should the decoder ever need to be reset again, future initialization would have failed as the initial rate was now incorrect.

MozReview-Commit-ID: 7kTiaUYuOgf

--HG--
extra : rebase_source : 00119a13205c610542a2f690ce6c3b9caeb1b69c
2016-10-26 20:09:41 +11:00
Alexandre Poirot
84abd2cc9a Bug 1311789: Fix the missing "Themes" legend in devtools options panel. r=jryans
MozReview-Commit-ID: 6ZpXntxvk3w

--HG--
extra : rebase_source : d129842a1dc81cce318e8e4e9e78ad5455bca8e4
2016-10-25 03:18:28 -07:00
Brian Stack
bbf6fceee0 Bug 1304180 - Set taskcluster artifact expiration to 28 days on try r=dustin
MozReview-Commit-ID: ECXCs9EkOYI

--HG--
extra : rebase_source : e1c52eaa1c3324b44851f9d3c88d69d0174b0f21
2016-10-25 11:47:50 -07:00
J. Ryan Stinnett
b158ffd8b6 Bug 1311605 - Support save page for RDM content. r=ochameau
MozReview-Commit-ID: J8d9J2GRkf5

--HG--
extra : rebase_source : 4948d1dc518a85239cd86fbcd73cd1e4d55b76ca
2016-10-25 12:54:26 -05:00
Eitan Isaacson
14a2b3bc99 Bug 1308030 - Add telemetry probes to narrate. r=bsmedberg,Gijs, data-review=bsmedberg
Added 2 probes:
1. Breakup by language of initilizations and available voice support for that language.
2. Speak time of narrate.

MozReview-Commit-ID: AGD8nON2m7N

--HG--
extra : rebase_source : 2bbd483bf48b92e290e726cea4f16c6ff5155b58
2016-10-14 16:49:57 -07:00
Kit Cambridge
f8747ad476 Bug 1312857 - Pass the correct change sources in getOrCreateTagFolder and importJSONNode. r=markh
MozReview-Commit-ID: Gga9kiC3AxK

--HG--
extra : rebase_source : 0b07551617c277aeaec619d0a4432874fc77e9ec
2016-10-25 11:39:56 -07:00
Sebastian Hengst
7e75e60f1f Backed out changeset 6a904e8a06a7 (bug 1272890) for timing out in test_ext_tab_teardown.html. r=backout 2016-10-26 19:01:38 +02:00
Sebastian Kaspari
1eefd99be6 Bug 1312033 - Activity Stream Top Sites: Never add more sites than returned by the cursor. r=ahunt
MozReview-Commit-ID: JONNSrRPNyW

--HG--
extra : rebase_source : 8f4f6adacc6b95d497a98f693783be5dfe6db94b
2016-10-25 15:16:40 +02:00
Sebastian Kaspari
463d8d9ba6 Bug 1311938 - Activity Stream: Use default base margin for "highlights" label. r=ahunt
MozReview-Commit-ID: BjCchrU6PZt

--HG--
extra : rebase_source : fa92fb3b160e099edaffd2523dc5605b57b9771c
2016-10-25 16:21:11 +02:00
Thom Chiovoloni
b041553ba8 Bug 1304534 - Enable "Send Tab to Device" on builds other than nightly r=markh
MozReview-Commit-ID: BNKYhCQsZey

--HG--
extra : rebase_source : 159b3d16e5cbbfde2fa71307a6fe270600daf5b5
2016-10-25 11:15:19 -04:00
Thom Chiovoloni
628bd1ae87 Bug 1312015 - Ensure that TPS catches failures when generating sync telemetry r=markh
MozReview-Commit-ID: HdXROi6Ctcj

--HG--
extra : rebase_source : e5f980222f0323c8aaff5f934e606092691d80cb
2016-10-25 12:13:34 -04:00
Henrik Skupin
9e17d950d7 Bug 1141483 - After a restart Marionette doesn't restore the previous context. r=automatedtester
MozReview-Commit-ID: KCI7UZn0NeZ

--HG--
extra : rebase_source : 1d743d69c1ab1e4ce3c2f90e474b5e27f9043814
2016-10-24 17:38:30 +02:00
Gregory Szorc
b547239226 Bug 1312475 - Add a version parameter to checkouts cache; r=dustin
ff5a4bab0813 (bug 1311791) and 332a08725ed0 (bug 1292071) changed
behavior of the VCS caches. First, the store cache / path was merged
into the checkouts cache. Then the path of the Mercurial shared store
was moved within the cache to always be rooted at the cache root.

Caches are shared across tasks. Tasks can execute on any revision
configured to use a cache. So, when interacting with caches, it is
important to consider how every revision configured to use that
cache will interact with it.

Take this scenario for example.

A worker executes a task where the hg shared store is rooted at
/home/worker/checkouts/src/hg-shared. Then the worker executes a
task where the hg shared store is rooted at
/home/worker/checkouts/hg-store. `hg robustcheckout` will see the
checkout from the first task. But then it sees that the store
it is pointing to is at an unexpected location
(checkouts/src/hg-shared instead of checkouts/hg-store). `hg
robustcheckout` aggressively normalizes state to ensure
consistency. So when it sees this mismatch, it blows away the
checkout and creates one from checkouts/hg-store to replace it.
That's a lot of overhead. And this cycle can repeat itself if
the right combination of revisions run on the worker!

A solution to this problem is to create a clean break from caches
when cache semantics change. In TaskCluster, that means using a
different cache.

This commit introduces a "version" component to the checkouts
cache name. By doing so, we create a clean break from all previous
caches, ensuring all revisions this point forward won't encounter
an hg shared store at an unexpected location. This also paves the
road for easily making additional clean breaks in the future.

MozReview-Commit-ID: JT8yuULKpch

--HG--
extra : rebase_source : 2e5d321e4314ff7543423d3c7837b770b7c8a3a3
2016-10-24 09:58:01 -07:00
Ralph Giles
1f1a694612 Bug 1303888 - Fix a logging typo. r=kinetik
The error message refers to video, not audio tracks. Looks like
a cut-and-paste error.

MozReview-Commit-ID: J6ur36FMSRF

--HG--
extra : rebase_source : 626e4b3287ce268d9daee26610a599c721116148
2016-10-25 16:43:28 -07:00
Ralph Giles
a45686ff52 Bug 1303888 - Accept flac from the rust mp4parse demuxer. r=kinetik
Recognize FLAC as an audio mimetype in MP4Metadata and prefer
the rust demuxer for it. Stagefright does not support this.

MozReview-Commit-ID: 7T4tCSCCNBk

--HG--
extra : rebase_source : b69c6e35d4e48c4d419856ee979eae893dbc72b1
2016-10-25 16:42:12 -07:00
Ralph Giles
c0890a4a2c Bug 1303888 - Update rust mp4parse. r=kinetik
Update to the latest upstream master, including skipping padding
at the end of some boxes, esds parsing and flac support.

MozReview-Commit-ID: GdHEQIrtyLB

--HG--
extra : rebase_source : 97e1d09725d813e0f2b31bed6ce80e16b0701fbe
2016-10-25 19:25:18 -07:00
Tomislav Jovanovic
204e680596 bug 1247793 - Implement download() options: method, headers and body, r=aswan
MozReview-Commit-ID: 2muhcweY8Fo

--HG--
extra : rebase_source : 30f0aabce48717caa963610c2fcf831a0b890702
2016-10-22 12:06:22 +02:00
Henrik Skupin
3b68400cf3 Bug 1280878 - Update safebrowing_notification test for changed Google URL. r=francois
MozReview-Commit-ID: 7jkbKM9FLXg

--HG--
extra : rebase_source : 4243b2dfedce63a26fa51e129cbb5e2c21499354
2016-10-26 13:30:20 +02:00
Carsten "Tomcat" Book
9031c83f32 Merge mozilla-central to autoland 2016-10-26 17:14:27 +02:00
Henry Chang
45d5eda33b Bug 1312323 - Consider the "single encoded value" case and bubble the decoding error up. r=francois.
MozReview-Commit-ID: 1GNFkMQ1JoD
2016-10-26 10:03:49 +08:00
Iris Hsiao
f80725bcd4 Backed out changeset f6927a9b3488 (bug 1294605)
CLOSED TREE
2016-10-26 17:55:01 +08:00
Iris Hsiao
b28cf9af87 Backed out changeset 8e21afb88dbb (bug 1294605)
CLOSED TREE
2016-10-26 17:54:51 +08:00
Iris Hsiao
ee5f311064 Backed out changeset 7545f9159a1b (bug 1294605)
CLOSED TREE
2016-10-26 17:54:40 +08:00
Iris Hsiao
750c49cf6f Backed out changeset 7511487c9b5e (bug 1294605) for Mochitest mda bustages
CLOSED TREE
2016-10-26 17:54:28 +08:00
Dan Gohman
66abfb6994 Bug 1306478 - BaldrMonkey: support arity-insensitive syntax; r=luke
MozReview-Commit-ID: Euf5jOK4OX4

--HG--
extra : rebase_source : 6e5f6432e32a73122fc76f9d4bb4bf9e793a96b3
2016-10-24 18:33:07 +02:00
Luke Wagner
c13c2f061b Bug 1311466 - A follow-up fix. Fix a todo in verifyWasmModule() by passing constructors of correct global to instanceof; r=janv 2016-10-26 11:10:08 +02:00
Jonathan Kew
3a650cc4a5 Bug 1312440 - Remove (unused) paired bracket data from our Unicode property tables when ICU is available. r=emk 2016-10-26 09:40:20 +01:00
Sergei Chernov
8e3719b7e2 Bug 1305289 - Certificate Transparency - basic UI indicator; r=Dolske,keeler
MozReview-Commit-ID: b0SUW2WNJT

--HG--
extra : rebase_source : 2bfa8895246f862f3e49c0c9674a8e862137f8a6
2016-09-28 20:19:56 +03:00
Fred Lin
d9621bf2ed Bug 1311591 - Implement clear button for Net Panel Toolbar;r=jsnajdr
MozReview-Commit-ID: LI2ObmV5BV3

--HG--
extra : rebase_source : a6d73690208531fb61c5c86d47867d4ade700e06
2016-10-24 13:55:05 +08:00
Chia-hung Tai
489763535c Bug 1311231 - Fix test_mixed_principals.html in XP. r=jwwang
Can not play mp4 on XP. So add the canPlayType checking for the test failure.

MozReview-Commit-ID: KH70XsQkYYF

--HG--
extra : rebase_source : fc08ea1aad6094757dcc7f72662d0d214b4bdeb7
2016-10-19 17:55:18 +08:00
Tomislav Jovanovic
47aa3f8372 bug 1272890 - implement match_about_blank for content scripts r=kmag
MozReview-Commit-ID: 3iZLpUw5LF4

--HG--
extra : rebase_source : d520a13211584af096f68cd0a2cfec022a72e413
2016-10-12 05:48:04 +02:00
Phil Ringnalda
0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Phil Ringnalda
8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
Phil Ringnalda
c28ca54cca Merge autoland to m-c, a=merge
MozReview-Commit-ID: IwOWQT0vnYa
2016-10-25 21:57:34 -07:00
Mike Conley
85ea24e315 Bug 1312597 - Increase ThreadStackHelper's initial max buffer size to avoid (chrome script) placeholder in BHR pseudostacks. r=jchen
MozReview-Commit-ID: 6gE4eug7cmY

--HG--
extra : rebase_source : 84b0270f251d6b715fcb2df04005ff437b9d3226
2016-10-25 14:28:23 -04:00
Geoff Brown
93d707e2e0 Bug 1285386 - Guard against NPE and other exceptions in SearchEngine creation; r=sebastian 2016-10-25 10:57:37 -06:00
Geoff Brown
0d6eb4cd88 Bug 1293895 - Guard against more exceptions in createEngineFromLocale; r=sebastian 2016-10-25 10:57:36 -06:00
Jim Chen
5f906265fe Bug 1307816 - 16. Fix charset for robocop_input.html; r=me
Trivial patch to include a meta charset line in robocop_input.html.
2016-10-25 12:28:54 -04:00