Commit Graph

283059 Commits

Author SHA1 Message Date
Nick Alexander
2533b6a1c6 Bug 1234629 - Part 3: Make bouncer's <intent-filter> set a larger subset of Fennec's <intent-filter> set. r=margaret 2016-01-27 15:44:29 -08:00
Nick Alexander
bd7c9cf824 Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.
2016-01-27 14:34:46 -08:00
Nick Alexander
a390c29b80 Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Nick Alexander
ca190092a3 Bug 1234629 - Pre: Make Distribution look in /data/data/$PACKAGE/distribution last. r=rnewman
Call a distribution in /data/data/$PACKAGE/distribution a "data
distribution".  Right now we read data distributions only in response
to writing them via another code path (extracting from APK, or
downloading).  We don't recognize a data distribution in the same way
that we recognize a system distribution (in /system/.../distribution)
in the Java code, simply because we don't look for it; and I haven't
investigated, but I think that Gecko may in fact recognize a data
distribution in this case.

This patch simply recognizes data distributions after looking for
other distributions.  That way data distributions written by the
bouncer APK are recognized and initialized, but not given precedence
over other distribution channels.
2016-01-26 17:06:27 -08:00
Nick Alexander
e075d1ad5b Bug 1168175 - Turn on screen and disable keyboard before running each test. r=gbrown 2016-02-04 09:54:12 -08:00
Nick Alexander
d8104a59cd Bug 1163082 - Part 2: Extract Android distribution from packaged assets rather than APK root. r=rnewman
This reads from "assets/distribution/**" in the APK and writes to
"distribution/**" in the data directory.  That output is the same, but
the input used to read from "distribution/**", which is not really
supported by modern build tooling (Gradle), which doesn't allow to
write files directly into the APK root.

I manually tested this without issue.  I see no way to add meaningful
tests to our current Robocop test suite; the long term testing
approach is to develop a new test for this functionality and only run
it against the "distribution" build type that was added in Bug
1163080.  However, that's a larger project than I have time for now.
2016-01-26 10:36:09 -08:00
Nick Alexander
61ddcc0a51 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.
2016-01-27 12:25:04 -08:00
Julian Descottes
3c349c1000 Bug 1240044 - wait for MozAfterPaint in browser_profiler_tree_abstract tests on CLOSED TREE;r=bgrins
While waiting for a fix at test harness level, added a helper waiting for MozAfterPaint
when running in e10s mode for all the browser_profiler_tree-abstract tests.
2016-01-21 15:42:52 +01:00
Wes Kocher
be5e6f9b9e Backed out changeset 3d2eace770d1 (bug 1244120) for very frequent leaks on Win7 CLOSED TREE 2016-02-04 12:51:14 -08:00
Wes Kocher
c3799c8915 Backed out changeset 69ec780e039c (bug 1245225) for enabling a bunch of tests that frequently fail CLOSED TREE 2016-02-04 11:17:03 -08:00
Mark Banner
67683dea2f Bug 1245937 - Disable browser_chat_window.js for test failures frallout from bug 1154277. rs=orange-fix CLOSED TREE 2016-02-04 19:04:22 +00:00
Brian Grinstead
c8279f69f0 Backed out changeset 16a675e05315 for breaking the browser toolbox on CLOSED TREE (bug 1188405) 2016-02-04 10:38:29 -08:00
Victor Porof
3dcfba762d Bug 1241570 - Split browser_perf-telemetry into multiple tests ON A CLOSED TREE, r=jsantell 2016-02-04 20:33:53 +02:00
Michael Comella
043c63414a Bug 1245711 - Update Adjust proguard cfg to match docs. r=mfinkle 2016-02-03 16:49:30 -08:00
Brian Grinstead
abec3d536b Bug 1243992 - e10s fixes for browser_webconsole_bug_585991_autocomplete_keys.js;r=linclark 2016-02-04 09:08:30 -08:00
Brian Grinstead
7fa09413d9 Bug 1243970 - e10s fixes for browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js;r=linclark 2016-02-04 09:07:51 -08:00
Carsten "Tomcat" Book
773930bc0f Backed out changeset 3cd839e515b9 (bug 1245420) for timeouts in browser_responsiveruleview.js 2016-02-04 16:42:01 +01:00
Carsten "Tomcat" Book
e982149b67 Backed out changeset f09ea2712445 (bug 1229913) 2016-02-04 16:41:33 +01:00
Dave Townsend
c3aac1ce9e Bug 1245712: Fix the XBL processor's handling of columns and leading and trailing whitespace. 2016-02-03 16:50:01 -08:00
Edouard Oger
f2e0e63e7a Bug 1245505 - Localize correctly the last sync date. r=markh 2016-02-04 05:08:00 -05:00
David Rajchenbach-Teller
89b5971b7c Bug 1243549 - Make sure that startup sanitization doesn't throw because it can't find a tabbrowser. r=mak 2016-02-04 09:40:40 -05:00
David Rajchenbach-Teller
259ea7a423 Bug 1243549 - SessionFile.wipe() now waits until SessionFile has been properly initialized. r=mconley
While investigating bug 1243549, we encountered several instances of the following error message during each startup:

