Commit Graph

369 Commits

Author SHA1 Message Date
Sebastian Kaspari
63a89783cc Bug 1301715 - Extract website metadata and make it available. r=ahunt
This patch introduces WebsiteMetadata.jsm which imports fathom and page-metadata-parser.
The code has been slightly modified to not depend on more node libraries.

On DOMContentLoaded the module will extract the metadata asynchronously and send it with
a 'Website:Metadata' event.

MozReview-Commit-ID: LxhYOTvvdsF

--HG--
extra : rebase_source : e31286bd7268ad62d55f1a5318cde79442e9acba
2016-09-08 10:20:24 +02:00
Matthew Noorenberghe
3803d21cec Bug 1297905 - Remove usage of getAllDisabledHosts in sanitize implementations. r=liuche,markh
Bug 1058438 moved disabled hosts to the permission manager which are already cleared by these modules.

MozReview-Commit-ID: InprrYLvjMR

--HG--
extra : rebase_source : 806c2542cbab953b74ad82611501ecac32400930
2016-08-24 17:41:10 -07:00
Makoto Kato
9a8b60ffca Bug 1284283 - Remove MozContact API Android backend. r=sebastian
MozReview-Commit-ID: GLhrA1cc1Rq

--HG--
extra : rebase_source : 73efab6d9468388a6ba0be489250d8dd3d185cd6
2016-08-08 15:40:19 +09:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Grigory Kruglov
af2a097cb4 Bug 1245795 - Pre: Purge OrderedBroadcast r=nalexander
MozReview-Commit-ID: Ad1ENG0XJX1

--HG--
extra : rebase_source : dea0a39f6340e84f1fabee5abf8b861b26c92b2e
2016-07-04 17:51:15 -07:00
Kit Cambridge
22e7cd6527 Bug 1278689 - Remove push subscriptions when clearing site settings on Android. r=margaret
MozReview-Commit-ID: BrOjKzswY1F

--HG--
extra : rebase_source : 8230eecf5fd5caaaceb1784c4a61967c46430a3a
2016-06-07 14:02:55 -07:00
Jan Henning
222df1171c Bug 1270543 - Part 1: Enable double tapping to select an action in the prompt dialog. r=liuche
On newer Android versions, double tapping an entry in the app chooser is equivalent to tapping it once and selecting "Just once". To enable this functionality for our own app chooser when downloading a file, this patch enables passing a button index to the prompt dialog which will be chosen by default if a double tap has been detected.

To do this, we track the input value we receive in onChange. If we receive the same value twice in a row and a button has been configured, we close the dialogue and pass the result with that button back to the caller.

MozReview-Commit-ID: EVs2x3OtHmB

--HG--
extra : transplant_source : %85Td%83%0D%DD%D0%1D%F48a%5D%A0%CF%B4%A5%CE%5E%22%7E
extra : histedit_source : 190cf52e481b637172ea3b49ccec606f31dc86cf
2016-05-17 22:52:59 +02:00
Matthew Wein
3540dea819 Bug 1267402 - Implement chrome.pageAction.onClicked on Android. r=kmag, margaret
MozReview-Commit-ID: EJI224vD2Za
2016-05-13 18:36:06 -07:00
Grigory Kruglov
d83efeb11a Bug 1233250: Pre - allow specifying snackbar's backgroundColor via Snackbars.jsm r=sebastian
MozReview-Commit-ID: FQqUKE6sLHS

--HG--
extra : rebase_source : 10e8826a07c48081a0e4ea67a17d00114e24844c
2016-05-10 17:35:08 -07:00
Matthew Wein
29d46dc602 Bug 1267124 - Implement chrome.pageAction.show on Android. r=kmag, r=margaret
MozReview-Commit-ID: AOwfuuCfhRx

