Commit Graph

494108 Commits

Author SHA1 Message Date
Nick Alexander
5021324e94 Bug 1291363 - Make Gradle build produce GeckoView AAR. r=chmanchester
We also include the example APK, since it will be helpful to be able
to regression test the example without downloading the AAR and
manually building the example with that AAR.

MozReview-Commit-ID: CMtA1FRS0Rf

--HG--
extra : rebase_source : 42bab43c69093bd008242ec96e74f53bde150583
2016-10-03 10:08:13 -07:00
Nick Alexander
b4c52f8bca Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6

--HG--
extra : rebase_source : 0c80117fb58e43f9c857027941f0a14f03b97f13
2016-10-05 20:23:38 -07:00
Phil Ringnalda
3bbb4273cb Merge m-c to f-t 2016-10-05 20:52:02 -07:00
Phil Ringnalda
76609a05d6 Backed out changeset ad324639bfae (bug 1304178) for slowing down debugger tests enough to make their Linux32 debug test chunks exceed the 80 minute limit
MozReview-Commit-ID: L8rkkQxTdff
2016-10-05 20:42:31 -07:00
Jim Chen
bfe19431c6 Bug 1305498 - Refactor notification code to be more concise; r=sebastian
Bug 1305498 - 1. Remove NotificationClient task queue; r=sebastian

Not sure why we needed a task queue for NotificationClient actions. The
actions all go through IPC and are non-blocking, so it's perfectly fine
to perform them off of whatever thread we're on.

Bug 1305498 - 2. Integrate NotificationHandler et al into NotificationCllient; r=sebastian

There's no reason to have NotificationHandler, AppNotificationClient,
and ServiceNotificationClient all separate from the base
NotificationClient class. This patch adds the functionality of
those three classes to NotificationClient.

The notifications hash map is changed from a ConcurrentHashMap to a
regular HashMap with synchronization because I think the use case here
doesn't warrant the added performance and overhead of ConcurrentHashMap.

NotificationService is changed to match the new NotificationClient. Now
the only job for NotificationService is to set a notification as
foreground, rather than to manage all notifications like before.

NotificationHandler, AppNotificationClient, and
ServiceNotificationClient will be removed in a later patch.

Bug 1305498 - 3. Set NotificationListener in GeckoApplication; r=sebastian

Set NotificationListener once in GeckoApplication.onCreate, instead of
spreading it out in GeckoApp, BrowserApp, and GeckoService. This is
possible because there's no longer a distinction between
AppNotificationClient and ServiceNotificationClient in the new,
consolidated NotificationClient.

Bug 1305498 - 4. Remove obsolete notification classes; r=sebastian

Remove AppNotificationClient, ServiceNotificationClient, and
NotificationHandler, now that they've all been replaced by the new,
consolidated NotificationClient.

Bug 1305498 - 5. Use NotificationReceiver for web notification callbacks; r=sebastian

Previously, web notification callbacks went to GeckoApp directly, but
that presented some problems such as not being able to implement the
on-close callback, because we don't want to launch GeckoApp when the
notification is closed by swiping. This patch makes us use
NotificationReceiver for callbacks, and let NotificationReceiver launch
GeckoApp if necessary.

Bug 1305498 - 6. Don't keep notification cookie in native code; r=sebastian

Keep the notification cookie a single location (in the notification
intent itself), and simplify the native notification handling code.

Bug 1305498 - 7. Use NotificationReceiver for persistent notifications; r=sebastian

Currently, persistent notification callbacks go through a different code
path, but it'd be more consistent and correct to let persistent
notification callbacks go through NotificationReceiver as well.

