461790 Commits

Author SHA1 Message Date
Ting-Yu Lin
612a133caa Bug 1246185 - Do not collapsed <details> when preference off. r=bz
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.

--HG--
extra : rebase_source : 6b47e64672720ffecd23f670c31de1c7d92bee8c
2016-02-09 14:07:01 +08:00
Jan de Mooij
516923c1f6 Bug 1238935 - r=jonco
--HG--
extra : rebase_source : 69ef374808ce11eb4287be847bc0ac71431511f9
2016-02-10 16:57:37 +01:00
Jan de Mooij
e5729ae79f Bug 1242279 - r=bhackett1024
--HG--
extra : rebase_source : 638e8050c50ed2234137c28765589ee20597c082
2016-02-10 16:48:40 +01:00
Dustin J. Mitchell
090f9d825d Bug 1246947: revert use of caches for /tmp; a=bustage
--HG--
extra : commitid : 3dHAldu3CpK
extra : rebase_source : 89887ffd638b3b500402c667a3d94c6b29a970bc
2016-02-10 15:55:28 +00:00
Justin Wood
b9a6ddb1ac Bug 1245304 - Copy adjust-sdk-beta.token into mock env. r=hwine 2016-02-10 10:16:06 -05:00
Justin Wood
cb902acc42 Bug 1243363 - Add rust to beta and release mozconfigs. r=rail 2016-02-10 10:15:57 -05:00
Justin Wood
31da749c7c Bug 1242641 - Update gtk3 package in tooltool to specify the fontconfig path in the setup.sh r=glandium 2016-02-05 16:21:19 -05:00
Andrzej Hunt
1db589180d Bug 1245580 - Post: document that OnFaviconLoadedListener runs on the UI thread r=liuche
MozReview-Commit-ID: HcsTHl8ttUQ

--HG--
extra : amend_source : 5746458e4c849bd8f158875fb196ef4ae5c49b71
2016-02-04 19:22:59 -08:00
Andrzej Hunt
2e07d72f14 Bug 1245580 - Part 2: assert GeckoAppShell.createShortcut is run on background thread r=liuche
MozReview-Commit-ID: 4KsxfvQ5mOd

--HG--
extra : amend_source : 9ffa0e2433bb7a36b8b2d5a0f48ec40de7a6072c
2016-02-04 19:24:20 -08:00
Andrzej Hunt
fc37f57b23 Bug 1245580: Part 1 - doCreateShortcut no longer needs to be on the Background thread r=liuche
When doCreateShortcut was first created, it also handled webapp intents. This required additional
work, meaning doCreateShortcut had to be run on the background thread. We now only
create an Android Intent, with no additional work, hence we can run directly on the UI thread.

MozReview-Commit-ID: BFrAuNfDiFj
2016-02-04 19:22:16 -08:00
Nick Alexander
2a8a83c12d Bug 1173229 - Apply Google-recommended PRNG fixes before generating DSA keys. r=rnewman
See
https://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html
for a thorough discussion.

It's very expensive (at least 200ms on modern devices) to do this in
Application.onCreate, so we'll do this just before generating DSA keys.
In exchange, we accept some risk that we'll introduce the same issue
again.  As we lint more aggressively in automation, this risk will
decrease.

Google licenses the fixes file very permissively.  I have added some
serialization IDs to prevent certain compile warnings.

--HG--
extra : commitid : 2GRwurnHhvE
extra : rebase_source : 8d28b7d6541579d5f51f5173f7fe9a16ca39a982
extra : amend_source : ae37a4afa0754775fd0ccf94dc3718081dd37eb3
2016-02-03 15:39:16 -08:00
Michael Comella
61c3fdcf15 Bug 1246839 - Close Reader in ApkResources. r=rnewman
MozReview-Commit-ID: Ks2AkrPDF3Q

--HG--
extra : rebase_source : 276f8a6da9e0bb412a99b811f5f74c7524dee587
2016-02-08 17:58:03 -08:00
Michael Comella
9757386709 Bug 1246839 - Close FileOutputStream in BrowserApp. r=rnewman
MozReview-Commit-ID: C2tWuetVrqp

--HG--
extra : rebase_source : 9f2de78aba69401015d4d9d465972058493e91d5
2016-02-08 17:55:48 -08:00
Michael Comella
eac64c4181 Bug 1246209 - Add profile creation date to core ping. r=mfinkle
This patch adds 2 workarounds for the fact that getProfileCreationDate
returns -1 when it can't find a creation date. Returning -1 turned
out to be not particularly robust but I did it this way to avoid
adding too many additional versions of methods in order to have
optional parameters such as profileCreationDate. The workarounds
are added as TODOs w/ bug #'s in the code and mentioned in the
comments of bug 1246816 itself.

A future implementation should probably add a Builder to pass a
single Object as the argument to TelemetryPingGenerator.createCorePing
to prevent the argument list from growing unreasonably large and
to properly operate on optional parameters. I didn't do this in
this patch in order to simplify the uplifted code.

