Commit Graph

468587 Commits

Author SHA1 Message Date
Nick Alexander
45f7d697fc Bug 1260241 - Pre: Add compress option to Jarrer.add. r=glandium
MozReview-Commit-ID: FWXeBOi9FTY

--HG--
extra : rebase_source : 290bb95e0d9133094c4bf4b99f04ccd3c598c6d8
2016-03-28 19:02:05 -07:00
Nick Alexander
94360ccf89 Bug 1259507 - Add UI Telemetry probes for DOM Push API in Fennec. r=mfinkle
The probes in this patch are annotated with the extra "dom-push-api"
to distinguish from future Fennec-specific push messages.  These
probes allow to determine for each user the difference:

{# sites subscribed to} - {# sites unsubscribed from}.

If we assume the same site is not subscribed to multiple times, this
is a good approximation to the total number of sites the user receives
push messages from.

To test manually:

0) Install Fennec and execute |adb shell setprop log.tag.Telemetry DEBUG|.

1) Subscribe to notifications on a site like serviceworke.rs.

Observe a UI Telemetry SAVE event, like:
D/Telemetry( 7109): SendUIEvent: event = save.1 method = service timestamp = 277456 extras = dom-push-api

2) Send a push notification using the sites' interface.

Observe a UI Telemetry PUSH_RECEIVED_MESSAGE event, like:
D/Telemetry( 7109): SendUIEvent: event = action.1 method = service timestamp = 361795 extras = dom-push-api

3) Unsubscribe to notifications by revoking permission using Site
Settings from the URL bar.

Observe a UI Telemetry PUSH_UNSUBSCRIBED_FROM_SITE event, like:
D/Telemetry( 7109): SendUIEvent: event = unsave.1 method = service timestamp = 393600 extras = dom-push-api

MozReview-Commit-ID: IOCwfXFnowA

--HG--
extra : rebase_source : 705440ac545de0bc82ec72951fb646da3fc7d67b
2016-03-29 11:39:35 -07:00
Nick Alexander
b1ea159e36 Bug 1258464 - Part 2: Remove GeckoView implementation built on Fennec's Tab/Tabs. r=snorp
This will be re-implemented without reference to Fennec's Tab/Tabs
data structures.

MozReview-Commit-ID: I12Dlb3ef58

--HG--
extra : rebase_source : 397405a12bd913ac0f837fbc264890786d45ce56
extra : source : ab088eb19b46d9e8dc5551e39aa4a871a4c9ee23
2016-03-30 10:21:29 -07:00
Nick Alexander
a1d48c2e26 Bug 1258464 - Part 1: Remove vestigial GeckoView attrs and initialization. r=snorp
These have no consumer and deserve to be properly reworked.

MozReview-Commit-ID: KmjE44nmLXx

--HG--
extra : rebase_source : 973f13ad0c111413aa73dff233fd771d9f641191
extra : source : dcffecae84b741d837295ad77d0dd9e7ece391eb
2016-03-30 10:21:29 -07:00
Nick Alexander
a48823544b Bug 1258450 - Delegate Intent handling from GeckoAppShell to GeckoInterface. r=snorp,mcomella
MozReview-Commit-ID: HoHqZU0Ev5D

--HG--
extra : rebase_source : 06e635885605a5bbf0b952c2904dd398517e6ca1
extra : source : e5ec40672f6ee91471a420e797e653e3e322bba4
2016-03-30 10:21:29 -07:00
Nick Alexander
7296d618b7 Bug 1258450 - Automated (mostly) refactorings moving GeckoAppShell static methods into IntentHelper. r=snorp
MozReview-Commit-ID: JbfR3pVFxDK

--HG--
extra : rebase_source : db506aa89a8354e818e4b2c2415585710b3b7fa1
extra : source : 462e9e4314eff25e00e65e75359274ec09807eee
2016-03-30 10:21:29 -07:00
Nick Alexander
912d1a7b9e Bug 1258450 - Route setAccessibilityEnabled through GeckoInterface. r=snorp,jchen
MozReview-Commit-ID: 9DXQ8mxtg2Q

--HG--
extra : rebase_source : 2576493a4fc0155d575963436e37361ef79936b8
extra : source : 7a434b18855a9439a98480a2261509ab5596f315
2016-03-30 10:21:29 -07:00
Nick Alexander
69ad3a1408 Bug 1258450 - Move references to SnackbarHelper out of GeckoAppShell. r=snorp,sebastian
The existing code assumes an Activity, not just a Context, but doesn't
statically guarantee it.  This patch is safe because it dynamically
type-checks, but it would be better to declare the member to be an
Activity.