This takes care of some housekeeping work that was missing for
persistent notifications, such as deleting the mNotifications entry when
the notification is closed.
2016-10-05 21:52:32 -04:00
Carsten "Tomcat" Book
776744b16a Merge mozilla-central to fx-team 2016-10-05 17:08:10 +02:00
Carsten "Tomcat" Book
3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Carsten "Tomcat" Book
5e299a14ad merge fx-team to mozilla-central a=merge 2016-10-05 15:29:12 +02:00
Valentin Gosu
a6ca82fdd0 Bug 1306920 - Make sure log file is closed when clearing it at runtime r=nfroyd 2016-10-05 11:34:12 +02:00
Kan-Ru Chen
e18f79eb18 Bug 1283563 - Followup - properly finish test in case timeout is really flaky. r=me
MozReview-Commit-ID: 9XkB9dExF7Y
2016-10-05 16:33:22 +08:00
Jon Coppeard
38b109439a Bug 1307372 - Avoid triggering mCallback read barrier in CallbackObject::CallbackKnownNotGray r=mccr8 2016-10-05 10:09:24 +02:00
Jon Coppeard
a123b01d13 Bug 1307361 - Remove OOM message in heap checking zeal mode r=sfink 2016-10-05 10:09:24 +02:00
Jon Coppeard
4bf21a1fc6 Bug 1302682 - Add assertion to help catch incorrect alloc kind when tenuring r=sfink 2016-10-05 10:09:24 +02:00
Gabriel Luong
badbea5392 Bug 1307481 - Part 1: Move Tooltip.js and HTMLTooltip.js into widgets/tooltip/ r=jdescottes
--HG--
rename : devtools/client/shared/widgets/HTMLTooltip.js => devtools/client/shared/widgets/tooltip/HTMLTooltip.js
rename : devtools/client/shared/widgets/Tooltip.js => devtools/client/shared/widgets/tooltip/Tooltip.js
2016-10-04 22:48:49 -04:00
Wes Kocher
8071f94c4d Merge fx-team to central, a=merge 2016-10-04 17:40:37 -07:00
Wes Kocher
5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Wes Kocher
e1ade7ef8a Backed out 8 changesets (bug 1286900) for win7vm wpt timeouts a=backout
Backed out changeset 3fff88de2f2d (bug 1286900)
Backed out changeset 748abfe6748e (bug 1286900)
Backed out changeset b4844ee1e542 (bug 1286900)
Backed out changeset bde587e47d00 (bug 1286900)
Backed out changeset a1311218621b (bug 1286900)
Backed out changeset 2de97e3cfcb3 (bug 1286900)
Backed out changeset 43df1e962f8e (bug 1286900)
Backed out changeset 6ed46e8ac86c (bug 1286900)
2016-10-04 17:17:07 -07:00
Brian Grinstead
9eb03c4dd7 Bug 1304178 - Pref on the new console frontend in nightly;r=linclark
MozReview-Commit-ID: E8M4YvI81bX
2016-10-04 11:32:59 -07:00
Brian Grinstead
4c4c6f2a4d Bug 1304178 - Remove the context menu in new webconsole frontend;r=linclark
MozReview-Commit-ID: 2lTpxlAkuvM
2016-10-04 11:32:52 -07:00
Brian Grinstead
4ce9f8b178 Bug 1304178 - Return a promise from dispatchMessageAdd to support jsterm.execute callback for tests;r=linclark
MozReview-Commit-ID: AeRsjFiyikv
2016-10-04 11:32:45 -07:00
Lin Clark
b470b0e069 Bug 1307243 - Part 2: Fix Ctrl-F keyboard shortcut and add test. r=bgrins
MozReview-Commit-ID: 3Z5Vp6UMii4
2016-10-04 11:31:40 -07:00
Lin Clark
67faa4b6d0 Bug 1307243 - Part 1: Consolidate services in a service container and add addRefToHud. r=bgrins
MozReview-Commit-ID: 4lDTLFzh5ly
2016-10-04 11:31:38 -07:00
Gary Kwong
198aff4985 Bug 1307523 - Backed out changeset 6e75141df030, rs=jandem over IRC
MozReview-Commit-ID: JWBmRQwLZql
2016-10-04 10:44:36 -07:00
Kartikaya Gupta
eaa695580b Bug 1307098 - Fix the positioning of the floating toolbar so that it doesn't overlap the selection and carets. r=rbarker
MozReview-Commit-ID: SY9c4X4QUf

--HG--
extra : rebase_source : 34e0e7791e7fcea4013211ffb5b564c53d3c70cf
2016-10-04 13:24:22 -04:00
Randell Jesup
bfeb950383 Bug 1307507: ensure that resolution is retained on multiple replaceTrack/renegotiations r=bwc 2016-10-04 13:13:01 -04:00
Sebastian Hengst
42316b8d09 Backed out changeset 122e1eaf7a4c (bug 1307446) for failing saved-stacks/async-principals.js. r=backout 2016-10-04 18:29:51 +02:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Tom Schuster
3cc61134b1 Bug 1302163 - Show an error for [v]snprintf with literals using the clang plugin. r=ehsan 2016-10-04 17:57:50 +02:00
Gabriel Luong
f692353a96 Bug 1307193 - Move swatch based tooltip editors into their individual file from Tooltip.js r=jdescottes
--HG--
rename : devtools/client/shared/widgets/Tooltip.js => devtools/client/shared/widgets/tooltip/SwatchBasedEditorTooltip.js
rename : devtools/client/shared/widgets/Tooltip.js => devtools/client/shared/widgets/tooltip/SwatchColorPickerTooltip.js
rename : devtools/client/shared/widgets/Tooltip.js => devtools/client/shared/widgets/tooltip/SwatchCubicBezierTooltip.js
rename : devtools/client/shared/widgets/Tooltip.js => devtools/client/shared/widgets/tooltip/SwatchFilterTooltip.js
2016-10-04 10:22:47 -04:00
Carsten "Tomcat" Book
540850f563 Merge mozilla-central to fx-team 2016-10-04 12:02:24 +02:00
Carsten "Tomcat" Book
02f4754fbc merge mozilla-inbound to mozilla-central a=merge 2016-10-04 11:58:07 +02:00
Carsten "Tomcat" Book
f221b877ca merge fx-team to mozilla-central a=merge 2016-10-04 11:56:36 +02:00
Patrick Brosset
5810e0aeaa Bug 1258081 - Wait longer for browser_computed_search-filter_escape-keypress.js to pass; r=test-only
MozReview-Commit-ID: ESCwms11Qfr
2016-10-04 11:50:14 +02:00
Julian Descottes
455cb1136d Bug 1302890 - remove alert tooltip feature relying on unavailable image;r=gl
MozReview-Commit-ID: 5ytisLjOcwO

