Граф коммитов

460588 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander b0a690a852 Bug 1234629 - Post: Add simple bouncer APK docs. r=me
--HG--
extra : commitid : Cl8s8ivnO55
extra : rebase_source : 7c3e04d4952662d32904b9aa22039f0d976f69de
extra : amend_source : 0087a285e17e660e0729c6394e2e72cf5118d655
2016-02-04 11:23:27 -08:00
Nick Alexander e6d86b45b4 Bug 1234629 - Post: Make bouncer APK Java package org.mozilla.gecko, like the main APK. r=me
This small change is a follow-up to Bug 1242213, which did the same
for the main package.  This is a nod to the future and Gradle, which
cleanly splits the internal Java package (org.mozilla.gecko) from the
external Android package (org.mozilla.fennec and friends).

--HG--
extra : commitid : 6yO5ngkvK75
extra : rebase_source : d52161ed67a995e8b73683245443c5df41c5e6db
extra : histedit_source : 125732b8ff1a173cc95b04dde8970e34044ef39c
2016-01-27 15:28:12 -08:00
Nick Alexander 242ce6bb3e Bug 1234629 - Post: Add Gradle support for bouncer. r=me
--HG--
extra : commitid : 6jL7OTORPHp
extra : rebase_source : 8151fcd1768b7bfd0a4386dd68c8910894cae892
extra : histedit_source : 673771296f66c8ec5885fef25999e5e195a1767e
2016-01-26 11:54:00 -08:00
Nick Alexander 10ab42be96 Bug 1234629 - Part 3: Make bouncer's <intent-filter> set a larger subset of Fennec's <intent-filter> set. r=margaret
--HG--
extra : commitid : 5fizArOKIYO
extra : rebase_source : a1b22da0223425828ac34723ab50823b95af8b8d
extra : histedit_source : 08ea130e53c3fb45b44cbd7f2fa950b6433e3757
2016-01-27 15:44:29 -08:00
Nick Alexander aa19a9fc96 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.

--HG--
extra : commitid : 5KSz5ooYeb1
extra : rebase_source : 71ea30ce85ba33f58d887d3f90367103f99e0eff
extra : histedit_source : cf91111ebe61f87d64c304206e4ddc409aa26535
2016-01-27 14:34:46 -08:00
Nick Alexander 3814ebb59b 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.

--HG--
rename : mobile/android/javaaddons/Makefile.in => mobile/android/bouncer/Makefile.in
rename : mobile/android/app/assets/example_asset.txt => mobile/android/bouncer/assets/example_asset.txt
rename : mobile/android/javaaddons/moz.build => mobile/android/bouncer/moz.build
rename : mobile/android/base/resources/drawable-v21/logo.xml => mobile/android/bouncer/res/drawable-v21/logo.xml
rename : mobile/android/base/resources/drawable/logo.xml => mobile/android/bouncer/res/drawable/logo.xml
extra : commitid : 1XkuX1F0pMb
extra : rebase_source : 3154b4569efd4cccb4d5f72ff9bbff60d2744d3b
extra : histedit_source : 5e10ab9825bcf653a5a109c8e502658d52aedd79
2016-01-27 15:28:31 -08:00
Nick Alexander 278823d615 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.

--HG--
extra : commitid : HnKxkzVG9TW
extra : rebase_source : 9ae70f8a8012b37c6d13a2af0358a9a0891cf4d4
extra : amend_source : e581fa3a30abdeaa903be04e48a296c8da4ed482
extra : histedit_source : b2cc424a0f1f27c79d51b6632e7e923c5e742d4f
2016-01-26 17:06:27 -08:00
Nick Alexander 2a17912ca8 Bug 1168175 - Turn on screen and disable keyboard before running each test. r=gbrown
--HG--
extra : commitid : JONjBe2VlJ6
extra : rebase_source : 8b4e109343c4f18836f1383c87686f83a9be6641
2016-02-04 09:54:12 -08:00
Nick Alexander 989f114c4d 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.

--HG--
extra : histedit_source : aabcffd7434755a4978971a8da238253b15948b6
extra : rebase_source : 036d9eaa94f2c8293430c9e4bba2d8ac2c69e943
extra : commitid : 4AFfnZIJUHt
extra : source : baf25be8d4917e6dcc52eede79e61e1837328c86
extra : amend_source : 9839fd7f9a536e21e50530599eecf295c3067b03
2016-01-26 10:36:09 -08:00
Nick Alexander 3884e76c7e 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/.