MozReview-Commit-ID: 9AigV055I5j

--HG--
extra : rebase_source : e2d273221767735504a93855623961fc171ae413
extra : source : 0476a0d0575b4b07c404eb15bc5a943ae04d0289
2016-03-30 10:21:29 -07:00
Nick Alexander
f23b50bd14 Bug 1258450 - Move GlobalHistory queries to GeckoInterface. r=snorp
GlobalHistory is Fennec-specific: it accesses the Fennec history data
store, and collects Telemetry.  This allows other consumers to
implement their own store as appropriate.

MozReview-Commit-ID: 75Uxc5k8V0O

--HG--
extra : rebase_source : 7e25d183045082edaee4295cb95c62100e956c8e
extra : source : 476cdaa0ce08b0808c3892d3d5ee55f701504666
2016-03-30 10:21:29 -07:00
Nick Alexander
b591ff3d43 Bug 1258450 - Add GeckoInterface.createShortcut. r=snorp
This moves some Fennec-specific home-screen icon manipulations out of
GeckoAppShell.  A GeckoView interface can follow.

MozReview-Commit-ID: 7OhRAT9Agdh

--HG--
extra : rebase_source : c5bc8a871a22c5892b320068dea6501ed8884d8e
extra : source : f39f05fa8df3717c57452ac44a16e4a86d9cbd2c
2016-03-30 10:21:29 -07:00
Nick Alexander
d17f3149d7 Bug 1258450 - Remove unused GeckoInterface.getPromptService(). r=snorp
MozReview-Commit-ID: 5Aq0TEVD1zD

--HG--
extra : rebase_source : a4cc8c2930355d9b64b3d8034c600baa353fcee5
extra : source : 0fa1a5081a6092771841f255871808b84ab890b3
2016-03-30 10:21:29 -07:00
Nick Alexander
53d127859e Bug 1258450 - Don't use resources in SwipeDismissListViewTouchListener. r=mcomella
This is just a small simplification to allow us to not depend on
org.mozilla.gecko.R.

MozReview-Commit-ID: TjSYwYyAMS

--HG--
extra : rebase_source : 1a5a256656063b649c4efc2d2cc8c33e476aec88
extra : source : 33e39362305beb355699cbd88cefe4a37354136c
2016-03-30 10:21:29 -07:00
Nick Fitzgerald
1a331c72d1 Bug 1260939 - Add a method for getting census individuals and their shortest paths to HeapAnalyses{Client,Worker}; r=jimb a=kwierso
MozReview-Commit-ID: HHJ2masZB4k

--HG--
extra : histedit_source : bbc90e79f8ddc76b79faec7ce027b549aaaead45
2016-03-31 16:19:59 -07:00
Nick Fitzgerald
81e06bd5ae Bug 1260938 - Add the ThreadSafeDevToolsUtils.isSet utility; r=jimb a=kwierso
MozReview-Commit-ID: IqY3Abv3OX

--HG--
extra : histedit_source : cba614f975f01cdedab0d0e9f93715214055dec7
2016-03-31 16:19:47 -07:00
Nick Fitzgerald
c4c900965c Bug 1260590 - Add the CensusUtils.getCensusIndividuals utility; r=jimb a=kwierso
This commit adds the `getCensusIndividuals` utility for getting the individual
node IDs that match the census leaves specified by the given indices in a
pre-order depth-first traversal of a census report generated with the given
breakdown.

MozReview-Commit-ID: A4IRcP82iCC

--HG--
extra : histedit_source : e48cc59b522ce82f649f077b4686cea4715980f1
2016-03-31 16:19:22 -07:00
Nick Fitzgerald
546829d13e Bug 1260589 - Add the ThreadSafeDevToolsUtils.flatten utility; r=jimb a=kwierso
The `flatten` function takes an array of arrays and flattens them to a single
array, removing one level of nesting. It does not recursively flatten multiple
levels of nesting.

MozReview-Commit-ID: ErDMHbT2IX

--HG--
extra : histedit_source : eb6e4f8c54f536c84b08da22ef60cfa56a5075c8
2016-03-31 16:18:44 -07:00
Jason Laster
ff953effdf Bug 1260160 - Refactor 2 debugger tests to use Task.spawn. r=jlong a=kwierso
* browser_dbg_search-sources-01.js
* browser_dbg_auto-pretty-print-02.js

MozReview-Commit-ID: KtUbMYU3pt9