*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: this.Paths is null
Full stack: Agent.wipe@resource:///modules/sessionstore/SessionWorker.js:296:7
worker.dispatch@resource:///modules/sessionstore/SessionWorker.js:21:24
anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16
@resource:///modules/sessionstore/SessionWorker.js:30:41

*************************

These messages can be explained as follows:

* If sanitization has failed during shutdown, it attempts again to
  sanitize during startup. This happens more often than it used to,
  because of 1/ startup bug fixes in bug 1089695; 2/ new shutdown bugs
  most likely also added by or around bug 1089695.

* Sanitization during startup doesn't wait until Session Restore has
  properly started to sanitize the session. So sanitization of Session
  Restore file fails. This has probably always been the case, except
  we never noticed.

* For some reason I do not understand, it attempts to sanitize several
  times.

* I suspect that this can cause problems during startup, as
  sanitization and Session Restore race to use/remove the files of
  Session Restore.

This patch makes sure that SessionFile.wipe() waits until
initialization of SessionFile is complete before proceeding.
2016-02-02 12:56:11 +01:00
Ryan VanderMeulen
b4dbb62bea Bug 1245832 - Update pdf.js to version 1.4.42. r=bdahl 2016-02-04 09:29:47 -05:00
Mike de Boer
a67e36967b Bug 1154277: follow-up - fix linting error by removing a leftover break statement. rs=me 2016-02-04 14:59:28 +01:00
Mike de Boer
17271d5649 Bug 1154277: Part 4 - Update the loop add-on and introduce a pref to switch e10s support for Loop/ Hello on or off. The default for now is off. r=Standard8 2016-02-04 14:02:04 +01:00
Mike de Boer
c01b4f7990 Bug 1154277: Part 3 - implement test changes to work in e10s mode as well. r=mixedpuppy,Standard8 2016-02-04 13:42:10 +01:00
Mike de Boer
f72d46f1cc Bug 1154277: Part 2 - support running Social API documents to run in a remote browser, i.e. the content process. f=mixedpuppy, r=Standard8 2016-02-04 12:50:06 +01:00
Mike de Boer
6c7fdd37b9 Bug 1154277: Part 1 - allow to swap docShells on remote browsers that are not a child of a BrowserDOMWindow. r=smaug 2016-02-04 12:50:03 +01:00
Carsten "Tomcat" Book
2a07da30de Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
f84c32592e merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Mark Banner
d7de75fdb7 Bug 1239828 - Now that Loop's system-addon L10n is hooked up, remove redundant strings. r=Mardak 2016-02-04 10:42:19 +00:00
Mark Banner
ccb2f3658b Bug 1239828 - Support Loop's localisation mechanisms for Loop as a system-addon. r=glandium 2016-02-04 10:42:19 +00:00
Mark Banner
6d6e584df4 Bug 1239828 - Update Loop to the latest version. r=Standard8 for import of already reviewed code. 2016-02-04 10:42:18 +00:00
Alexandre Poirot
0c63115a50 Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).
2016-02-04 02:20:56 -08:00
Alexandre Poirot
888f223469 Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Alexandre Poirot
8114cc3121 Bug 1214352 - Enable scratchpad in tab toolboxes. r=jryans 2016-02-04 02:20:55 -08:00
Nick Alexander
212a46e40e Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)
2016-02-03 23:15:00 -08:00
CJKu
a0ef27d251 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron. 2016-02-04 14:11:35 +08:00
CJKu
1360e68dd1 Bug 1244598 - Move resource files of w3c-css/masking into ./support subdir. r=dbaron 2016-02-04 13:58:44 +08:00
Phil Ringnalda
e0559feff1 Back out 3 changesets (bug 1245285) for e10s failures in test_layerization.html
Backed out changeset e0c8fb70a095 (bug 1245285)
Backed out changeset a211643de3b6 (bug 1245285)
Backed out changeset 41ea5de656a9 (bug 1245285)
2016-02-03 21:46:11 -08:00
Patrick Brosset
22b822662e Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker 2016-02-01 15:58:04 +01:00
Patrick Brosset
ce9397cb21 Bug 1245420 - Sort devtools/client/framework tests and clean-up browser_toolbox_tabsswitch_shortcuts.js; r=ochameau 2016-02-04 10:47:21 +01:00
Patrick Brosset
692812f45a Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.