--HG--
extra : commitid : BLgM6ZCm9AY
extra : rebase_source : a0896616f79f5a961476e4d2df9745516c58b44a
extra : source : e228040a044b7ff7363a178da2cb0b8b42724048
extra : histedit_source : 0b8f087bc6d70fa42401f4a2476898139bdf606c
2016-01-27 12:25:04 -08:00
Julian Descottes a3731f18e6 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.

--HG--
extra : commitid : CvYNKvoSNBl
2016-01-21 15:42:52 +01:00
Wes Kocher 4722a4bfe8 Backed out changeset 3d2eace770d1 (bug 1244120) for very frequent leaks on Win7 CLOSED TREE
--HG--
extra : commitid : AiLlcy3cWsb
2016-02-04 12:51:14 -08:00
Wes Kocher 7328567952 Backed out changeset 69ec780e039c (bug 1245225) for enabling a bunch of tests that frequently fail CLOSED TREE
--HG--
extra : commitid : KDIMv4ABWEs
2016-02-04 11:17:03 -08:00
Mark Banner 9af6bc434b Bug 1245937 - Disable browser_chat_window.js for test failures frallout from bug 1154277. rs=orange-fix CLOSED TREE
--HG--
extra : commitid : Eq7ILoNOBBc
2016-02-04 19:04:22 +00:00
Brian Grinstead 3b7a263008 Backed out changeset 16a675e05315 for breaking the browser toolbox on CLOSED TREE (bug 1188405)
--HG--
extra : commitid : BwEGym77VMS
2016-02-04 10:38:29 -08:00
Victor Porof b303256a7f Bug 1241570 - Split browser_perf-telemetry into multiple tests ON A CLOSED TREE, r=jsantell
--HG--
rename : devtools/client/performance/test/browser_perf-telemetry.js => devtools/client/performance/test/browser_perf-telemetry-01.js
2016-02-04 20:33:53 +02:00
Michael Comella 3018a400c5 Bug 1245711 - Update Adjust proguard cfg to match docs. r=mfinkle
--HG--
extra : commitid : YcfXwbaggL
extra : rebase_source : 785c03fc92005c10e4e2fa3520ff90803b296713
2016-02-03 16:49:30 -08:00
Brian Grinstead 0e1946feb5 Bug 1243992 - e10s fixes for browser_webconsole_bug_585991_autocomplete_keys.js;r=linclark
--HG--
extra : commitid : 6Z1BoCt5uQQ
2016-02-04 09:08:30 -08:00
Brian Grinstead 2f23d69d21 Bug 1243970 - e10s fixes for browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js;r=linclark
--HG--
extra : commitid : L7k9xSJfXJW
2016-02-04 09:07:51 -08:00
Carsten "Tomcat" Book 628cee03d9 Backed out changeset 3cd839e515b9 (bug 1245420) for timeouts in browser_responsiveruleview.js 2016-02-04 16:42:01 +01:00
Carsten "Tomcat" Book f04b97e3ce Backed out changeset f09ea2712445 (bug 1229913) 2016-02-04 16:41:33 +01:00
Dave Townsend 16cd1b6be9 Bug 1245712: Fix the XBL processor's handling of columns and leading and trailing whitespace.
--HG--
extra : commitid : 8j5aSAX6UVU
extra : rebase_source : 640c982879e58f5ae10ca57eda4226262ecced5c
2016-02-03 16:50:01 -08:00
Edouard Oger d9f2e6e1c0 Bug 1245505 - Localize correctly the last sync date. r=markh 2016-02-04 05:08:00 -05:00
David Rajchenbach-Teller 5ad17c3a22 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 2e0b046d19 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 408516b48d Bug 1245832 - Update pdf.js to version 1.4.42. r=bdahl 2016-02-04 09:29:47 -05:00
Mike de Boer 0d14a55807 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 0634370662 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 441868100d 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 a8f73b8d27 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 4af5fc2b24 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 641304978c Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book 55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Mark Banner 806b3d664c Bug 1239828 - Now that Loop's system-addon L10n is hooked up, remove redundant strings. r=Mardak
--HG--
extra : commitid : 20rYj3R1kLr
2016-02-04 10:42:19 +00:00
Mark Banner 177c4a246c Bug 1239828 - Support Loop's localisation mechanisms for Loop as a system-addon. r=glandium
--HG--
extra : commitid : GVXJo173Ueh
2016-02-04 10:42:19 +00:00
Mark Banner a01ba067f3 Bug 1239828 - Update Loop to the latest version. r=Standard8 for import of already reviewed code.
--HG--
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/af/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ar/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/as/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ast/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/be/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/en-GB/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ga/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/gl/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/gu-IN/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/hr/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ht/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/km/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ku/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/mk/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/mn/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ms/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/my/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ne-NP/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/or/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/son/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/te/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ur/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/vi/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/xh/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/zu/loop.properties
rename : browser/extensions/loop/chrome/skin/windows/toolbar.png => browser/extensions/loop/chrome/skin/windows/toolbar-win8.png
rename : browser/extensions/loop/chrome/skin/windows/toolbar@2x.png => browser/extensions/loop/chrome/skin/windows/toolbar-win8@2x.png
extra : commitid : IjiomiE0TmL
2016-02-04 10:42:18 +00:00
Alexandre Poirot 8178c87f2b 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).