--HG--
extra : commitid : EbxIxtpDLIL
extra : rebase_source : 1f19eca9bc7a7847418fa8d4e87308e1e112aa2c
2016-02-08 17:17:14 -08:00
Michael Comella
3737208707 Bug 1246209 - Add getProfileCreationDate, implement from filestystem, & add stencil code. r=mfinkle
Retrieving the profile creation date from the filesystem is not strictly
necessary to upload this data and returns -1 until it is implemented. If the
decision is r+'d here, it will be implemented in bug 1246816.

--HG--
extra : commitid : EyjmshzbkwO
extra : rebase_source : 7b8fde6ae768b99a970db30eee352e2c84e901dd
2016-02-08 17:10:26 -08:00
Michael Comella
b896848502 Bug 1246209 - Extract readJSONObjectFromFile out of getClientId. r=mfinkle
--HG--
extra : commitid : X9f7CWrksn
extra : rebase_source : 559796f8b5299c9fa88679bd3adbe09d3164ad78
2016-02-08 15:03:21 -08:00
Andrzej Hunt
c56f803b17 Bug 1239823 - Part 2: sanitise input dates for DatePicker r=margaret
MozReview-Commit-ID: GiXgQwscGPT
2016-02-03 15:23:09 -08:00
Andrzej Hunt
9d054970c3 Bug 1239823 - Part 1: Parse min/max date before use r=margaret
MozReview-Commit-ID: 4th3CJwwcDg
2016-02-03 15:17:38 -08:00
Kris Maglione
1937bcbcae Bug 1244496: Add more detail to TabOpen/TabClose events for tabs moved between windows. r=Gijs
MozReview-Commit-ID: 9YHaVlMW0T6

--HG--
extra : rebase_source : 711c8a60e334fc3619ab9c915f7735c3729e7782
extra : histedit_source : 0399daf10a516f1595bdd5cc9a6964b5d4220117
2016-02-10 17:52:53 -08:00
Felipe Gomes
7d97e11e35 Bug 1246245 - Webextensions and themes should also block initial e10s rollout. r=Mossop
--HG--
extra : commitid : 26feLTKH1Qa
2016-02-11 18:47:09 -02:00
Nick Alexander
e144cf6610 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : ff1cf18a59c7c5633e238090cb6a9abb307ed4fb
2016-02-03 11:18:38 -08:00
Nick Alexander
ecc8db6350 No bug - Include distributionSha256Sum in Gradle wrapper. r=me
MozReview-Commit-ID: 4YdR1qwByiz

--HG--
extra : rebase_source : 7472d3c2349c1fbb8847f3cd94afaf5979f70b87
2016-02-10 21:06:38 -08:00
Nick Alexander
c2b4263d2c Bug 1247637 - Remove browser_intent_*; use ActivityUtils to open FxA links. r=sebastian
This fixes a crash, since Bug 1242213 removed the .App
<activity-alias> that browser_intent_class references.

I debated just updating the strings, and decided that it was best to
remove a pattern that is used only once in our codebase, even though
it moves more functionality to code.

MozReview-Commit-ID: 4Wgw0oITgue

--HG--
extra : rebase_source : 51cfb3e9d537b06a5303d74eeb4823723e4a7c0a
extra : amend_source : d09015b4b1356e42846ecd75ebbec4d3debd7bbd
2016-02-11 10:07:20 -08:00
Mike de Boer
7cfaf22e53 Bug 1245937: re-enable browser_chatwindow.js mochitest. r=Standard8 2016-02-11 13:29:33 +01:00
malayaleecoder
8d06b5c4b1 Bug 1243821 - Remove unused Old Sync strings. r=nalexander
MozReview-Commit-ID: 48Nm8SxZEbG

--HG--
extra : histedit_source : fb43607451033e9019c05f39e324597a84fc6a90
2016-02-03 02:02:25 +05:30
Marco Bonardo
0bffcc3559 Bug 1243549 - Add missing bits. r=post-facto
MozReview-Commit-ID: BTRUMtNsSeQ
2016-02-11 16:09:17 +01:00
Alexandre Poirot
3098c7e1bf Bug 1245462 - Explicitely import gDevTools r=jryans
toolbox.js was using Cu.import(gDevTools) without second argument
and ended up injecting gDevTools into all next modules being loaded.
Hopefully, fonts.js seems to be the only one relying on this!
2016-02-11 04:29:47 -08:00
Alexandre Poirot
766df00342 Bug 1245462 - DevTools is not longer exposed by gDevTools.jsm. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot
a2341d65e4 Bug 1245462 - Cleanup various require/import in devtools. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot
51759742d1 Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Carsten "Tomcat" Book
5d0f68bb3f Merge mozilla-central to fx-team 2016-02-11 11:57:05 +01:00
Tracy Walker
fd4704c50c Bug 1245225 - [e10s] Renabled working test cases. Remove relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm 2016-02-05 10:18:36 -06:00
Eric Hu
683bcc97c5 Bug 1244766 - Remove optional Health Report callback parameter from Places telemetry. r=gfritzsche 2016-02-04 01:25:55 +07:00
Andrew Swan
2779dbcc01 Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm 2016-02-02 21:08:51 -08:00
Julian Descottes
698c26c08d Bug 1246570 - mem.tool parentMap maps nodeId->node, remove verbose xpcshell logs;r=fitzgen 2016-02-10 17:57:37 +01:00
Vince Tieu
396f41105b Bug 524757 - "Add architecture and operating system to about:support". r=adw 2016-02-09 15:57:00 +01:00
Joe Walker
1218f357a4 Bug 1243805 - Replace Proxy.create with new Proxy in devtools l10n code. r=jryans
--HG--
extra : transplant_source : v%BE-%17%C2%07y%FEX%7D%E1%A1%DE%C4%CB%88P%9D%1E%AA
2016-02-05 18:30:59 +00:00
Nicolas Chevobbe
19409bcb7c Bug 1232681 - Display script-generated animations correctly. r=pbro
MozReview-Commit-ID: 2pk7sxVTHTk
2016-02-03 23:21:44 +01:00
Dave Townsend
2baeb943ca Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.