This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.

Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js

Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.
2016-02-03 18:52:02 +01:00
David Rajchenbach-Teller
05b949b15f Bug 1245371 - PERF_MONITORING_SLOW_ADDON_* should not expire in Firefox 49. r=Yoric 2016-02-03 18:41:12 +01:00
Tracy Walker
89ed8c18ef Bug 1245225 - [e10s] Renabled working test cases. Simple case of removing relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_during_capture.js, 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-02 13:49:18 -06:00
David Rajchenbach-Teller
e42408288d Bug 1243241 - Make RDTSC monotonic. r=jandem
We assume that the total number of cycles spent executing JS code
during an event is equal to the number of cycles in the "top group",
i.e. a group to which everything belongs. While this is true in
theory, RDTSC is actually non-monotonic, so we can end up with fewer
cycles reported for the top group than for some groups whose execution
was actually shorter. When we end up in this situation, groups with
more cycles than the top group will be reported as using more CPU than
was actually used.

This patch fixes the situation by proxying RDTSC behind a trivial API
that ensures that values are monotonic during each tick.
2016-01-28 14:33:30 +01:00
David Rajchenbach-Teller
a0c73a47cb Bug 1142937 - AddonWatcher now communicates through nsIObserverService. r=felipe
The current API of AddonWatcher only supports a single callback. That's pretty unfriendly to testing, debugging, add-ons, etc.

This patch replaces the mechanism with a notification through the nsIObserverService.
2016-01-27 13:34:58 +01:00
Nick Fitzgerald
88834b127e Bug 1245302 - Wait for the HeapAnalysesWorker to reply before considering deleting a snapshot done; r=jsantell 2016-02-02 15:09:00 +01:00
Nick Fitzgerald
4888de9fea Bug 1245301 - Alphabetize memory tool's browser tests and use consistent naming; r=jimb 2016-02-02 15:09:00 +01:00
Helen V. Holmes
4e9527c3b0 Bug 1234349 - Land high-level design docs. r=bgrinstead
Optimize images

Move illustrator + sketch information into main svg.md file, r=bgrins
2016-02-03 09:45:00 +01:00