--HG--
rename : browser/components/extensions/extension.svg => mobile/android/components/extensions/extension.svg
rename : browser/components/extensions/schemas/page_action.json => mobile/android/components/extensions/schemas/page_action.json
extra : transplant_source : %13%D1%E2%3Ax3%12%C9%81%E9%1Ct%3E3T%9Br%E0%DBP
2016-04-27 19:06:24 -04:00
Nick Alexander
e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Petr Marek
c3c709e60a Bug 1111663 - Remove calling of an obsolete onClicked method. r=margaret 2016-03-18 13:04:00 -04:00
Tushar Saini
55bca2eed6 Bug 1192788 - Can't install add-on panel at position 0. r=margaret
--HG--
extra : amend_source : 6fe6839cff3763fd35b64c1a1814a3c81bc0f3d8
2016-03-18 09:20:07 +05:30
Mark Finkle
c36e08645c Bug 1241627 - Associate account conversions with onboarding experiments r=margaret r=nalexander 2016-03-03 17:29:45 -05:00
Brendan Dahl
2ece6215a9 Bug 1235869 - Remove web runtime from android. r=myk 2016-02-29 10:31:00 +01:00
Shih-Chiang Chien
075eec3d76 Bug 1241368 - provide JS implemented MDNS service as a fallback. r=nwgh,nalexander.
--HG--
rename : mobile/android/modules/MulticastDNS.jsm => netwerk/dns/mdns/libmdns/MulticastDNSAndroid.jsm
extra : rebase_source : 4b5418819c590c8a373813843605df7f1748ecb8
2014-05-16 15:01:27 -04:00
Abhishek Potnis
618fcfd2f6 Bug 1243930 - Removed redundant statement of |obj.icon| assignment in |_setListItems|. r=mcomella 2016-02-05 23:32:14 +05:30
Nick Alexander
35d311d9b4 Bug 1220906 - Part 2: Deprecate Accounts.syncAccountsExist. r=rnewman
--HG--
extra : commitid : 4vYzTXfsVxB
extra : rebase_source : 2def554a58780807d903a23c659de8f32c05cae2
2016-01-18 15:35:45 -08:00
Sebastian Kaspari
ed87fa4de9 Bug 1238139 - Show snackbar for completed downloads. r=ahunt,mcomella
--HG--
extra : commitid : HKyerFgzS3T
extra : rebase_source : f098a6835c8bec23ce93e34ba7a2e946a5839fd0
extra : amend_source : caed6768c27e739f852e9456245604b51c5af06d
2016-01-14 19:48:29 +01:00
Sebastian Kaspari
71a2884ca4 Bug 1235352 - Add JavaScript module for checking and requesting runtime permissions. r=nalexander
--HG--
extra : commitid : A7kDUJG7nyx
extra : rebase_source : d8e60fad79250d33ff668806175c746cbed67d34
2016-01-11 12:13:41 +01:00
Mohamed Hammoud
b72afd7d16 Bug 1156252 - 'Confusing UI in Cancel Download dialog box'. r=liuche 2015-12-30 12:59:00 +01:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Alex Johnson
25ccdbb584 Bug 1234148 - Replaced toasts in JS modules with snackbars. r=sebastian
--HG--
extra : transplant_source : 6%0F%ED%CD%883%D0%04%ED%3C%BE%A5%3E5%8E%BC%A9%820%7C
2015-12-21 11:52:12 -05:00
alex_johnson
375337849c Bug 1216051 - Delegated NativeWindow.toast to Snackbar API. r=sebastian
--HG--
extra : transplant_source : %00%E9%92n%0E%08%E3%13z%F1o%7F%89%ED%7C%1C%3E%12%B0_
2015-11-27 09:18:40 -05:00
Shih-Chiang Chien
1dfb5a13cb Bug 1222907 - report media status to MediaCastingBar. r=mfinkle. 2015-11-09 17:56:59 +08:00
Phil Ringnalda
0cccf0ed58 Merge m-i to m-c, a=merge 2015-11-14 13:22:10 -08:00
Carsten "Tomcat" Book
9393b7fe42 Backed out changeset 09bbdb107c10 (bug 1222907) for mulet bustage 2015-11-13 15:12:30 +01:00
Sebastian Kaspari
e16ddaec6e Bug 1157526 - (Part 6) Replace "Already signed in" toast with snackbar. r=mcomella
--HG--
extra : commitid : FiWpSdnvKxH
extra : rebase_source : e5256fe15c6cbe65aedc8b7ed1f4dc2b52ddaabe
extra : histedit_source : e53223259383dd4f3e61c2937b36dbdc98838f17
2015-11-12 18:23:32 +01:00
Shih-Chiang Chien
dc55f38e26 Bug 1222907 - report media status to MediaCastingBar. r=mfinkle. 2015-11-09 17:56:59 +08:00
Mike Hommey
d330e46e37 Bug 1223412 - Make b2gdroid reliably use the some b2g components instead of Fennec's. r=fabrice 2015-11-14 08:40:54 +09:00
Nick Alexander
57cb37d888 Bug 1216100 - Handle "fxaccounts:sync_preferences" message in FxA WebChannel. r=vivek
The only wrinkle is that we don't always have an Activity context, so
we always start a new task.  We might want to revisit that decision.

--HG--
extra : commitid : Liun7Xv30B5
extra : rebase_source : c5afc439ba4fe818e4fda15b2756f510cb76d639
2015-10-26 16:31:19 -07:00
Sebastian Kaspari
0781d5819d Bug 1215026 - Create API for Snackbars. r=mfinkle
--HG--
extra : commitid : D0WRiRNan78
extra : rebase_source : 953b0a818dd24b5849c4367aec57c1fdb9d968d1
2015-10-22 14:15:42 +02:00
Mark Finkle
e8aec8d2ac Bug 1194182 - Change DownloadNotifications.jsm to support newer selectOrAddTab r=margaret 2015-10-14 16:08:21 -04:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Martin Thomson
afdaddf1d7 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
4952084732 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson
9c3bef623e Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
vivek
124fe53d3a Bug 1178378 - Register for web channel notications and update account profile on callback r=nalexander
--HG--
extra : rebase_source : ac2e38877dda9c927965d137fa2547d857d485ae
2015-09-22 19:06:48 +03:00
Wes Kocher
3eef2f434b Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
Nick Alexander
895de37da3 Bug 1191064 - Part 3: Handle removing Android Accounts from fxa-content-server. r=markh
This adds a new JS to Java ping-pong; exposes it via Accounts.jsm; and
uses it in response to the fxa-content-server message.