--HG--
extra : commitid : 24s3ni5gVYe
extra : rebase_source : a95571dc3556bb035511eea424ba57e8c7007eba
2016-01-29 16:41:18 -08:00
Michael Comella
c48a870a5f Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.

When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics.  That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present!  This patch restores the
Play Services libraries that Adjust relies on.  (Sadly, this bloats
our APK tremendously.)

There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23!  However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code.  This compiles
just fine, breaks the Proguard global optimization pass.  To give
Proguard the information, we add the library as a Proguard "library
JAR".  This is equivalent to the Google-provided Gradle `useLibrary`
directive.

--HG--
extra : commitid : I4rTyC8lxLd
extra : rebase_source : 96f30d735e898cb9853d53f236ac8e2337186814
extra : amend_source : 3e4d68789b3ef980e4e1d7f743e332bdbb6be176
2016-02-04 16:10:29 -08:00
Brian Grinstead
07130208f3 Bug 1246847 - Give extra timeout for mozscreenshots in between devtools docking mode changes;r=MattN
--HG--
extra : commitid : 2pcpRQ1ZNoM
2016-02-09 09:33:58 -08:00
Brian Grinstead
57a22e2ca2 Bug 1246849 - Include all default tools in devtools mozscreenshot runs;r=MattN
--HG--
extra : commitid : K0qClMze1zh
2016-02-09 09:33:57 -08:00
Jordan Santell
3d1b436035 Bug 1246273 - Add localized strings for types and attempts in the JIT opts view. r=vp 2016-02-09 09:08:22 -08:00
Jordan Santell
cb607b8be8 Bug 1243929 - Only show jit optimizations panel when pref is on and current selected frame has optimizations. r=vp 2016-02-09 08:58:15 -08:00
Jordan Santell
a63fe67c32 Bug 1172120 - Filter out uninteresting markers and bars in a test failing on linux/e10s consistently for marker details. r=vp 2016-02-09 08:40:00 -08:00
Dave Townsend
2f6755883b Bug 1244248: Cache the certificate database during startup rather than getting it everytime it is needed. r=rhelmer
--HG--
extra : commitid : 800Lx2U4lRD
2016-02-09 08:36:36 -08:00
Dave Townsend
5bf4a800b2 Bug 1142734: Stop using Timer.jsm to avoid replacing the browser window setTimout and clearTimeout functions. r=jsantell
jetpack-addon-harness.js runs in a browser window scope so it already has the
setTimeout functions available to it. Loading Timer.jsm overrides the DOM
timer functions with those from Timer.jsm. Any other code that used setTimeout
previously will have timer IDs from the DOM functions which don't match those
in Timer.jsm. If this other code attempts to clear a timer it can then end up
clearing an unrelated timer. In the intermittent failure here the
browser-thumbnails code manages to clear the timer that is waiting to resolve
the promise that makes tests continue.

I've also added an additional timer that throws an exception and so ends tests
if the add-on uninstall doesn't actually complete in a reasonable time as well
as removing the add-on listener.

--HG--
extra : commitid : 663HV2HWrjK
extra : rebase_source : 35fae1264532555c4b51ef964eae27a5ff3230e1
2016-02-08 10:11:14 -08:00
Dave Townsend
3b023fda99 Bug 1142734: Allow unloading the loader sandbox module. r=jsantell
const declarations are no longer accessible from outside the script that makes
them so in order for bootstrap.js to be able to access the loaderSandbox
declaration we must use var.

--HG--
extra : commitid : FhYP2fJJaXr
extra : rebase_source : d4877a4afbc4f139540987cfe8d1372f71aad388
2016-02-08 10:55:56 -08:00
Mark Finkle
81bf436655 Bug 1244966 - Re-enable testBookmarklets using a simpler test r=margaret 2016-02-09 11:24:36 -05:00
Shatur
c5404af319 Bug 1228170 - Remove legacy menu code from AppMenuComponent. r=sebastian 2016-02-02 23:46:58 +05:30