Wes Kocher
6cefd1798b
merge fx-team to m-c
2014-05-19 13:06:45 -07:00
Jim Chen
9ae694cea2
Bug 993261 - Remove legacy code for redirecting key events to URL bar. r=lucasr
2014-05-15 14:06:00 +02:00
Lucas Rocha
5bf2c96f02
Bug 1011533 - Update ShapeCurve's path in onSizeChanged instead of onMeasure (r=bnicholson)
2014-05-19 10:55:52 +01:00
Phil Ringnalda
d6d67da827
Merge f-t to m-c
2014-05-17 18:05:32 -07:00
Brian Nicholson
ccaf200a81
Bug 1011666 - GeckoSharedPrefs cleanup. r=mcomella
2014-05-16 14:15:41 -07:00
Chenxia Liu
6ee17c96ad
Bug 921136 - Unify removal behavior for bookmark-history-readinglist items from Home items. r=margaret
2014-05-16 14:07:25 -07:00
Jim Chen
7b9914ce14
Bug 1007290 - Remove text type code from ToolbarEditText. r=lucasr
2014-05-15 10:58:00 -04:00
Wes Johnston
518e9eb55f
backout b56da878caed and 8487d4305be3 (bug 901360) from Aurora for regressions a=mfinkle
2014-05-16 12:13:50 -05:00
Margaret Leibovic
68bc425df8
Bug 1009586 - Get rid of "Add panel" item in home settings. r=liuche
2014-05-16 13:09:15 +01:00
Margaret Leibovic
49bcfae7e2
Bug 1010237 - Remove unused data sent with Link:Favicon message. r=bnicholson
2014-05-16 13:09:12 +01:00
Jim Chen
513a1f1f4d
Bug 1000618 - Restart input after hiding it during blur. r=lucasr
2014-05-14 16:30:00 +02:00
Wes Kocher
738f9f9b41
Merge inbound to m-c
2014-05-15 15:59:45 -07:00
Chris Kitching
624120ad6f
Bug 1010348: Update mixed-content warning kb article for Android. r=margaret
2014-05-15 15:05:05 +01:00
Wes Kocher
20d1cb6360
Merge m-c to inbound
2014-05-16 17:15:49 -07:00
Jim Chen
b01bf0ce76
Bug 992357 - e. Add tests for NativeJSObject array support; r=blassey
2014-05-16 18:25:29 -04:00
Jim Chen
c0baa0f500
Bug 992357 - b. Add array support stubs; r=blassey
2014-05-16 18:25:29 -04:00
Jim Chen
a067a75235
Bug 992357 - a. Add array types to jni-generator.py; r=till
2014-05-16 18:25:28 -04:00
Mark Finkle
46a3f558a1
Backout ad3355a8d31f, c788ef01538a for being a bit too restrictive for user choice
2014-05-20 00:15:53 -04:00
Wes Kocher
57f1eaded2
Merge m-c to fx-team
2014-05-19 15:51:14 -07:00
Wes Johnston
c6cc7accfe
Bug 1001851 - Fall back to saving temp files if other file pickers fail. r=rnewman
2014-05-19 15:49:09 -07:00
Alexandru Chiriac
23ed7307c2
Bug 943908 - Show tooltip when long-pressing action bar items. r=wesj
2014-05-19 15:01:02 -07:00
Michael Comella
6c5c744747
Bug 1012795 - Pass resource ID name with editing mode cancel event. r=mfinkle
2014-05-19 14:37:17 -07:00
Brian Nicholson
67ef3e2f7f
Bug 993705 - Avoid third party lookup for number-only searches. r=mfinkle
2014-05-22 22:10:31 -07:00
Wes Kocher
35f022f74e
Backed out changeset cff9a2cee111 (bug 1014708) for breaking robocop-1
2014-05-22 21:23:10 -07:00
Michael Comella
cfb3125eab
Bug 958889 - Part 7: Prevent tablets from showing new remote tabs panel states. r=nalexander
2014-05-22 18:38:04 -07:00
Michael Comella
6468d2f41c
Bug 958889 - Part 6: Refresh remote tabs panel on activity resume. r=nalexander
2014-05-22 18:38:04 -07:00
Michael Comella
4ffc805315
Bug 958889 - Part 5: Make RemoteTabsContainer.show/hide idempotent. r=nalexander
2014-05-22 18:38:03 -07:00
Michael Comella
1540678b0e
Bug 958889 - Part 4: Add remote tabs verification screen for phones. r=nalexander
2014-05-22 18:38:03 -07:00
Michael Comella
4bfe4c3fa6
Bug 958889 - Part 3: Add RemoteTabsSetupPanel for phones. r=nalexander,lucasr
2014-05-22 18:38:03 -07:00
Michael Comella
f76d5f9623
Bug 958889 - Part 2.8: Add RemoteTabsPanel. r=nalexander
2014-05-22 18:38:03 -07:00
Michael Comella
450e0dfa4f
Bug 958889 - Part 2.7: Provide public read-only access to FXAccount state and resend verification code. r=nalexander
2014-05-22 18:38:02 -07:00
Wes Kocher
de6aa42072
Merge m-c to fx-team
2014-05-22 17:58:43 -07:00
Richard Newman
878f09d9cf
Bug 1014338
- Part 2: add delayed distro initialization hook. r=margaret
2014-05-22 17:35:44 -07:00
Richard Newman
f67506c519
Bug 1014338
- Part 1: rework distribution handling. r=margaret
...
This patch cleans up some of the distribution loading code, and provides a hook
point for callers to hang code that needs to run once the distribution has been
loaded.
2014-05-22 17:35:39 -07:00
Richard Newman
afa249ae94
Bug 1014338
- Part 0: move Distribution class into its own package. r=margaret
...
--HG--
rename : mobile/android/base/Distribution.java => mobile/android/base/distribution/Distribution.java
2014-05-22 17:34:04 -07:00
Richard Newman
df8f83dafb
Bug 1014338
- Pre: add ThreadUtils.assertNotOnUiThread. r=margaret
2014-05-22 17:34:04 -07:00
Richard Newman
5cac017587
Bug 1011008 - Part 2: handle system locale changes correctly in background code. r=nalexander
2014-05-22 17:31:45 -07:00
Richard Newman
f691965aa8
Bug 1011008 - Part 1: handle system locale changes correctly. r=nalexander
2014-05-22 17:31:20 -07:00
Margaret Leibovic
20e9e09a73
Bug 1014708 - Disable zoom for find in page. r=mfinkle
2014-05-22 10:59:05 -07:00
Mark Finkle
cd2208b4cb
Bug 1007431 - Add menu item that links to SUMO help r=rnewman
2014-05-22 16:31:40 -04:00
Masayuki Nakano
0fb6924886
Bug 865649 part.5 Set KeyboardEvent.code value on Android and Gonk r=smaug+nchen+mwu
2014-05-25 11:09:00 +09:00
Wes Kocher
4777505208
Merge m-c to inbound
2014-05-23 17:37:56 -07:00
Myk Melez
9b27636813
Bug 1014800 - don't redefine dump in browser context; r=wesj
...
--HG--
extra : rebase_source : a2e80414987cb24850973cb6d7bb1e5c7f8d5bba
2014-05-23 13:04:43 -07:00
James Willcox
32702bf86d
Bug 1014794 - Make console.log output go to logcat on Android once again r=baku
...
--HG--
extra : rebase_source : d56f2929e21ea048d3c5f58c53fce9d04377907a
2014-05-23 14:56:03 -05:00
Ryan VanderMeulen
7cac2ebe8e
Merge m-c to inbound.
2014-05-16 15:28:18 -04:00
Myk Melez
6bef85114f
Bug 1010587 - set android:debuggable="true" #ifdef NIGHTLY_BUILD and MOZ_DEBUG; r=nalexander
2014-05-16 12:03:39 -07:00
Marco Castelluccio
51f64d5cbb
Bug 972201 - Remove the MOZ_B2G_CERTDATA hack. r=briansmith
2014-05-18 15:42:42 +02:00
Blair McBride
0e3ff19f35
Bug 926712 - Use WebIDL to expose InstallTrigger, r=Mossop,bholley
2013-12-12 02:08:00 +00:00
Eugen Sawin
219e6bff01
Bug 1002426 - Check resolution restore status via specialized flag. r=kats, r=tn
2014-05-12 19:26:53 +02:00
Martyn Haigh
0b609a5aa5
Bug 970203 - Animate webapp update checking and downloading icons. r=wesj
2014-05-13 09:06:00 -04:00
Margaret Leibovic
142d777a9d
Bug 1005107 - Include charsetMenu.properties in localized files. r=Pike
2014-05-14 14:34:26 +01:00
Lucas Rocha
9246d63a13
Bug 1009574 - Use final en-US specific URLs on suggested sites (r=mfinkle)
2014-05-14 10:03:44 +01:00
Nick Alexander
2c2741fcd4
Bug 1009732 - Do only one Proguard pass when build is not MOZILLA_OFFICIAL. r=ckitching
...
DONTBUILD
This continues the convention that a developer build is when
MOZILLA_OFFICIAL is not defined.
2014-05-13 22:20:36 -07:00
Richard Newman
5b0facfaac
Bug 917480 - Part 6: tablet mode. r=nalexander
2014-05-13 20:50:28 -07:00
Richard Newman
0d3c0b2d9c
Bug 917480 - Part 5: UI telemetry for locale switching. r=mfinkle
2014-05-13 20:50:28 -07:00
Richard Newman
dab6073463
Bug 917480 - Part 4: handle resetting to the system default locale. r=nalexander
2014-04-29 13:41:38 -07:00
Richard Newman
a3baca5b53
Bug 917480 - Part 3: manifest changes for locale changes on API 17. r=nalexander
...
locale and layoutDirection need to appear together in android:configChanges
attributes. We specify these in any activity that we don't want Android to
automatically relaunch when a locale change occurs, which is most or all of
them.
2014-05-13 20:50:27 -07:00
Richard Newman
cf464dbd36
Bug 917480 - Part 2: add 'Language' section to top-level preferences, allowing for browser locale switching. r=nalexander
...
* * *
Bug 917480 - Part 2d: compute locale list at build time.
2014-05-13 20:50:27 -07:00
Richard Newman
b2ee81c754
Bug 917480 - Part 1: add basic locale preference handling to GeckoPreferences. r=liuche
2014-05-13 20:50:27 -07:00
Richard Newman
4b7421aabe
Bug 917480 - Part 0: refactor checking of isGeckoPref inside GeckoPreferences. r=liuche
2014-05-13 20:50:26 -07:00
Richard Newman
d2f89f7275
Bug 917480 - Pre: commenting. r=nalexander
2014-05-13 20:50:26 -07:00
Michael Comella
dd3d0b3998
Bug 1009279 - Change the margins to padding in the browser toolbar. r=bnicholson
2014-05-13 14:48:06 -07:00
Ryan VanderMeulen
d76da7eade
Merge inbound to m-c.
2014-05-13 16:27:03 -04:00
Margaret Leibovic
b926b05af9
Bug 1009473 - Use lighter gray for item descriptions. r=lucasr
2014-05-13 18:26:07 +01:00
Margaret Leibovic
99e4d5427d
Bug 1009473 - Remove padding around list item images. r=lucasr
2014-05-13 18:26:04 +01:00
Brian Nicholson
05096a868d
Bug 1009105 - Clean up PageActionLayout. r=margaret
2014-05-13 09:58:00 -07:00
Lucas Rocha
9f5e837dfb
Bug 997888/1008210 - Exclude pinned/top sites from suggested sites (r=mfinkle)
2014-05-13 16:33:19 +01:00
Lucas Rocha
6a575f0f59
Bug 997888 - Add API to exclude URLs from suggested sites (r=mfinkle)
2014-05-13 16:33:19 +01:00
Myk Melez
ab99abaf6a
Bug 1009311 - truncate AndroidLog tags longer than 18 characters; r=rnewman
2014-05-13 09:18:00 -07:00
Lucas Rocha
66e94c47c6
Bug 997777 - Optimize moveToPosition() in TopSitesCursorWrapper (r=wesj)
2014-05-13 14:08:30 +01:00
Carsten "Tomcat" Book
1a41da9023
Merge mozilla-central to fx-team
2014-05-13 12:48:23 +02:00
Carsten "Tomcat" Book
aa3f375bd1
merge fx-team to mozilla-central
2014-05-13 12:30:36 +02:00
Michael Comella
1511800656
Bug 1001243: Disable tabs button when in editing mode. r=bnicholson
2014-05-12 15:19:16 -07:00
Mark Finkle
b430657451
Bug 1008645 - Add UI telemetry for First-run r=bnicholson
2014-05-12 18:16:51 -04:00
Mark Finkle
c333dccb60
Bug 1008386 - Add thumbnail position to griditem loadurl probe r=lucasr
2014-05-12 18:16:44 -04:00
Nick Alexander
67fb89c202
Bug 1003359 - Delete existing zip before zipping resources. r=mcomella
2014-05-12 15:08:49 -07:00
Ryan VanderMeulen
4861e4d265
Merge m-c to fx-team.
2014-05-12 16:33:27 -04:00
Ryan VanderMeulen
df91ea951b
Merge inbound to m-c.
2014-05-12 16:32:53 -04:00
Ryan VanderMeulen
16faa8db28
Merge m-c to inbound.
2014-05-12 16:35:37 -04:00
Wes Johnston
2ffe81dd9f
Bug 990642 - Try harder to find an extension to use when sharing images. r=mfinkle
2014-05-12 10:13:45 -07:00
Wes Johnston
6e08f524ef
Bug 990642 - Reinsert code to share images instead of just urls. r=mfinkle
2014-05-12 10:13:44 -07:00
Lucas Rocha
7db9cf678d
Bug 1008295 - Replace ArrayMap with HashMap in TopSitesCursorWrapper (r=mfinkle)
2014-05-12 17:22:02 +01:00
Carsten "Tomcat" Book
0eef94abf9
merge mozilla-inbound to mozilla-central
2014-05-12 13:33:19 +02:00
Steve Workman
f039855788
Bug 1007959 - Reduce HTTP Idle connection timeout on FxOS and Android for conservative battery use r=mcmanus
2014-05-12 12:10:48 -07:00
Vivek Balakrishnan
6823c231cd
Bug 944144 - Implement NavigationHelper.reload. r=mcomella
2014-05-07 16:24:00 -04:00
Ryan VanderMeulen
ec4efe3858
Backed out changeset ab1394be8e93 (bug 1001129) for robocop crashes.
...
CLOSED TREE
2014-05-12 15:11:08 -04:00
Wes Johnston
cbb31da4e0
Bug 1001129 - Autoselect an item in icon grid inputs. r=mfinkle
2014-05-12 10:18:54 -07:00
Margaret Leibovic
158c4ff827
Bug 999756 - Add parameter to HomeStorage.save to allow replacing existing items. r=lucasr
2014-05-13 09:13:31 +01:00
Margaret Leibovic
d0c32c9b17
Bug 999756 - Delay sending "HomePanels:RefreshDataset" message to Java. r=lucasr
2014-05-13 09:13:31 +01:00
Margaret Leibovic
e82b4d8b30
Bug 965452 - Limit number of items stored per dataset. r=rnewman
2014-05-13 09:13:30 +01:00
Ryan VanderMeulen
be4a497993
Merge m-c to inbound.
2014-05-09 16:56:26 -04:00
Ryan VanderMeulen
a23138fe7b
Merge b2g-inbound to m-c.
2014-05-09 16:02:25 -04:00
Ryan VanderMeulen
98421f2ca0
Merge inbound to m-c.
2014-05-09 15:52:02 -04:00
Lucas Rocha
906a24e20b
Bug 1007645 - Don't use opacity filter on suggested sites' background (r=mfinkle)
2014-05-09 16:40:02 +01:00
Lucas Rocha
0f893ad533
Bug 997768 - Use SUGGESTION telemetry method for suggested sites (r=mfinkle)
2014-05-09 16:38:36 +01:00
Lucas Rocha
8762b861e1
Bug 997780 - Load suggested sites images in TopSitesGridItemView (r=wesj)
2014-05-09 16:36:54 +01:00
Lucas Rocha
3794d8045f
Bug 997782 - Use suggested sites in the top sites query (r=wesj)
2014-05-09 16:34:55 +01:00
Lucas Rocha
4f6cd13d30
Bug 997782 - Wrap suggested sites in TopSitesCursorWrapper (r=mfinkle)
2014-05-09 16:34:54 +01:00
Lucas Rocha
fe3c38adfe
Bug 997782 - Precompute number of pinned sites before current position (r=wesj)
2014-05-09 16:34:54 +01:00
Lucas Rocha
0a88b844a0
Bug 997782 - Only include visited pages in the top sites query (r=wesj)
2014-05-09 16:34:54 +01:00
Myk Melez
0780b332ba
bug 1004825 - prioritized, tagged Android logging in JS; r=mfinkle, marco
2014-05-09 13:15:54 -07:00
Geoff Brown
75486c1046
Bug 1004668 - Update robocop testUITelemetry; r=rnewman
2014-05-09 06:43:21 -06:00
Alexandre Lissy
945a46f5a9
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty,bent
2014-05-08 23:16:00 +02:00
Wes Kocher
54f2dadcee
Backed out changeset 21d743a319c6 (bug 967475) for apparently introducing two hazards to the build
2014-05-08 16:06:40 -07:00
Alexandre Lissy
8bf8be15f1
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty, r=bent
...
--HG--
extra : rebase_source : 595b53c85f031784bd77591d4e0593e60b39ccfd
2014-05-08 10:07:00 -04:00
Mark Finkle
a990488147
Bug 1007095 - Add UI telemetry for Reader actions r=lucasr
2014-05-08 09:10:39 -04:00
Carsten "Tomcat" Book
ef5d15a460
merge fx-team to mozilla-central
2014-05-08 13:57:32 +02:00
Mark Finkle
bc99c6c94e
Bug 1006670 - bustage fix r=bustage
2014-05-07 23:51:02 -04:00
Nick Alexander
48f1a19a81
Bug 1004556 - Expose list of shipped locales to Fennec Java code. r=glandium
2014-05-07 20:21:22 -07:00
Mark Finkle
5ceb1ee534
Bug 1006670 - Cleanup some Session names r=liuche
2014-05-07 22:53:54 -04:00
Mark Finkle
abbe6df772
Bug 1006670 - Add UI Telemetry for 'Switch to native application' android icon r=liuche
2014-05-07 22:53:50 -04:00
Wes Kocher
b0cf98eb6e
Merge m-c to fx-team
2014-05-07 17:41:06 -07:00
Wes Kocher
0e7578947c
merge inbound to m-c
2014-05-07 17:06:22 -07:00
Nick Alexander
8186ac9ac7
Bug 1002575
- Part 2: Display "Last synced" time in Synced tabs panel. r=rnewman
...
For the resources, I kept the client/last_synced (group) text sizes the
same as the tab/url (child) text sizes; and I kept the group height the
same as the child height (since I didn't want to calculate the new group
size); and I stripped the (unnecessary) backgrounds.
2014-05-07 17:05:50 -07:00
Nick Alexander
b5b3d9a8c8
Bug 1002575
- Part 1: Expose client lastModified in TabsAccessor. r=rnewman
2014-05-07 17:05:49 -07:00
Kartikaya Gupta
161c8400d7
Bug 859683 - Allow scrolling in full-screen mode if and only if the full-screen element is the document element. r=wesj
2014-05-07 15:22:14 -04:00
Ryan VanderMeulen
e359c4c12a
Backed out changeset e2bba39c0385 (bug 995777) for Android 4.0 robocop-2 perma-fail.
2014-05-07 15:17:20 -04:00
Michael Comella
06086e3e8b
Bug 1005924 - Find url bar translation with cancel button.
2014-05-07 11:28:42 -07:00
Mike Hommey
a3763119d1
Bug 1007010 - Don't include mozconfig.cache twice in android debug mozconfigs. r=mshal
...
Also avoid multiple includes of mozconfig.cache to do nasty things even if
they slip in.
2014-05-08 10:36:42 +09:00
Robert Kaiser
b2da98ed85
Bug 1006615 - Update extensions.blocklist.itemURL and extensions.blocklist.url to new blocklist domain, r=Mossop,jason
2014-05-07 12:11:56 +02:00
Carsten "Tomcat" Book
fe7b5cef61
Merge mozilla-central to mozilla-inbound
2014-05-07 14:13:38 +02:00
Mark Finkle
1d76e797e1
Bug 1006973 - Fix bustage in casting pageaction r=wesj
2014-05-07 07:56:22 -04:00
Brad Lassey
8fe67c95cb
bug 1006494 - SimpleServiceDiscovery shouldn't add a trailing slash to services' location r=mfinkle
2014-05-06 14:40:05 -04:00
Lucas Rocha
684b373e5c
Bug 997660 - Use TopSites.TYPE* in top sites grid UI (r=wesj)
2014-05-07 12:01:20 +01:00
Lucas Rocha
0e461f8934
Bug 997660 - Remove unnecessary cursor checks in bindView (r=wesj)
2014-05-07 12:01:20 +01:00
Lucas Rocha
81ffa16c3a
Bug 997660 - Remove unused methods from TopSitesGridItemView (r=wesj)
2014-05-07 12:01:20 +01:00
Lucas Rocha
41e5875d93
Bug 997660 - Rename variable to better match its semantics (r=wesj)
2014-05-07 12:01:19 +01:00
Lucas Rocha
28e5835635
Bug 996657 - Factor out code to check valid cursor positions (r=wesj)
2014-05-07 12:01:19 +01:00
Lucas Rocha
adf4becacb
Bug 996657 - Factor out code to update cursor positions (r=wesj)
2014-05-07 12:01:19 +01:00
Lucas Rocha
1b49637043
Bug 996657 - Streamline schema for TopSitesCursorWrapper (r=wesj)
2014-05-07 12:01:19 +01:00
Lucas Rocha
fa88af331f
Bug 996657 - Store pinned sites cursor and fetch values from it (r=wesj)
2014-05-07 12:01:18 +01:00
Lucas Rocha
8f6a685e85
Bug 996657 - Change TopSitesCursorWrapper to be a Cursor (r=wesj)
2014-05-07 12:01:18 +01:00
Lucas Rocha
8a13b4683c
Bug 996657 - Simplify top sites cursor by introducing row types (r=wesj)
2014-05-07 12:01:17 +01:00
Brad Lassey
cfdaa8975b
bug 995777 - browser.properties: rename getUserMedia.videoDevice.prompt to reflect new string r=mfinkle
2014-04-18 15:01:56 -04:00
Richard Newman
37b0064b99
Bug 1006805 - Simplify HardwareUtils. r=mfinkle
2014-05-06 14:32:54 -07:00
Jim Chen
e2e41e4fef
Bug 1003670 - Add testEventDispatcher. r=bnicholson, r=mcomella
2014-05-05 13:18:00 -04:00
Ryan VanderMeulen
8843761b1f
Merge m-c to fx-team.
2014-05-06 16:53:11 -04:00
Ryan VanderMeulen
f0e2260c0b
Backed out changeset 14a43400007e (bug 859683) for robocop failures.
2014-05-06 15:38:28 -04:00
Mark Capella
aa47f718b2
Bug 980074 - (p1) Tweak to disable test on Android 2.3, r=wesj, f=mcomella
2014-05-06 15:26:04 -04:00
Mark Capella
b693326065
Bug 980074 - (p0) Base Tests for text selection, r=wesj
2014-05-06 15:26:04 -04:00
Kartikaya Gupta
a0e4ae7476
Bug 859683 - Allow scrolling in full-screen mode if and only if the full-screen element is the document element. r=wesj
2014-05-06 13:33:13 -04:00
Wes Johnston
217586bb12
Bug 996129 - Don't thumbnail sites with cache control headers set. r=kats
2014-05-05 22:33:29 -07:00
Wes Kocher
514ce002bc
merge fx-team to m-c
2014-05-05 20:52:49 -07:00
Wes Johnston
4a48e3b766
Bug 854040 - Re-enable mini-app mode on Samsung phones. r=blassey
2014-05-05 16:30:30 -07:00
vivek
762f7fa76a
Bug 977167 - Open tabs should be filtered to exclude about:, chrome: etc. URLs prior to flushing to DB. r=rnewman
2014-05-05 11:35:21 -07:00
Nick Alexander
d43aaa29c5
Bug 1000676 - Post: Return existing interval from search(). r=mfinkle
2014-05-05 11:27:57 -07:00
Nick Alexander
988a51c8dc
Bug 1000676 - Post: Expose SimpleServiceDiscovery.EVENT* constants. r=mfinkle
2014-05-05 11:27:56 -07:00
Nick Alexander
2712067761
Bug 1000676 - Part 2: Add MOZ_DEVICES and register about:devices. r=mfinkle
2014-05-05 11:27:56 -07:00
Nick Alexander
37bce631c2
Bug 1000676 - Part 1: Add aboutDevices.* files. r=mfinkle
2014-05-05 11:27:56 -07:00
Nick Alexander
d1d48c29e1
Bug 976216 - Part 2: Purge startup caches when starting Gecko in developer builds. r=mfinkle
...
This change only impacts developer builds. A developer build is one
where MOZILLA_OFFICIAL is not set.
The startup cache is invalidated when the buildid changes; see [1] for
details. For MOZILLA_OFFICIAL builds, the buildid is always bumped, so
the startup cache is always fresh on a package re-deploy to device.
Most developers re-deploy using |mach build mobile/android && mach
package && mach install| or similar. This does not bump the buildid.
The re-deployed package will read the out-dated startup cache, leading
to frustrating inconsistencies when developing Javascript, especially
chrome content and module JSMs.
This change purges the startup caches every time Gecko is started in
developer builds. This keeps the running Javascript consistent (which
is good for development), but incurs a startup performance
penalty (since the cache must be purged, and since the cached files must
be recompiled, etc).
[1] http://hg.mozilla.org/mozilla-central/file/901d300bb441/toolkit/xre/nsAppRunner.cpp#l2350
2014-05-05 11:27:55 -07:00