--HG--
extra : histedit_source : 5e0eebb5ba0673994720dc5a88292ec37f31043d
2016-03-31 16:18:12 -07:00
Gabriel Luong
b1411d1862 Bug 1260121 - [markupview] Pseudo class lock indicator should not appear underneath tree twisty r=pbro a=kwierso
MozReview-Commit-ID: GyP5KxG5mG7
2016-03-31 16:17:56 -07:00
Katie Broida
0170b7f16b Bug 1257599 - Rename 'Unsorted Bookmarks' into 'Other Bookmarks'. r=jaws a=kwierso
MozReview-Commit-ID: 7iMM0vg9rUo
2016-03-31 16:17:30 -07:00
Jarda Snajdr
e7a3e0f88e Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item (part 2: tests) r=mratcliffe a=kwierso
MozReview-Commit-ID: 4IUrx1tQ6Sh
2016-03-31 16:14:24 -07:00
Jarda Snajdr
462e493707 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe a=kwierso
MozReview-Commit-ID: ETmjp8jjQ6z
2016-03-31 16:14:15 -07:00
Jan Odvarko
51ea0cd87e Bug 1211525 - HTTP log inspection in the Console panel; r=jlongster,helenvholmes,bgrins,linclark a=kwierso
MozReview-Commit-ID: AA1xxjJtCPQ
2016-02-12 18:25:09 +01:00
Jarda Snajdr
577efe7928 Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
Wes Kocher
7b9ea8afc5 Merge inbound to central, a=merge
MozReview-Commit-ID: FSnrOgtIFer
2016-03-31 13:04:19 -07:00
Sebastian Hengst
8f28197e07 Backed out changeset 12ff599ce0e2 (bug 1258344) for leaks in OS X 10.10 debug browser-chrome tests. r=backout on a CLOSED TREE 2016-03-31 21:43:23 +02:00
Wes Kocher
099e2cf829 Backed out changeset 08a097c4ea86 (bug 1255961) for build bustage CLOSED TREE
MozReview-Commit-ID: 2oPAnEwBpit
2016-03-30 10:20:58 -07:00
Wes Kocher
93b1af493e Backed out changeset 0f2e90feea3b (bug 1174461) for build bustage CLOSED TREE
MozReview-Commit-ID: IJcI44KBoTm
2016-03-30 10:20:45 -07:00
Wes Kocher
e593da093a Backed out 3 changesets (bug 1253123) for build bustage CLOSED TREE
Backed out changeset f0dd577131c7 (bug 1253123)
Backed out changeset d345149b2169 (bug 1253123)
Backed out changeset 6c8278e8047e (bug 1253123)

MozReview-Commit-ID: HL9U2qqeDnY
2016-03-30 10:20:20 -07:00
Wes Kocher
dd58e668a4 Backed out changeset 00f8c8fde8ca (bug 1222101) for build bustage CLOSED TREE
MozReview-Commit-ID: F6PINhcfsF4
2016-03-30 10:19:29 -07:00
Brian Grinstead
bd2c925bdf Bug 1239992 - Focus input field if text is not selected in webconsole output;r=linclark
MozReview-Commit-ID: 2MsIap7Rj4P
2016-03-30 10:10:22 -07:00
Andrea Marchesini
7d22a5cb40 Bug 1188818 - DataTransfer must deal with nsIFile of directories, r=jwatt 2016-03-30 17:58:41 +01:00
Bill McCloskey
5b8924bd94 Bug 1222101 - Reorder some thread code (r=jld) 2016-03-30 09:58:41 -07:00
Bill McCloskey
5ef16752e3 Bug 1253123 - Remove message_router (r=jld) 2016-03-30 09:58:41 -07:00
Bill McCloskey
6dd58aa726 Bug 1253123 - Remove ipc_channel_proxy (r=jld) 2016-03-30 09:58:40 -07:00
Bill McCloskey
2bdeb1e82b Bug 1253123 - Remove ipc_sync_message (r=jld) 2016-03-30 09:58:40 -07:00
Bill McCloskey
3888bea25e Bug 1174461 - [e10s] Return a cached result from SendGetNativePluginPort (r=jimm) 2016-03-30 09:58:40 -07:00
Bill McCloskey
9cae39064e Bug 1255961 - Avoid zeroing out shmems (r=dvander) 2016-03-30 09:58:39 -07:00
George Wright
c25afd0590 Bug 1260507 - Disable WARP r=Bas 2016-03-30 12:45:33 -04:00
Josh Matthews
d43f85cd2a Bug 1259482 - Ensure that image loads are never dropped on the floor when queued for later. r=johns 2016-03-30 12:39:59 -04:00
David Anderson
ea604f9f48 Recreate GLTextureSources after changing compositors on Mac. (bug 1247611, r=mattwoodrow)
--HG--
extra : rebase_source : ff5d3cc118ac1f944398431d423c75b254c0a029
2016-03-30 09:33:24 -04:00
Eric Faust
fc2ed09a88 Bug 1260577 - followup: Change confusing name SelfAssign to CompoundAssign. (rs=jorendorff) 2016-03-30 09:32:30 -07:00
Jon Coppeard
ddc520dc29 Bug 1260198 - Clear per-zone string cache after compacting r=terrence
--HG--
extra : rebase_source : 2269242a048416049e8caa43b189269837c87809
2016-03-30 17:14:44 +01:00
Yura Zenevich
c3bf1b28ff Bug 1087608 - ensuring multitap gestures do not resolve to explore. r=eeejay
MozReview-Commit-ID: 9CZm709gGMC
2016-03-30 11:56:14 -04:00
Nick Alexander
8f1d82aeb6 Bug 1260519 - Support unsubscribing from Push API messages from a site. r=jchen
This was implemented, but never wired up.

