Commit Graph

284266 Commits

Author SHA1 Message Date
Randall Barker
37948c2c73 Bug 1247095 - Disable re-targeting mouse event in Fennec r=snorp 2016-02-10 08:20:01 -08:00
Lee Salzman
49d79c32e8 Bug 1241832 - change gfx.xrender.enabled pref so that xrender compositing is no longer used by default. r=jrmuizel 2016-02-10 10:59:35 -05:00
Ting-Yu Lin
bcc853bf1f 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.
2016-02-09 14:07:01 +08:00
Jan de Mooij
6758b8b516 Bug 1238935 - r=jonco 2016-02-10 16:57:37 +01:00
Jan de Mooij
6d80e796d6 Bug 1242279 - r=bhackett1024 2016-02-10 16:48:40 +01:00
Dustin J. Mitchell
8f8f6e302f Bug 1246947: revert use of caches for /tmp; a=bustage 2016-02-10 15:55:28 +00:00
Justin Wood
25bdb75c33 Bug 1245304 - Copy adjust-sdk-beta.token into mock env. r=hwine 2016-02-10 10:16:06 -05:00
Justin Wood
fdeb2d7fc3 Bug 1243363 - Add rust to beta and release mozconfigs. r=rail 2016-02-10 10:15:57 -05:00
Justin Wood
41a9c182c2 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
0e497202df Bug 1245580 - Post: document that OnFaviconLoadedListener runs on the UI thread r=liuche
MozReview-Commit-ID: HcsTHl8ttUQ
2016-02-04 19:22:59 -08:00
Andrzej Hunt
ba93f78e51 Bug 1245580 - Part 2: assert GeckoAppShell.createShortcut is run on background thread r=liuche
MozReview-Commit-ID: 4KsxfvQ5mOd
2016-02-04 19:24:20 -08:00
Andrzej Hunt
d6c52a90b1 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
4f10234469 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.
2016-02-03 15:39:16 -08:00
Michael Comella
518926dc7d Bug 1246839 - Close Reader in ApkResources. r=rnewman
MozReview-Commit-ID: Ks2AkrPDF3Q
2016-02-08 17:58:03 -08:00
Michael Comella
02f19e5d08 Bug 1246839 - Close FileOutputStream in BrowserApp. r=rnewman
MozReview-Commit-ID: C2tWuetVrqp
2016-02-08 17:55:48 -08:00
Michael Comella
5cc757ff9c 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.
2016-02-08 17:17:14 -08:00
Michael Comella
c8a726ba95 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.
2016-02-08 17:10:26 -08:00
Michael Comella
09f3302374 Bug 1246209 - Extract readJSONObjectFromFile out of getClientId. r=mfinkle 2016-02-08 15:03:21 -08:00
Andrzej Hunt
381ec4245d 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
48b2883653 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
b4b98f8444 Bug 1244496: Add more detail to TabOpen/TabClose events for tabs moved between windows. r=Gijs
MozReview-Commit-ID: 9YHaVlMW0T6
2016-02-10 17:52:53 -08:00
Felipe Gomes
24c859f6e2 Bug 1246245 - Webextensions and themes should also block initial e10s rollout. r=Mossop 2016-02-11 18:47:09 -02:00
Nick Alexander
8b0bb4ed37 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
2016-02-03 11:18:38 -08:00
Nick Alexander
4c83718b92 No bug - Include distributionSha256Sum in Gradle wrapper. r=me
MozReview-Commit-ID: 4YdR1qwByiz
2016-02-10 21:06:38 -08:00
Nick Alexander
e08a75f523 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
2016-02-11 10:07:20 -08:00
Mike de Boer
20139b13f8 Bug 1245937: re-enable browser_chatwindow.js mochitest. r=Standard8 2016-02-11 13:29:33 +01:00
malayaleecoder
705febdb2e Bug 1243821 - Remove unused Old Sync strings. r=nalexander
MozReview-Commit-ID: 48Nm8SxZEbG
2016-02-03 02:02:25 +05:30
Marco Bonardo
34211fb755 Bug 1243549 - Add missing bits. r=post-facto
MozReview-Commit-ID: BTRUMtNsSeQ
2016-02-11 16:09:17 +01:00
Alexandre Poirot
7768e6cdb7 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
37ff108c43 Bug 1245462 - DevTools is not longer exposed by gDevTools.jsm. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot
d7300b9b62 Bug 1245462 - Cleanup various require/import in devtools. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot
43a304febe Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Carsten "Tomcat" Book
34fa41e49c Merge mozilla-central to fx-team 2016-02-11 11:57:05 +01:00
Tracy Walker
2b89a6eb29 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
677233fcc5 Bug 1244766 - Remove optional Health Report callback parameter from Places telemetry. r=gfritzsche 2016-02-04 01:25:55 +07:00
Andrew Swan
6588ead784 Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm 2016-02-02 21:08:51 -08:00
Julian Descottes
050f86189e Bug 1246570 - mem.tool parentMap maps nodeId->node, remove verbose xpcshell logs;r=fitzgen 2016-02-10 17:57:37 +01:00
Vince Tieu
868d14365e Bug 524757 - "Add architecture and operating system to about:support". r=adw 2016-02-09 15:57:00 +01:00
Joe Walker
d7d495ed86 Bug 1243805 - Replace Proxy.create with new Proxy in devtools l10n code. r=jryans 2016-02-05 18:30:59 +00:00
Nicolas Chevobbe
ee4677067e Bug 1232681 - Display script-generated animations correctly. r=pbro
MozReview-Commit-ID: 2pk7sxVTHTk
2016-02-03 23:21:44 +01:00
Dave Townsend
6d156a175c 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.
2016-01-29 16:41:18 -08:00
Michael Comella
e245f43427 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.
2016-02-04 16:10:29 -08:00
Brian Grinstead
2a502cdca9 Bug 1246847 - Give extra timeout for mozscreenshots in between devtools docking mode changes;r=MattN 2016-02-09 09:33:58 -08:00
Brian Grinstead
b9ace6890d Bug 1246849 - Include all default tools in devtools mozscreenshot runs;r=MattN 2016-02-09 09:33:57 -08:00
Jordan Santell
7667af09df 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
25f6f2accf 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
be23968d78 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
387b6b4c4c Bug 1244248: Cache the certificate database during startup rather than getting it everytime it is needed. r=rhelmer 2016-02-09 08:36:36 -08:00
Dave Townsend
ecab1de927 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.
2016-02-08 10:11:14 -08:00
Dave Townsend
bc2bb508cc 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.
2016-02-08 10:55:56 -08:00