--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
2016-02-04 02:20:56 -08:00
Alexandre Poirot 5a1faaaf7f Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Alexandre Poirot dd4512a3dd Bug 1214352 - Enable scratchpad in tab toolboxes. r=jryans 2016-02-04 02:20:55 -08:00
Nick Alexander b266bd6df2 Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)

--HG--
extra : commitid : FNz3fg58MOy
extra : amend_source : e24ac7d8fd3911a7e12ca71d8bb7e618aa1e78ac
2016-02-03 23:15:00 -08:00
CJKu eae7e3b398 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron.
--HG--
extra : commitid : JlCMq3C9wwB
extra : rebase_source : f9da96c973cc556b091623611157d25d94f5fd87
2016-02-04 14:11:35 +08:00
CJKu 5690fd95cb Bug 1244598 - Move resource files of w3c-css/masking into ./support subdir. r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/masking/blue-100x50-transparent-100X50.png => layout/reftests/w3c-css/submitted/masking/support/blue-100x50-transparent-100x50.png
rename : layout/reftests/w3c-css/submitted/masking/blue-100x50-transparent-100X50.svg => layout/reftests/w3c-css/submitted/masking/support/blue-100x50-transparent-100x50.svg
rename : layout/reftests/w3c-css/submitted/masking/transparent-100x50-blue-100X50.png => layout/reftests/w3c-css/submitted/masking/support/transparent-100x50-blue-100x50.png
rename : layout/reftests/w3c-css/submitted/masking/transparent-100x50-blue-100X50.svg => layout/reftests/w3c-css/submitted/masking/support/transparent-100x50-blue-100x50.svg
extra : commitid : 8cbhfOPgU6d
extra : rebase_source : c35dbfeae9c57d978b19ef59993efce9813a0293
2016-02-04 13:58:44 +08:00
Phil Ringnalda e8bf2f165a 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 035fd15b5c Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker
--HG--
extra : commitid : JrTgOvAJCi5
extra : rebase_source : 4066b697ea64fadca846a596f467d6f579acacd4
extra : histedit_source : 38fe9058a240185ee0453ad09f9be89a9386a303
2016-02-01 15:58:04 +01:00
Patrick Brosset 0be846b452 Bug 1245420 - Sort devtools/client/framework tests and clean-up browser_toolbox_tabsswitch_shortcuts.js; r=ochameau
--HG--
extra : commitid : 7K3BCxxznLO
extra : rebase_source : 40f867068b6bb224a2e9b9dabc01588548977c6a
extra : histedit_source : c8e5f9a52764120c5f670194d7a8e8272b0dc6dc%2C178cc34ed4b2f07e7ebaf70057eacaeac77324a3
2016-02-04 10:47:21 +01:00
Patrick Brosset c9bb161dae 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.

--HG--
extra : commitid : BUtFyFVXwYi
extra : rebase_source : 1553c9ebc1d8da035058552924e4ad3cd1b09f09
2016-02-03 18:52:02 +01:00
David Rajchenbach-Teller 6c74e5a50c Bug 1245371 - PERF_MONITORING_SLOW_ADDON_* should not expire in Firefox 49. r=Yoric
--HG--
extra : transplant_source : %9DV%DD.%0D%BF%06%8A%10%0CSC%11sv%8Cs%9C%DA%D6
2016-02-03 18:41:12 +01:00
Tracy Walker da45f722b7 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 68a3dd828b 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.

--HG--
extra : transplant_source : %3E%8Aj%12e%B9%A7%08i%8Ef%28%F5%5D69q%15%8E%99
2016-01-28 14:33:30 +01:00
David Rajchenbach-Teller 8402fc035a 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.

--HG--
extra : transplant_source : %C2%88%B1%DF%B2%B2.%A7%C7Ti%C8%A8%C0%CA0%15f%8D%C5
2016-01-27 13:34:58 +01:00