I thought long and hard about how to unit test this, and it's quite
difficult.  First, we'd have to chose a layer of testing.  We could
unit test:

* the JS <-> Java message passing;

* the permission prompts <-> JS interface;

* some interactions with the Service Worker interface.

The first is difficult because none of our current testing emulators
have Google Play Services and GCM enabled, so we'd need to allow to
mock or otherwise fake the GCM registration.  Then we'd need to stand
up a mock autopush server (using httpd.js or the Java-side
equivalent), or mock out the autopush client as well.  At this point,
we're testing sendMessage.  This could be done, but I'd rather slide
this fix in before building out quite a bit of test infrastructure.
(For the record, the Java Push Service state machine is thoroughly
tested with Java unit tests, so I have confidence that the unsubscribe
logic works.)

The second is tested via the PushWebSocket tests, which are now
running on Android.  That is, if permissions and the PushService are
interacting badly, we should see it with the existing test suite.
Since PushServiceAndroidGCM is pretty much a pass-through, there's
little value to be added here.

Finally, the third is also tested via the PushWebSocket tests.
There's absolutely nothing GCM specific about the Service Worker
interface to the PushService.

So I'm left manually testing this -- and now we can unsubscribe from
Push messages from sites.

MozReview-Commit-ID: HiRiqasHJ27

--HG--
extra : rebase_source : ce01aa738d583a7200e9dc93ffa38dea9663779c
extra : amend_source : 03fc8a099e83871fa7bfe345168c063b69938d5e
2016-03-29 11:59:52 -07:00
Julian Descottes
d015e2f0e7 Bug 1260359 - fix devtools detached toolbox title update in e10s;r=jryans
The devtools host window updates its title when its target navigates.
This was done using a contentDocument CPOW, and thus failing on e10s.

The url and title are now stored in TabTarget and updated on tab navigation.
Updated existing test to cover the case of pages with a title.

MozReview-Commit-ID: 4G1keOA7yB6

--HG--
extra : rebase_source : 720084e9929f334092ffe18e4c786cbf731fe52e
2016-03-29 12:01:46 +02:00
Mike de Boer
e7ad8e9b8b Bug 1259339: allow converted findbar tests to run twice as long. r=felipe 2016-03-30 18:37:11 +02:00
Patrick Brosset
f3a608d481 Bug 1253935 - Remove all CPOW usages in styleeditor tests and use ContentTask instead of custom frame-script; r=ochameau
MozReview-Commit-ID: 2EeHvPZRf3H

--HG--
extra : rebase_source : db7ca002209b9258cb8ae1bc4e6d2e4d61354001
2016-03-30 17:54:05 +02:00
Brian Grinstead
50d8f54f5c Bug 1260071 - Call resize() when searching happens on frontend to reset width;r=vporof
MozReview-Commit-ID: 3Sbuh5NEN6p
2016-03-30 07:49:42 -07:00
Nathan Froyd
443d2b6637 Bug 1259734 - use AppendElements in DisplayItemClip::AppendRoundedRects; r=dholbert
It is shorter and nicer than writing out the loop ourselves.
2016-03-25 09:34:37 -04:00
Rakhi Sharma
45c493d5fa Bug 1238866 - [Ubuntu] "Add search engine" in search panel has white background with GTK3 and dark theme, r=Gijs.
MozReview-Commit-ID: Hvbd7RKyEX

--HG--
extra : rebase_source : 5605147b77b19cf779629a55caea8e28ca79aea2
2016-03-30 18:45:58 +05:30