--HG--
extra : rebase_source : ec784b5851d18892f3efde5cf6d28a676a20ec83
2016-10-04 11:45:16 +02:00
Matteo Ferretti
c7f9e0f637 Bug 1303484 - browser_device_modal_submit.js | unexpected number of devices; r=jryans
- Added `addDeviceForTest` that removes automatically the device added at the
  end of the test.
- Improved `switchDevice` with more assertions.

MozReview-Commit-ID: D1BJozD65uj
2016-10-04 09:18:27 +02:00
Phil Ringnalda
6a7decdac1 Backed out changeset cf588a950083 (bug 1306235) for failures in at least test_xhr_progressevents.html and test_blobconstructor.html
MozReview-Commit-ID: HJlw9w1quhu
2016-10-03 23:30:44 -07:00
Franziskus Kiefer
eb4364e341 Bug 1305970 - land NSS 0xe7553afc7665, r=me
--HG--
extra : rebase_source : ab9c9f3eaa86da51eb3a498535f9ff4b7777b7d6
2016-10-04 07:59:19 +02:00
Phil Ringnalda
73ccc79fc3 Merge m-c to f-t 2016-10-03 20:51:52 -07:00
Phil Ringnalda
31b75f4537 Backed out changeset b26e668306fb (bug 1278687) for making test_ext_webrequest.html between near-permaorange and actual-permaorange 2016-10-03 20:17:28 -07:00
Phil Ringnalda
c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Dimi Lee
9e95041e88 Bug 1305801 - Part 5: Support SafeBrowsing v4 partial update. r=gcp
MozReview-Commit-ID: 7OEWLaZbotS

--HG--
extra : rebase_source : ab7a5eda234aaff3166e7082f9dc1f8b450d715b
2016-10-04 09:14:39 +08:00
Wes Kocher
5739609d11 Backed out changeset bc4680ea08a9 (bug 1307042) for android mda test failures a=backout CLOSED TREE 2016-10-03 16:03:12 -07:00
Wes Kocher
265355461f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE
--HG--
extra : amend_source : 3dc85338e38502f95b5f667babbd6cf0282c70d1
2016-10-03 14:50:27 -07:00
Kris Maglione
7d2a059d0d Bug 1278687: Multiplex extension message listeners for use in chrome tests. r=aswan
MozReview-Commit-ID: 3V5FqnBQy1j

--HG--
extra : rebase_source : 84fd9c3a83e6cc0acf2f93421d9903fc45587988
2016-10-03 20:44:28 +01:00
Jan Odvarko
fa92385875 Bug 1305979 - Test for addSidebarTab API. r=jdescottes 2016-10-03 18:14:14 +02:00
Wei-Cheng Pan
afc64a42d6 Bug 1307364 - Use MOZ_MUST_USE in netwerk/protocol/file r=valentin
MozReview-Commit-ID: 4EaTsMOpy0n

--HG--
extra : rebase_source : 75a381c4cd9d6e90a3e366c5e59eb0167216589b
2016-10-03 14:54:40 +08:00
Wei-Cheng Pan
bb8702d5d8 Bug 1307360 - Use MOZ_MUST_USE in netwerk/protocol/device r=valentin
MozReview-Commit-ID: Kc7a7GksoZl

--HG--
extra : rebase_source : 3c42b88d4780c21401a1e10c87d3e51b83faba5c
2016-10-03 14:54:10 +08:00
Wei-Cheng Pan
d82b36b981 Bug 1307331 - Use MOZ_MUST_USE in netwerk/protocol/data r=valentin
MozReview-Commit-ID: IikVyLjQN31

--HG--
extra : rebase_source : 574d28a6534c4a0e0ed92576896d9404e671fa7d
2016-10-03 14:54:01 +08:00
Wei-Cheng Pan
9c31ea2777 Bug 1307052 - Use MOZ_MUST_USE in netwerk/protocol/about r=valentin
MozReview-Commit-ID: 7G0vF9Jt7Hj

--HG--
extra : rebase_source : 03cb108736d9922e9569f718cf7ad3027ae60b2a
2016-10-03 14:53:30 +08:00
Matt Howell
47663a3eb6 Bug 1306699 - Only invoke attribution code functionality in desktop Firefox; r=gfritzsche
MozReview-Commit-ID: JMGuP9kI6gD

--HG--
extra : source : a16efcbc34a9a619147a290caeaa90435197407f
2016-10-02 10:48:47 -07:00