--HG--
extra : commitid : IghQHRrnuUs
extra : rebase_source : 5b255bb6da45abb41f4dfe00c559daaafe83a118
2015-09-14 17:21:19 -04:00
Nick Alexander
6535b7e95b Bug 1191064 - Part 2: Handle relinking Firefox Accounts on Fennec. r=markh
The desired behaviour:

* If we have no account now, and had no account or the same account in
  the past -- no message, allow.
* If we have no account now, but had a different account in the past -- prompt.
* If we have an account, and this is the same account -- no message, allow.
* If we have an account, and this is not the same account -- toast and
  never allow.

--HG--
extra : commitid : 9vegWtkMoYE
extra : rebase_source : 418f3e616185732c589c1097094260b1f7fbfee0
extra : amend_source : c67d36fa07f7de068998b40389b855c15571ebf3
2015-09-14 16:58:47 -04:00
Nick Alexander
87ec040f10 Bug 1191064 - Part 1: Add Fennec version of FxAccountsWebChannel. r=markh
This ticket does the following things:

* register early.  If the first page that Gecko loads is
  about:accounts, the channel needs to be in place.  If we delay this,
  we can and do miss content server messages.

* listen to the following messages:

  CAN_LINK_ACCOUNT: 'fxaccounts:can_link_account'
  CHANGE_PASSWORD: 'fxaccounts:change_password'
  DELETE_ACCOUNT: 'fxaccounts:delete_account'
  LOADED: 'fxaccounts:loaded'
  LOGIN: 'fxaccounts:login'

The list of messages is from
2a78a14daf/app/scripts/models/auth_brokers/fx-desktop-v2.js (L24)
via
2a78a14daf/app/scripts/models/auth_brokers/fx-fennec-v1.js

This patch implements only LOADED, LOGIN, and CHANGE_PASSWORD.  The
messages have the following behaviour:

A LOADED message is ferried to the individual XUL <browser> element it
originated from.  In general, WebChannel is a global listener: it does
not matter where a message originates.  We want to have fine-grained
control over when an embedding <iframe> is displayed (as opposed to
loaded, in the Gecko sense of loaded).  The fxa-content-server
participates in this exchange via the LOADED message; we complete the
loop by specially handling LOADED.

A LOGIN or CHANGE_PASSWORD message either creates a new Android
Account in the Engaged state, or moves an existing Android Account to
the Engaged state.  An Android sync is not yet requested -- we'll
arrange that from the Java side.

--HG--
extra : commitid : 1Cw78MNwRHq
extra : rebase_source : eedf8a1bccb5726f4a20d55c1d8496fbfb6c1ca0
2015-09-15 15:54:29 -04:00
Nick Alexander
803a8d2abf Bug 1204937 - Part 3: Add Accounts:UpdateAccountFromJSON message. r=sebastian
This commit does a few things.  First, it fixes a typo
(s/ForResponse/ForResult/).  It's not clear how this /ever/ worked,
but it did.

Second, it adds an UpdateAccountFromJSON sibling to
CreateAccountFromJSON.  It would have been reasonable to have the
create message do double-duty and update an existing account (we have
the latitude to change the meaning since this API is not yet public)
but I generally prefer each consumer to perform the conditional state
check and to act appropriately.

Third, it generalizes the existing Accounts:Exist message to provide
some details (including email and UID) of any existing Firefox
Account.  The Accounts.exist() API /is/ public, so I introduce a new
(not yet public) API for this richer information.

--HG--
extra : commitid : 5OcLn2ejQzZ
extra : rebase_source : dca7f1ab0cb101948e9d67db4595b91127f0bfd6
2015-08-21 11:27:54 -07:00
Anirudh S
cc08782363 Bug 1197874 - Remove MatchstickApp.jsm from the build. r=mfinkle 2015-09-10 20:04:50 +05:30
Liang-Heng Chen
ecc1535306 Bug 1193605 - Part 5: separate different discovery/registration requests by UUIDs; r=rnewman 2015-09-09 08:30:00 +02:00
Liang-Heng Chen
7dbba59295 Bug 1193605 - Part 2: process callbacks correctly. r=rnewman 2015-08-30 19:56:00 +02:00
Mark Finkle
3f6cf75fef Bug 1078432 - Use Android print service to enable cloud printing r=sebastian 2015-08-31 17:54:23 -04:00
Mantaroh Yoshinaga
ef2a0d50b5 Bug 1177510 - Add max/min mechanism to DateTimePicker.java in order to prevent inputting invalid Date values. r=wesj 2015-07-22 03:26:00 -04:00