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

3203 Коммитов

Автор SHA1 Сообщение Дата
Samael Wang bb968e4fcd Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : 5a1cc56554d1429f3c5af1c8cecaa1d72471ed21
2017-11-14 19:19:27 +08:00
Jim Chen 75a417ee33 Bug 1416310 - 2. Use per-GeckoView event to handle scroll-to-focused-input; r=rbarker
Instead of sending an event through the global EventDispatcher in
GeckoLayerClient, switch to using the per-GeckoView EventDispatcher in
GeckoInputConnection, to handle scroll-to-focused-input-on-resize. This
lets us implement the same functionality for standalone GeckoView.

The patch also fixes some small bugs including unregistering
not-registered events, not scrolling when switching input focus, and
inadvertent scrolling when not showing the keyboard.

MozReview-Commit-ID: 20OZP9dMXtI

--HG--
extra : rebase_source : d9dee0fd8b3d01147b8b2eda5154c380d0f167dd
2017-11-20 17:17:01 -05:00
Cosmin Sabou fdc83a94aa Merge inbound to mozilla-central r=merge a=merge 2017-11-21 00:01:02 +02:00
Jim Chen 31f98e2e0f Bug 1417650 - Correctly specify flags for Tab:OpenUri; r=me
Pass in the flag names for Tab:OpenUri so we don't have to worry about
synchronizing the flags in Java with ones in C++. r=me for trivial
patch.

MozReview-Commit-ID: BowjLV1s7nT
2017-11-20 14:15:35 -05:00
Gijs Kruitbosch d15df6f6ff Bug 1408044 - stop using/overriding about: in Fennec and use about:fennec/firefox instead, r=nalexander
MozReview-Commit-ID: 3LQjMJZOuqc

--HG--
extra : rebase_source : a156925274ff4cf7582919f30669b7a0277c58d1
2017-11-14 23:41:37 +00:00
Noemi Erli e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang ef3c08ceb1 Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : b88ccf98bc2a41aac007d79060424eaa2c2aca88
2017-11-14 19:19:27 +08:00
Ciure Andrei a8907fc95a Backed out 5 changesets (bug 1408044) for failing Android test: TestAboutPagesPreparer.java:24: cannot find symbol. r=backout on a CLOSED TREE
Backed out changeset 5c5152ad910d (bug 1408044)
Backed out changeset c9a062838c12 (bug 1408044)
Backed out changeset 9ceaa645f2a9 (bug 1408044)
Backed out changeset 10fc0a581606 (bug 1408044)
Backed out changeset 513140019014 (bug 1408044)
2017-11-17 12:19:30 +02:00
Gijs Kruitbosch 53472dcba0 Bug 1408044 - stop using/overriding about: in Fennec and use about:fennec/firefox instead, r=nalexander
MozReview-Commit-ID: 3LQjMJZOuqc

--HG--
extra : rebase_source : 099f1e68d77ba4c575861873a155f2511ac6183f
2017-11-14 23:41:37 +00:00
Dave Townsend 9b2e25316e Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 9176d61244a140a5c4fde953302e9fb72aebff5a
2017-11-13 15:09:00 -08:00
Jim Chen fe020808ec Bug 1416576 - Correctly handle Tab:OpenUri; r=me
Correctly handle the Tab:OpenUri event introduced in bug 1412872. r=me
for trivial patch.

MozReview-Commit-ID: BIpKcLCi8sV
2017-11-13 22:50:43 -05:00
Nicholas Nethercote f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Narcis Beleuzu 57d9eb5fb1 Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Narcis Beleuzu 218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Nicholas Nethercote 8b3d03c666 Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Jan Henning e99464f25e Bug 1415307 - Stop sampling background colour in DOMContentLoaded. r=rbarker
Bug 1297850 removed the only consumer of the background colour on the Java side,
so this can go as well.

MozReview-Commit-ID: DJwrUVUHZ1t

--HG--
extra : rebase_source : be2b5068c57878ff556d1af16eb1df5d5a8779aa
2017-11-07 22:17:04 +01:00
Dave Townsend 1a6bee3827 Bug 1412361: Remove unused XBL checkbox-baseline and checkbox-radio. r=nalexander
MozReview-Commit-ID: 3wHHhkcGXEC

--HG--
extra : rebase_source : a9d03c421f47b6c8ed47cf37d7a9c2ebb3900626
2017-11-02 10:28:53 -07:00
Jim Chen 843d67f245 Bug 1412872 - 7. Move background events to GeckoApplication; r=nechen
Move the "Bookmark:Insert" and "Image:SetAs" events from GeckoApp to
GeckoApplication. These events are global to the application, and they
operate on the background thread, which will no longer be an option for
the GeckoView event dispatcher.

MozReview-Commit-ID: 8kesv8sJ8At
2017-11-01 14:54:04 -04:00
Jim Chen 453375471c Bug 1412872 - 3. Remove native GeckoView loadUri call; r=snorp
Remove the native GeckoView loadUri call because it's Fennec-only.
Replace the call with a Fennec-only "Tab:OpenUri" event.

MozReview-Commit-ID: 7xZW9aceoPL
2017-11-01 14:54:03 -04:00
Jim Chen d19eceacd5 Bug 1406168 - 1. Remove JNI.jsm; r=sebastian
Remove JNI.jsm. Convert code that used JNI.jsm to the equivalent using
EventDispatcher.

MozReview-Commit-ID: JQdCubcTBAR
2017-11-01 14:48:48 -04:00
Jan Henning ac0a399a60 Bug 1407188 - Don't fail to send locationChange if the next URI has no host. r=walkingice
MozReview-Commit-ID: 6rRQ6K3wPwT

--HG--
extra : rebase_source : ecd7170057e3cfd5dc3fb68da09668c5adb44722
2017-10-26 15:49:38 +02:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Jim Chen f568e139e7 Bug 1410236 - Deny permission by default if doorhanger is dismissed; r=sebastian
Add a "defaultCallback" option to the doorhanger API that specifies a
callback to call when the doorhanger is dismissed without a button being
clicked. Use that to deny a permission in ContentPermissionPrompt.js
when the doorhanger is dismissed without explicit action.

MozReview-Commit-ID: 9kOAWirI4Ux
2017-10-30 12:42:30 -04:00
Jan Henning bba185434e Bug 1410629 - Clear user-entered search term already after location change. r=sebastian
This is to avoid a situation where after searching and then navigating to a different URL, the user can already see the new URL (after location change), but not yet edit it (currently, the search term is only dropped after pageshow).

Because location change is too early for checking the documentURI for the presence of an error page in case the load failed, we switch to checking the request's status instead.

We still have to explicitly check for "about:neterror" as well, though, since the way our intent handling code displays an error page in case of an unknown protocol technically counts as a successful pageload.

MozReview-Commit-ID: 8e6WQlD0sf3

--HG--
extra : rebase_source : fa80f45c2bc7b87934907e0386f8c26cd998eb04
2017-10-30 14:05:32 +01:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Dylan Roeh afc0471f35 Bug 1411529 - Remove nsIDOMHTMLImageElement usage from GeckoViewContent.js r=snorp 2017-10-25 10:48:08 -05:00
Nevin Chen 8ca3d01790 Bug 1409303 - Make PWA enable by default. r=maliu
MozReview-Commit-ID: 5jGDP1Xf1aj

--HG--
extra : rebase_source : df088cd3a04c99c04fdd25543e11ac84ad84bef5
2017-10-25 12:02:23 +08:00
Nevin Chen 07f054650f Bug 1409191 - Prefetch manifest before install. r=snorp
This is a "hacked" fix. The key idea is to specify the value in manifest on "add to home screen confirm prompt."
We need to reuse prefetch result for  manifest.install().

The plan is to land this patch before Chrome Dev Summit(10/30) for demostration and fix the rest of the issue in a follow up bug.

MozReview-Commit-ID: A4B0ZK7UjyK

--HG--
extra : rebase_source : a91a490a08cb4ec18e5ff9f2e78f11efa6fdd98b
2017-10-19 00:59:58 +08:00
Dylan Roeh b96e6b4f15 Bug 1397817 - Delete Downloads/memory-reports if it exists. r=snorp 2017-10-17 16:59:27 -05:00
Kyle Machulis 384f6ede78 Bug 1407040 - Change nsIDOMHTMLMediaElement QIs to Media/Video type checks; r=bz
Change all QIs or instanceof checks against nsIDOMHTMLMediaElement to
check against HTMLVideoElement/HTMLAudioElement.

MozReview-Commit-ID: EpywwFGK33C

--HG--
extra : rebase_source : 3eff2df9580074ed0a71c8fa6750d84a4750fde8
2018-02-14 21:14:06 -08:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Kyle Machulis 1cc8b01353 Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
MozReview-Commit-ID: GCATWRt6qMo

--HG--
extra : rebase_source : 29854f1374c6ad318da0b5b68be23507667c3be4
2017-10-06 13:27:23 -07:00
Jing-wei Wu 2330794b43 Bug 1341038 - Show snackbar for notification when delete a login record. r=nechen,walkingice
MozReview-Commit-ID: HBwhLUA1kYi

--HG--
extra : rebase_source : 8c4a61671b7d0dcbd81a04d69b546d5861b8cb26
extra : source : 9a087e95140f033375f5e15cc12d2acf25988308
2017-09-22 13:20:22 +08:00
Jan Henning 6ed989d34c Bug 1400023 - Switch logins handling to use "display" URIs. r=MattN
Since the pref flip in bug 1380617, the default nsUri attributes have been returning punycode for IDN-based domain names, so we need to switch to using the "display"-prefixed variants as a simple fix to
- preserve compatibility with previously stored logins
- pretty-print unicode domains in the login manager UI instead of showing punycode

This patch is more or less a straight (DXR-)search and replace and has hopefully caught all relevant instance of nsUri access related to logins.

For test_disabled_hosts, we're basically reverting bug 1380617, since the login service will now once again return IDN domains in Unicode where allowed.

MozReview-Commit-ID: 5SvW0MuTrGu

--HG--
extra : rebase_source : 02e4414c72b86d6bebf368f9a79a70d144575493
2017-09-14 20:57:40 +02:00
Kyle Machulis 669ff05b49 Bug 1406525 - Remove nsIDOMHTMLLinkElement; r=bz
MozReview-Commit-ID: 4xUSQ8SiIqX
2017-10-09 16:09:38 -07:00
Eugen Sawin fbf9ec3f92 Bug 1394520 - [1.2] Extend nsIBrowserDOMWindow to support content window creation without URI loading with e10s. r=smaug 2017-09-28 22:45:24 +02:00
Jan Henning 5809a90b3a Bug 1403693 - Fix IDN conversion during theme installation. r=jwu
MozReview-Commit-ID: 9WshGSu4FQJ

--HG--
extra : rebase_source : 4b7966bdc69319d5f1cd96573ff82cae007dc2ea
2017-09-27 21:43:57 +02:00
Kyle Machulis e6d0a7ad13 Bug 1402180 - Remove nsIDOMHTMLAreaElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLAreaElement, replacing it
with binding class usage.

MozReview-Commit-ID: IaX4JFTPZn6

--HG--
extra : rebase_source : 79f9200c6ff9e081a5d9bc21eaa605f88caa99e9
2017-09-21 17:52:28 -07:00
Eugen Sawin 3b7b1e8565 Bug 1401002 - [2.2] Enable GeckoView remote debugging. r=snorp,jchen 2017-09-26 23:08:25 +02:00
Kyle Machulis 9be401bdd6 Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz
MozReview-Commit-ID: Il2Ig98BHYP
2017-09-26 11:40:15 -07:00
Sebastian Hengst b3d9e88e3d Backed out changeset 50d5710ae6c0 (bug 1389650) for eslint failure at browser/modules/PluginContent.jsm:684: 'contentWindow' is assigned a value but never used. r=backout 2017-09-26 10:48:27 +02:00
Kyle Machulis 6b7c6911ae Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz
MozReview-Commit-ID: Il2Ig98BHYP
2017-09-25 23:12:44 -07:00
Andrew Swan 74fb7fe693 Bug 1392176 Implement prompts for browser.permissions.request() on Android r=kmag,sebastian
MozReview-Commit-ID: Dufy1pRFtgK

--HG--
extra : rebase_source : a50bf649d5c2d8ffc0ad143ea7041f34ca28af07
2017-09-12 19:06:45 -07:00
Jan Henning 3e471df8fa Bug 1400544 - Include full host name in site identity popup. r=liuche
MozReview-Commit-ID: FFojx008ZWK

--HG--
extra : rebase_source : 74699ba06e84732aa5e14bdcacca3568c2674ed2
2017-09-16 14:28:17 +02:00
Jan Henning 6cddaccbac Bug 1391421 - Part 8 - Fix site identity handling. r=jwu
"getEffectiveHost" further down expects the URI to be available - apparently this was broken ever since the original implementation.

MozReview-Commit-ID: C1Q6PBYcvk3

--HG--
extra : rebase_source : 5e71c300261ba9cbaff7e006ce22637c29596680
2017-09-15 20:43:40 +02:00
Jan Henning 18b4ca79db Bug 1391421 - Part 7 - Switch addon/theme install prompts to Unicode domains. r=jwu
MozReview-Commit-ID: HlQKTJRu0FT

--HG--
extra : rebase_source : 80cda7b048e6b45cba4867538cc00ad6b83db4e7
2017-09-15 20:38:08 +02:00
Jan Henning 3d412565c0 Bug 1391421 - Part 6 - Switch context menus to Unicode domains. r=jwu
MozReview-Commit-ID: 6yjtRGI6Aui

--HG--
extra : rebase_source : bae1d7b253ccc1998bacd39a52a0d7fac4827c82
2017-09-16 15:01:09 +02:00
Jan Henning 6fee77cbfe Bug 1391421 - Part 5 - Normalise the saved "appOrigin" to Unicode. r=jwu
To avoid mismatches between the Unicode and Punycode versions of a domain, we should normalise the "appOrigin" that can get stored as part of a tab's extra session store data.

To that extent, we move the code that stores the appOrigin into the Tab object's constructor, so we don't have to parse the URL twice.

MozReview-Commit-ID: KFr8CeeOYTe

--HG--
extra : rebase_source : 4494ed02047b33c187143f3789ed663e5022bf35
2017-09-14 21:09:44 +02:00
Jan Henning 57706bcfdc Bug 1391421 - Part 4 - Switch Session Store to save the "display" URL. r=mikedeboer
The URL can end up being user-visible for "Recently closed tabs" (certainly on Android, and also when hovering over an entry on Desktop, at least in the old menu bar), so we should use pretty URLs instead of Punycode.

MozReview-Commit-ID: Kil2ChToYa8

--HG--
extra : rebase_source : 937332a852c6814317cdc58473437e3bc77faf15
2017-09-14 21:29:45 +02:00
Jan Henning 9371ff3146 Bug 1391421 - Part 3 - Switch various places that can end up being user-visible to use Unicode domains. r=esawin,jwu
Amongst others, this includes some prompts, as well as various progress messages sent to the Java UI.

We also fix getTabWithURL to be able to find tabs regardless of whether the given URL to search is written in Punycode or with Unicode characters.

MozReview-Commit-ID: K7xhgz2IK2h

--HG--
extra : rebase_source : cf8a56ef84be77a6c01d7c926b7eae43a20ca453
2017-09-14 18:55:09 +02:00
Jim Chen e03747135e Bug 1400886 - Change BrowserCLH subscripts into modules; r=snorp
Change the subscripts (e.g. FormAssistant.js) that we load in BrowserCLH
into proper .jsm modules. This avoids the `defineLazyScriptGetter`
incompatibility mentioned in the bug, and when we turn on shared JSM
global, any memory advantage we get from using subscripts should not
matter anymore.

MozReview-Commit-ID: krSwANdtb5

--HG--
rename : mobile/android/chrome/content/ActionBarHandler.js => mobile/android/modules/ActionBarHandler.jsm
rename : mobile/android/chrome/content/FormAssistant.js => mobile/android/modules/FormAssistant.jsm
rename : mobile/android/chrome/content/InputWidgetHelper.js => mobile/android/modules/InputWidgetHelper.jsm
rename : mobile/android/chrome/content/SelectHelper.js => mobile/android/modules/SelectHelper.jsm
rename : mobile/android/chrome/content/WebrtcUI.js => mobile/android/modules/WebrtcUI.jsm
extra : rebase_source : fa361c9eeea38485ba6a8f6c49321c32304d4006
2017-09-19 14:57:32 -04:00
Sebastian Hengst 09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Jim Chen db5353e4ca Bug 1367079 - 4. Move ActionBarHandler usage out of browser.js; r=snorp
Use ActionBarHandler in BrowserCLH.js instead of browser.js, so it can
handle text selection for all windows. Also update ActionBarHandler to
reflect the new usage and to support multiple windows.

MozReview-Commit-ID: G8sKu2XyAAG
2017-09-14 17:50:58 -04:00
Jim Chen bee5ada2ca Bug 1398409 - 2. Use event callback to communicate FormAssistPopup actions; r=sebastian
Use event callbacks instead of separate events to deliver
FormAssistPopup replies back to FormAssistant. This lets us better
handle having multiple FormAssistPopup instances across Fennec, custom
tabs, and PWAs.

FormAssistant._currentInputElement is removed because it does not allow
us to have multiple concurrent popups. Instead, we track the current
element through the event callback closure.
FormAssistant._currentInputValue is also removed for similar reasons,
and I don't think it was really necessary.

MozReview-Commit-ID: DdeMBGCxDou
2017-09-14 17:50:57 -04:00
Jim Chen 3488170d4d Bug 1398409 - 1. Move FormAssistant out of browser.js; r=sebastian
To support FormAssistPopup in custom tabs, we need to move the
FormAssitant object out of browser.js and into its own separate file.
BrowserCLH.h in turn loads FormAssistant.js when necessary.

MozReview-Commit-ID: 7CFQ9R16P4J
2017-09-14 17:50:57 -04:00
Jim Chen 2da0bfd1b8 Bug 1367077 - 3. Move form fill event listeners out of browser.js; r=sebastian
Move the form fill event listeners out of browser.js and into
BrowserCLH.js, and update them to support chrome windows, so we can
handle form fill events for Fennec, custom tabs, and PWAs.

MozReview-Commit-ID: Fb5gWmGvxfE
2017-09-14 17:50:57 -04:00
Jim Chen 2ea84d0359 Bug 1367077 - 2. Move PromptService startup to BrowserCLH; r=snorp
Use the BrowserCLH for PromptService startup, to consolidate startup
handling code and also to delay loading PromptService.

MozReview-Commit-ID: 25UgVH7wrrs
2017-09-14 17:50:54 -04:00
Jim Chen 3dfb8bc0dc Bug 1367077 - 1. Move startup utility functions into GeckoViewUtils; r=snorp
Move `addLazyGetter` and `addLazyEventListener` utility functions from
GeckoViewStartup.js into GeckoViewUtils.jsm, so they can be used for
both Fennec and standalone GeckoView.

Also switch to "chrome-document-loaded" for loading
DownloadNotifications because that's later in the startup sequence.

MozReview-Commit-ID: 1caMtufkHGR
2017-09-14 17:50:54 -04:00
Andrew Swan d249202ee5 Bug 1391579 Part 4: Handle the in-app extension update flow for Fennec r=jwu,sebastian
The mechanics implemented here involve listening for extension updates that
require new permissions, notifying the user with icons attached to the
top level Add-ons menu and to the individual item in about:addons, and
then showing the permissions dialog when the user asks to update.

The basic plumbing is mostly in ExtensionPermissions.js, this also
required a fair amount of change to aboutAddons to accomodate new UI
elements, and to handle updates gracefully.

MozReview-Commit-ID: Jkgc3OVYtnc

--HG--
extra : rebase_source : 5df3e12df8c422285fbc25c459dc420b395fa824
2017-09-08 16:48:22 -07:00
Eugen Sawin efd71c501c Bug 1329154 - [1.0] Add GeckoView BrowserApp stub to support WebExtensions. r=snorp 2017-09-13 15:32:11 +02:00
Richard Newman f31d98a272 Bug 1378501 - Tell Gecko when the OS locale changes, even when backgrounded. r=mcomella
This ensures that `intl.locale.os` is always set, even if the system locale changes
while Fennec is in the background.

This commit also restores `Strings.flush()` calls that are necessary to have Fennec's
non-Java UI reflect locale changes.

With this commit, the geolocation popup still doesn't behave correctly: when the
locale system is set to match OS locale, although the pref is set the locale doesn't
change. This applies in two scenarios: on first run (the popup is always English)
and when the locale changes at runtime (the popup uses an earlier OS locale).

Bug 1397925 should complete the fix.

MozReview-Commit-ID: 8zeZuYXFYdy

--HG--
extra : rebase_source : 9da9aae7ed8420faa7567c9db29b1110b3289d9f
2017-09-08 07:54:13 -07:00
Andrew Swan a81fd94e72 Bug 1379833 Part 2: Display permissions dialog during extension install on Android
MozReview-Commit-ID: 721i0B0lC4n

--HG--
extra : rebase_source : 4fd65f05308b9fc085f7ca3bb88fc9195ec290a3
extra : intermediate-source : facd660f3c054d2d082bed635df5af312ec9773f
extra : source : 95aaed050f22ef61d3bedbb5b47d043d10624eeb
2017-08-15 08:35:11 -07:00
Jim Chen d6e76c014e Bug 1394580 - 3. Lazy-load AndroidLog.jsm; r=droeh
Lazily load AndroidLog.jsm since we only need it for debug logging, and
logging is normally turned off in GeckoView code.

MozReview-Commit-ID: 5HNzYTwujMS

--HG--
extra : rebase_source : f6902e25a445d29001f93e024e7cc82fddbb58f2
2017-09-05 21:26:31 -04:00
Jim Chen 46bab67672 Bug 1394580 - 1. Only load AsyncPrefs for Fennec; r=esawin
Move AsyncPrefs initialization to inside browser.js to only load it for
Fennec. Also, delay initialization until later in startup.

MozReview-Commit-ID: 7gLaXA5UJud

--HG--
extra : rebase_source : c71edca4a13f3de785e06f2e0a249ff80fd8c1d4
2017-09-05 21:26:30 -04:00
Sebastian Hengst 3501d62e32 Backed out changeset b84fc40ed8c2 (bug 1394580) for eslint failure at mobile/android/modules/geckoview/Messaging.jsm:201: Missing space after *. r=backout 2017-09-05 21:53:24 +02:00
Sebastian Hengst aead58a5ad Backed out changeset 995d9ef9af5f (bug 1394580) 2017-09-05 21:51:24 +02:00
Jim Chen 98dc4b6b01 Bug 1394580 - 3. Lazy-load AndroidLog.jsm; r=droeh
Lazily load AndroidLog.jsm since we only need it for debug logging, and
logging is normally turned off in GeckoView code.

MozReview-Commit-ID: 5HNzYTwujMS

--HG--
extra : rebase_source : 5ef9bbe21ff1a53bc0e805f473154e1cf60d3b08
2017-09-05 15:27:36 -04:00
Jim Chen e71f44e7d6 Bug 1394580 - 1. Only load AsyncPrefs for Fennec; r=esawin
Move AsyncPrefs initialization to inside browser.js to only load it for
Fennec. Also, delay initialization until later in startup.

MozReview-Commit-ID: 7gLaXA5UJud

--HG--
extra : rebase_source : c721bbc6c9340f65161c415405dfba16e527b962
2017-09-05 15:27:29 -04:00
Luca Greco 8ea256fafd Bug 1395911 - Ensure Android addon options are not hidden while a webextension is still starting. r=sebastian
MozReview-Commit-ID: JXxI1dK39jA

--HG--
extra : rebase_source : b45efcaeebb19eca0196a823048c5d878b259b0c
2017-09-01 14:31:26 +02:00
Zibi Braniecki 517324f16f Bug 1389397 - Remove the override chrome entries from language manifests. r=Pike
MozReview-Commit-ID: IsNb6inPCtf

--HG--
extra : rebase_source : 169e5cbb0263239ffce2a4ead598c7904e5a3484
2017-08-31 01:21:08 -07:00
Michael Comella cf5d8a86f7 Bug 1393699: Add referrerURI to Tabs.loadUrl flows. r=liuche
This will allow us to call Tabs.loadUrl with a referrer URI from the Pocket top
stories.

MozReview-Commit-ID: IGdoTo80SGG

--HG--
extra : rebase_source : 52c616720fb1735e593f02330d1dd02db45f501f
2017-08-30 15:26:03 -07:00
Luca Greco 9e55b57841 Bug 1388098 - Fix Android options_ui on disable/enable addon. r=mixedpuppy
MozReview-Commit-ID: 4z4vJpDxzGB

--HG--
extra : rebase_source : e4d13535390579538aefa8cae3643fe112cfbd72
2017-08-07 18:54:16 +02:00
Sebastian Hengst 558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
James Willcox 98ff44e853 Bug 1353868 - Split out web app manifest handling and fix scope handling r=esawin
MozReview-Commit-ID: 7MpeqitYRW8
2017-08-29 10:31:41 -05:00
Jim Chen d8022d7f17 Bug 1393128 - 3. Initialize DownloadNotifications outside of browser.js; r=esawin
In order to show download notifications, we need to initialize the
DownloadNotifications module outside of browser.js. This patch moves
initialization to BrowserCLH.js, and includes a refactoring of the
`addObserverScripts` function. The "chrome-document-interactive"
notification is used to trigger initialization because it is roughly
equivalent to where we used to initialize the module inside browser.js.

MozReview-Commit-ID: 8o1KZWRt69K

--HG--
extra : rebase_source : a588a4e0933069bbbde00dc07c97141c889dfc81
2017-08-28 23:56:44 -04:00
Jing-wei Wu 1da86e673f Bug 1390735 - Support tint color for page action button. r=nechen,sebastian,walkingice
Use tint to provide two colors for page action icon in normal/private mode.

We would not tint icons that already have their own colors(for example: ic_readermode_on.png or casting_active.png)
or are came from 3-party addons.

MozReview-Commit-ID: 8uuMucKGLw5

--HG--
extra : rebase_source : 7d213e2b96fab8389b2b2c69e1fdb8ecfe569f20
extra : intermediate-source : ee7c5cecab194ae54317d77de05b2e2f84e1122e
extra : source : a97a2b9700a27e944691536adec6112451ff1f24
2017-08-25 16:24:18 +08:00
Luca Greco f7b58974c2 Bug 1364945 - Fix runtime.openOptionsPage on Firefox for Android. r=mixedpuppy,sebastian
MozReview-Commit-ID: Envx19jlCjY

--HG--
extra : rebase_source : 7b1ae9bd2809ac0b75130d740c2f28388cd63d43
2017-08-07 17:56:36 +02:00
Kris Maglione 821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Francois Marier 5139582bc4 Bug 1385484 - Remove obsolete prefs and add missing blockedURIs. r=hchang
This should have been done when blockedURIs was added (bug 1237198),
when safebrowsing.enabled was renamed (bug 1025965), and when the
forbidden list format was removed (bug 1274893).

MozReview-Commit-ID: AUWR5Efcb2x

--HG--
extra : rebase_source : 990bbd4ba7a6daaa08928a697e72f2d6b5b39a5a
2017-08-22 17:55:28 -07:00
Wes Kocher 207dd28c61 Backed out 4 changesets (bug 1385484) for build failures a=backout
Backed out changeset 401c2744f16b (bug 1385484)
Backed out changeset 2ff443a0c744 (bug 1385484)
Backed out changeset 1a1c476a9aaa (bug 1385484)
Backed out changeset 87ec064a3681 (bug 1385484)

MozReview-Commit-ID: D9WGXiXaNoZ

--HG--
extra : rebase_source : ebab6135905e972abf7eeab9af8db41454687373
2017-08-22 17:22:41 -07:00
Francois Marier 4a7299c438 Bug 1385484 - Remove obsolete prefs and add missing blockedURIs. r=hchang
This should have been done when blockedURIs was added (bug 1237198),
when safebrowsing.enabled was renamed (bug 1025965), and when the
forbidden list format was removed (bug 1274893).

MozReview-Commit-ID: AUWR5Efcb2x

--HG--
extra : rebase_source : 533b2e2296d1fe70d6c334bb1766ca26679d224f
2017-08-22 16:00:50 -07:00
Masatoshi Kimura 464faf37d6 Bug 1390209 - Follow-up patch to remove a reference to removed interfaces. r=qdot
MozReview-Commit-ID: LLHItOR1atG

--HG--
extra : rebase_source : 68e5f2d1a07503721d80b3ec480f16ea3a63fe38
2017-08-23 06:49:22 +09:00
Henry Chang f6ee4abf9c Bug 1388501 - Fixed missing PHA warning page on Fennec. r=francois
MozReview-Commit-ID: FPf85QAO2C9

--HG--
extra : rebase_source : 33fa0381479cc454deca8c6061ccd4ebb1e539b1
2017-08-17 17:24:19 +08:00
Jim Chen 9348771270 Bug 1388724 - 6. Make WebrtcUI not depend on browser.js; r=esawin
Move WebrtcUI loading from browser.js to BrowserCLH.js, so that it can
be loaded without GeckoApp/browser.js being active. Also use the
universal doorhanger API to show the prompts.

MozReview-Commit-ID: Gqsthvn7ZXA

--HG--
extra : rebase_source : 3b3007899bb791b09b35a6a7ab35924468acb6f1
2017-08-18 14:27:31 -04:00
Jim Chen 9a128ccc12 Bug 1387190 - Fire "input" event for <select> and datetime <input>; r=esawin
Fire "input" event in addition to "change" event for both <select>
fields and date/time <input> fields.

MozReview-Commit-ID: 8UDdF8ZnM2e
2017-08-16 11:53:13 -04:00
Dylan Roeh 390b12b2a6 Bug 1389054 - Back out patch for bug 1382637 to fix broken behavior when "Don't keep activities" is enabled. r=snorp 2017-08-16 09:38:39 -05:00
Luca Greco 9cabfd770d Bug 1386316 - Resize Android WebExtension Options UI iframe to match its content size. r=mixedpuppy
MozReview-Commit-ID: 17a240drasZ

--HG--
extra : rebase_source : de1fd026345b105f739dd9627799b18802f73c2a
2017-08-07 15:45:55 +02:00
Nevin Chen 5a105aef6d Bug 1390038 - Fix xml parsing error. r=dao
MozReview-Commit-ID: 8sv7aH6ejIt

--HG--
extra : rebase_source : 3c24def7328720b2cc2924b9c09724fc3709ee0e
2017-08-14 14:46:30 +08:00
Eugen Sawin d8fdd4ab7b Bug 1377580 - [1.2] Extend nsIBrowserDOMWindow to support content window creation without URI loading. r=smaug 2017-08-14 14:57:25 +02:00
Wes Kocher 223f322400 Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Dylan Roeh ba0ab9fa3d Bug 1382637 - Zombify all tabs in BrowserApp.onDestroy() to stop video/audio recording when Fennec is swipe-to-killed. r=snorp 2017-08-07 12:14:35 -05:00
Dan Banner 4f8c0ecb0f Bug 1385815 - Enable brace-style and quotes ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 5IFF4IPpPVY

--HG--
extra : rebase_source : 69ec5e1ae3333c42cfc00dc47bb09d910ba07409
2017-08-01 16:43:56 +01:00
Dan Banner 015cd78b6a Bug 1385815 - Enable more ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: aC7PX7xDok

--HG--
extra : rebase_source : 3f48ac26d442a47988fcf445d5319ecc6a38a7c5
2017-08-01 16:41:38 +01:00
Dan Banner 9a7db035d4 Bug 1385815 - Enable more whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: FuM6Neob0mC

--HG--
extra : rebase_source : 29a9fbbaf74b17f4b02a835a7ef88550413514a0
2017-08-01 16:36:00 +01:00
Dan Banner 12a96894b3 Bug 1385815 - Enable whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 6B79zhklsYR

--HG--
extra : rebase_source : e32d5454c793f443b2d3336b9c9aacb8cdf2f63b
2017-08-01 16:34:11 +01:00
Henry Chang a93f3d2ba4 Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois
MozReview-Commit-ID: KDAklsznekw

--HG--
extra : rebase_source : 20d81369b18b12d9b5f6670d92bf3c7215c8c9a9
extra : intermediate-source : a2d99a6b07bb015f0bdc5c1687e250086ed09a5c
extra : source : 5460dbfebee4f99580b306a9b0ec754b890f5959
2017-08-02 14:01:44 +08:00
Eugen Sawin 88efc0911a Bug 1386697 - [2.0] Use content event forwarding for GeckoViewContent events. r=jchen 2017-08-03 13:47:37 +02:00
Eugen Sawin 1af1dfd5c3 Bug 1386697 - [1.0] Use content event forwarding for scroll events. r=jchen 2017-08-03 13:47:29 +02:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Luca Greco 3a310dee99 Bug 1382572 - Display Android options_ui of newly installed WebExtensions when about:addons is opened. r=mixedpuppy
MozReview-Commit-ID: HbTghvTdQ28

--HG--
extra : rebase_source : eed5d6b9642360d0b10ea3cf831806aa110f5a46
2017-07-28 14:58:44 +02:00
Wes Kocher 3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
James Willcox 25dad4abf2 Bug 1381916 - Remove frontend support for plugins in Fennec r=nechen
MozReview-Commit-ID: Gkqe8Y5AMPV
2017-07-31 12:25:16 -05:00
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Luca Greco dd6ab49bcd Bug 1380575 - Fix aListItem is undefined when uninstalling from Androud about:addons page. r=mixedpuppy
MozReview-Commit-ID: HrJ17Tu81Hm

--HG--
extra : rebase_source : 537f3280c55b10597a88087ee70b98fccfedc0a2
2017-07-28 14:56:18 +02:00
Luca Greco e3c2b4089a Bug 1380575 - Fix Android WebExtension options page rendered on other extension details. r=mixedpuppy
MozReview-Commit-ID: LXRhx1DKTek

--HG--
extra : rebase_source : c4511d9b962a297178ba32168ad707f24a92b1a9
2017-07-28 12:17:07 +02:00
Thomas Nguyen 0750620b3e Bug 1366384 - Add Google attribution on Safe Browsing warning pages r=francois,johannh,maliu
MozReview-Commit-ID: AetAscS1Bkw

--HG--
extra : rebase_source : 692c2730e62a5cf4580b19aa8f4e472f75fc97b2
2017-06-14 17:36:02 +08:00
Eugen Sawin f97860703b Bug 1381983 - [3.0] Add context menu support for media elements. r=snorp 2017-07-25 14:41:49 +02:00
Eugen Sawin 70800ca13d Bug 1381983 - [1.1] Add context menu event handler to the content delegate. r=snorp 2017-07-25 14:41:49 +02:00
Sylvestre Ledru 3ceadf693d Bug 1377740 - Only set the url when the link exists n?nechen r=nechen
MozReview-Commit-ID: AqChrNYGChw

--HG--
extra : rebase_source : 1e2856ee16f31080dc428c82e159a296a5b0c02c
2017-07-24 08:16:55 +02:00
Johann Hofmann 3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Florian Quèze 94d67824bc Bug 1369460 - AsyncPrefs.jsm should be imported lazily from nsBrowserGlue.js, r=mconley,snorp. 2017-07-15 00:16:30 +02:00
Eugen Sawin c9dafde14e Bug 1380071 - [3.1] Use content module base class for the GeckoView scroll module. r=jchen 2017-07-13 14:40:25 +02:00
Eugen Sawin fdb7767b59 Bug 1380071 - [2.1] Use content module base class for the GeckoView content module. r=jchen 2017-07-13 14:40:23 +02:00
Eugen Sawin 9523035bec Bug 1424252 - [2.0] Enable text selection complementary to the HTML or native context menu. r=nechen 2018-01-22 15:08:44 +01:00
Julian_Chu c5e97aacc1 Bug 1379066 - 4. Readermode icon use new resource r=jwu
In Photon, the reader-mode icon should support private mode. Therefore
we rename resource in Australis to *ic_readermode* for consistent.

MozReview-Commit-ID: 1ejwk3OfUex

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/reader.png => mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode.png
rename : mobile/android/app/src/main/res/drawable-hdpi/reader_active.png => mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode_on.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/reader.png => mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/reader_active.png => mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode_on.png
extra : rebase_source : 15e62aafe7e895805db10b3d7d7bfb4a641be123
2017-07-06 12:26:05 +08:00
Nevin Chen 92adb3bde0 Bug 1377742 - about:rights shows XML parsing error. r=dao
MozReview-Commit-ID: 6H1pnswjliU

--HG--
extra : rebase_source : 7e946f678e16019bcb30acb231a2c429ed4b9421
2017-07-11 13:38:02 +08:00
Jan Henning 3c712524f9 Bug 1366098 - Part 1 - Remove Fennec tab type infrastructure. r=walkingice
The new, preferred solution for displaying additional web content outside of our normal tab infrastructure and UI is to use a separate GeckoView instance. Therefore, the support for different having additional "tab" types that aren't displayed in the normal UI, as well as for multiple GeckoApp instances displaying different tabs is no longer needed and can be removed.

MozReview-Commit-ID: FNx0gJIKybr

--HG--
extra : rebase_source : 4059e03db9586317c9c2928cef1d6dc98406319b
2017-06-27 14:13:40 -07:00
Sebastian Hengst 92d29aa7d4 Backed out changeset b0ba143fba67 (bug 1379066)
--HG--
rename : mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode.png => mobile/android/app/src/main/res/drawable-hdpi/reader.png
rename : mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode_on.png => mobile/android/app/src/main/res/drawable-hdpi/reader_active.png
rename : mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode.png => mobile/android/app/src/main/res/drawable-xhdpi/reader.png
rename : mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode_on.png => mobile/android/app/src/main/res/drawable-xhdpi/reader_active.png
2017-07-10 15:52:48 +02:00
Julian_Chu b489114eb9 Bug 1379066 - 4. Readermode icon use new resource r=jwu
In Photon, the reader-mode icon should support private mode. Therefore
we rename resource in Australis to *ic_readermode* for consistent.

MozReview-Commit-ID: 1ejwk3OfUex

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/reader.png => mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode.png
rename : mobile/android/app/src/main/res/drawable-hdpi/reader_active.png => mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode_on.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/reader.png => mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/reader_active.png => mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode_on.png
extra : rebase_source : da0ba6cebb9bfa57591fad42154322e0109e1520
2017-07-06 12:26:05 +08:00
Matthew Wein d67b56da85 Bug 1302504 - use mozbrowser to add support for options_ui on Android r=mixedpuppy
MozReview-Commit-ID: IsTOC3pNxJP

--HG--
extra : rebase_source : 662ed1c317e8c480133de40c292622afb9984816
2017-07-07 15:03:33 -04:00
Rajesh Kathiriya 881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Julian_Chu 82642b3c06 Bug 1376486 - Toggle PWA function by Android preference r=daleharvey,sebastian
Instead of reading config from about:config, now we read from Android
Preference.

MozReview-Commit-ID: 9yFdknOx8uH

--HG--
extra : rebase_source : c95930357c0e8c191c27d5a35e1c15955ec2d71f
2017-06-29 16:18:22 -07:00
Christoph Kerschbaumer 8bd02d75b7 Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI on android. r=snorp 2017-07-05 21:58:41 +02:00
Frederik Braun 56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Eugen Sawin c035ea3dee Bug 1372681 - [1.2] Add GeckoView module registration mechanics. r=snorp,jchen 2017-06-29 16:42:12 -07:00
Sebastian Hengst 5b82b79d9c Backed out changeset 1cd9e27f0fa1 (bug 1351608) 2017-06-29 01:01:15 +02:00
Frederik Braun 9c64aee8c8 Bug 1351608 - Comment out existing violations to no-unsanitize rule. r=standard8
--HG--
extra : rebase_source : 41eb119fb189c4577fe64b114821b75d8781ad99
2017-06-28 12:50:38 -07:00
Eugen Sawin 2a59fed25a Bug 1371796 - [1.1] Add ScrollListener for content scroll events to GeckoView. r=snorp 2017-06-28 12:23:28 -07:00
Ehsan Akhgari 941548abbb Bug 1374892 - Implement nsISHistoryListener::OnLengthChanged/OnIndexChanged on the JS implementations to avoid generating silent exceptions when Gecko calls these functions; r=freesamael 2017-06-22 00:30:37 -04:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Dylan Roeh 44b507fc61 Bug 1356346 - Overhaul CustomTabsActivity.java to use GeckoView rather than GeckoApp. r=jchen, walkingice 2017-04-25 11:48:05 -05:00
Dylan Roeh 31216ace5a Bug 1365599 - Make Tabs use the window event dispatcher rather than global in some instances. r=jchen 2017-06-16 13:40:48 -05:00
Rajesh Kathiriya 6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Sylvestre Ledru 5d7549aaae Bug 1372215 - On fennec nightly, the release notes links points to a 404 r=sebastian
MozReview-Commit-ID: GEAgcTDasIl

--HG--
extra : rebase_source : 91008f824e0e5b3da247345fdd130421ea7b6da4
2017-06-12 15:38:52 +02:00
Mark Banner 64c4754cfe Bug 1371292 - Clean up more ESLint global definitions in configuration files in mobile/android. r=mossop
MozReview-Commit-ID: DuRpyDcZa20

--HG--
extra : rebase_source : 054fc8483d81de1f08e437242f6e6c01b066e8a0
2017-06-08 15:39:47 +01:00
Michael Layzell ac7ba92fd5 Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Wes Kocher 5141530f17 Merge m-c to inbound, a=merge
MozReview-Commit-ID: EiG9icZCZ3x
2017-06-05 17:39:09 -07:00
Wes Kocher 3c05a4998a Merge inbound to central, a=merge
MozReview-Commit-ID: Cb3YlCdVhQr
2017-06-05 17:34:09 -07:00
James Willcox 56de576eb7 Bug 1368187 - Set up nsIBrowserDOMWindow correctly in GeckoView r=jchen
MozReview-Commit-ID: L0FkAGriChD
2017-06-05 15:45:27 -05:00
Jim Chen 50d7a19548 Bug 1367081 - 4. Load SelectHelper and InputWidgetHelper in PromptService.js; r=droeh
Right now SelectHelper and InputWidgetHelper are loaded in browser.js,
which means they only work for GeckoApp. This patch loads them in
PromptService.js instead, which means they will work in all windows. The
patch also changes some code in SelectHelper and InputWidgetHelper that
used to assume they are running under the browser.xul chrome window.

MozReview-Commit-ID: HveDzIzK1b4
2017-06-05 13:55:59 -04:00
Jim Chen b51227fbc9 Bug 1367081 - 3. Include window when using Prompt.jsm; r=droeh
Include the window when using Prompt.jsm in JS so that the prompts can
be directed to the correct Activity.

MozReview-Commit-ID: 7AtYaCJXjDi
2017-06-05 13:55:58 -04:00
Varun Iyer c7293ef605 Bug 1363843 - Remove Java Addons support from Fennec, Part 2 r=JanH
MozReview-Commit-ID: IefloUObRvY

--HG--
extra : rebase_source : 4ec4e5fe903798f41d11977d0cb655962e461466
2017-05-31 16:22:47 -07:00
Sebastian Hengst cef1c12f64 Backed out changeset 6065144fe5b3 (bug 1367081) for failing test_hidden_select_option.html. r=backout 2017-06-02 23:36:38 +02:00
Sebastian Hengst b017d64fb7 Backed out changeset 949bae6eaa96 (bug 1367081) 2017-06-02 23:35:23 +02:00
Jim Chen d48ff8f555 Bug 1367081 - 4. Load SelectHelper and InputWidgetHelper in PromptService.js; r=droeh
Right now SelectHelper and InputWidgetHelper are loaded in browser.js,
which means they only work for GeckoApp. This patch loads them in
PromptService.js instead, which means they will work in all windows. The
patch also changes some code in SelectHelper and InputWidgetHelper that
used to assume they are running under the browser.xul chrome window.

MozReview-Commit-ID: Jfe6ODyYKVf
2017-06-02 16:16:11 -04:00
Jim Chen 1507e819e9 Bug 1367081 - 3. Include window when using Prompt.jsm; r=droeh
Include the window when using Prompt.jsm in JS so that the prompts can
be directed to the correct Activity.

MozReview-Commit-ID: CrPqf9gnDho
2017-06-02 16:16:11 -04:00
Jim Chen 858e777c78 Bug 1369108 - 3. Implement new device permission code path for Fennec; r=esawin
Instead of asking for permission in VideoCaptureDeviceInfoAndroid.java,
we now merely check for permission there. The actual permission prompt
now happens in WebrtcUI.js, using the new
"getUserMedia:ask-device-permission" and
"getUserMedia:got-device-permission" notifications.

MozReview-Commit-ID: DSVPjjW2JNR
2017-06-02 16:11:53 -04:00
Dylan Roeh 093f070363 Bug 1369393 - Backout GV-based custom tabs, PWAs, and Tabs.java changes. r=me 2017-06-01 09:28:31 -05:00
Dylan Roeh 7c456e1289 Bug 1356346 - Overhaul CustomTabsActivity.java to use GeckoView rather than GeckoApp. r=jchen, walkingice 2017-04-25 11:48:05 -05:00
Dylan Roeh 3ee02fbbea Bug 1365599 - Make Tabs use the window event dispatcher rather than global in some instances. r=jchen 2017-05-31 16:58:54 -05:00
Nevin Chen 0f2aff9431 Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 6 things. They are related so I put them in the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.
6. Fix proguard. Only keep necceary files.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : 35b54c11004905c950c1ace84507554a2e1b4f39
2017-05-17 01:25:45 +08:00
Sebastian Hengst bebf8c82cb Backed out changeset d289ee2c794d (bug 1361664)
MozReview-Commit-ID: gNRtEiyg7W
2017-05-27 14:00:27 +02:00
Nevin Chen 1fd979b26c Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 5 things. They are related so I put them is the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : 07913749581b2426f0e5ba3aeb8364b85dbd1b72
2017-05-17 01:25:45 +08:00
Sebastian Hengst 0c334f17dd Backed out changeset 59dc8710d768 (bug 1361664) 2017-05-26 13:40:51 +02:00
Nevin Chen 14a09a7b1f Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 5 things. They are related so I put them is the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : 59c360244bb41467763e3fa11305c00893b7198d
2017-05-17 01:25:45 +08:00
Jim Chen a96d808466 Bug 1367234 - 1. Support fullscreen for e10s GeckoView; r=droeh
Add event listeners and implement basic messages between chrome and
content so let e10s content in GeckoView request/exit fullscreen. Once
we're on the parent side, we still go through the normal fullscreen flow
so there is no platform or Java change involved.

MozReview-Commit-ID: G1tBIOoFqkB
2017-05-25 18:35:19 -04:00
Nevin Chen f4108311cc Bug 1358946 - Strip about:reader in intent data uri. r=maliu
MozReview-Commit-ID: AQ8txBAbtUr

--HG--
extra : amend_source : 5128c93b4796f3d9c568bf55aaa743c4493a0a84
2017-05-18 19:39:00 -04:00
Shih-Chiang Chien 0131b8b831 Bug 1363421 - Part 2, delay the initialization of UserAgentOverrides.jsm until first nsHttpChannel is created. r=mcmanus
UAOverridesBootstrapper.js is introduced to delay the initialization of
UserAgentOverrides.jsm until the creation of the first nsHttpChannel.
Uninit will be triggered at profile-change-net-teardown because no network
traffice after this point.


MozReview-Commit-ID: F8Lpn6RyZEm

--HG--
extra : rebase_source : 7c3649b50ad8594dc0968961fbbd2766d0d98b0a
2017-05-16 12:11:12 +08:00
Matthew Wein 880ae24e61 Bug 1360448 - Only ignore OPTIONS_TYPE_INLINE_BROWSER instead of ignoring all types which aren't OPTIONS_TYPE_INLINE r=mixedpuppy
MozReview-Commit-ID: Ks3Yryy22lL

--HG--
extra : rebase_source : 7708bddba429871ca02a894fca4e8f1b452ad12c
2017-05-10 22:54:40 -04:00
Sebastian Hengst aafad4390c Backed out changeset 86af05828caf (bug 1358946) for Android bustage in SafeIntent.java. r=backout 2017-05-18 13:54:07 +02:00
cnevinc edd2beae07 Bug 1358946 - Strip about:reader in intent data uri. r=maliu
MozReview-Commit-ID: AQ8txBAbtUr

--HG--
extra : rebase_source : 96f9a73ced0a0a8d948e8fe89f3e15fc9780b9d6
2017-05-05 13:24:51 +08:00
Jan Henning 85451c5c8e Bug 1349155 - Show message when clearing user data on shutdown. r=sebastian
Properly clearing data (history etc.) when shutting down via "Quit" can introduce a possibly noticeable delay (up to the order of a few seconds in bad cases) before the UI actually closes. This patch shows a snackbar for this case, so we don't give users the impression of simply randomly hanging during shutdown.

MozReview-Commit-ID: AqYw8qK8xol

--HG--
extra : rebase_source : 3a1f650dd27ef07ec7eb21dc511decbd94c0a99c
2017-03-26 18:41:09 +02:00
Jan Henning cd5c783e09 Bug 1253647 - Part 1 - Don't show page URL title on add-on restart doorhanger. r=sebastian
When a non-restartless add-on is (un)installed or updated, we show a doorhanger prompting the user to restart. Currently, the doorhanger's title is using the default logic for choosing its title, that is using the base domain of the tab the doorhanger is being displayed on.

By chance, when the doorhanger is triggered from about:addons there is no domain to display, so the doorhanger is just displaying the restart notification. If however an add-on is automatically updated while the user is browsing, then the restart prompt will show the domain of the currently open tab in conjunction with the restart message. This can be confusing for the user, as it looks like it was in fact the current page that triggered the restart prompt.

Therefore, we change this behaviour and just show a generic "Add-ons" as title for this case.

MozReview-Commit-ID: 3pMwSiLul99

--HG--
extra : rebase_source : 3c11fe19c5cef42226a849b78d554fa846114bfa
2017-05-10 22:24:14 +02:00
Wes Kocher e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Mark Banner b0c63f1126 Bug 1363353 - Rename the .eslintrc files for mobile to .eslintrc.js to match the rest of the tree. r=sebastian
MozReview-Commit-ID: 8XkJGyGkOW8

--HG--
rename : mobile/android/.eslintrc => mobile/android/.eslintrc.js
rename : mobile/android/chrome/content/.eslintrc => mobile/android/chrome/content/.eslintrc.js
extra : rebase_source : 8d6a5f6fa071be4e62738075f69d15f14ec42a68
2017-05-09 13:55:21 +01:00
Gijs Kruitbosch 70316b8ea8 Bug 1358248, r=nechen,evanxd
MozReview-Commit-ID: 1EBZFcyvmY1

--HG--
extra : histedit_source : 62066947ec5c3eb6218869be6131dcae15159d74
2017-04-22 15:00:22 +01:00
Jan Henning 13d04aadff Bug 1353857 - Include the tab ID when notifying about leaving/entering a web app's scope. r=daleharvey,walkingice
We only want to process the AppEntered/Left message if it actually concerns our currently displayed tab.

MozReview-Commit-ID: EJ8RzRzDNAz

--HG--
extra : rebase_source : 2d05c8131a3b25968b36704647a9041b15599668
2017-04-17 16:37:58 +02:00
Jan Henning 823bb8f884 Bug 1351808 - Part 2 - Exclude non-standard tab types from session store. r=sebastian
Restoring anything other than normal browsing tabs (e.g. custom tabs, web apps) is more involved because those tabs
- don't appear in our normal tabs UI
- are opened in separate activities
- when we're starting up, Android's task switcher might or might not still have available task entries corresponding to such tabs from the last session

Therefore, for now, the session store will simply exclude those kinds of tabs from being saved in the session store data.

Instead of a real restore, if the corresponding tab has been closed or Gecko stopped running, we just recreate the custom tab/web app based on the stored Activity intent data we have available (bug 1352997).
Tab zombification while Gecko is running however remains fully supported, as we continue collecting session history data for all tab types, even if we don't necessarily save it to disk.

Because custom tabs/web apps currently still share a common Gecko browser window with normal tabs, we also have to modify our selected tab tracking logic accordingly, so that selecting one of these special tab types doesn't overwrite the last selected normal browsing tab.

To that effect, we now track the selected tab *ID* in memory and only convert that to a tab index when writing the data to disk. As the ID remains stable while Gecko is running, this makes tracking changes for a sub-group of tabs only easier, as we don't have to watch out for closing tabs of *any* kind affecting the tab index of everything behind them.

Bug 1346008#c3 has some preliminary ideas on how session restoring for custom tabs/web apps could be made to work.

MozReview-Commit-ID: 1q5Jtv0DKrE

--HG--
extra : rebase_source : 150e61f2a205e6bc6ea6cf346de0ba42b1935d13
2017-04-08 13:43:09 +02:00
Sebastian Hengst b53ff60076 Backed out changeset 4aa74fee0d37 (bug 1351808) 2017-04-27 20:33:03 +02:00
Wes Kocher 19e79c95be Backed out changeset 9ce0883ffd62 (bug 1353857) because a dependent bug failed to land a=backout
MozReview-Commit-ID: GuGF9G3KmS6

--HG--
extra : rebase_source : baf19a05b9fd3dd291623a8102406721f8b4a88e
2017-04-27 11:25:22 -07:00
Michael Kaply ae592e21d4 Bug 1360267 - Fix link in about:healthreport. r=snorp
MozReview-Commit-ID: Ea32Zp4HG63

--HG--
extra : rebase_source : 49cb98279b16fede560700a478e0b1b263c0f234
2017-04-27 12:20:00 -05:00
Jan Henning 3325142356 Bug 1353857 - Include the tab ID when notifying about leaving/entering a web app's scope. r=daleharvey,walkingice
We only want to process the AppEntered/Left message if it actually concerns our currently displayed tab.

MozReview-Commit-ID: EJ8RzRzDNAz

--HG--
extra : rebase_source : 2d05c8131a3b25968b36704647a9041b15599668
2017-04-17 16:37:58 +02:00
Jan Henning bc56a16f39 Bug 1351808 - Part 2 - Exclude non-standard tab types from session store. r=sebastian
Restoring anything other than normal browsing tabs (e.g. custom tabs, web apps) is more involved because those tabs
- don't appear in our normal tabs UI
- are opened in separate activities
- when we're starting up, Android's task switcher might or might not still have available task entries corresponding to such tabs from the last session

Therefore, for now, the session store will simply exclude those kinds of tabs from being saved in the session store data.

Instead of a real restore, if the corresponding tab has been closed or Gecko stopped running, we just recreate the custom tab/web app based on the stored Activity intent data we have available (bug 1352997).
Tab zombification while Gecko is running however remains fully supported, as we continue collecting session history data for all tab types, even if we don't necessarily save it to disk.

Because custom tabs/web apps currently still share a common Gecko browser window with normal tabs, we also have to modify our selected tab tracking logic accordingly, so that selecting one of these special tab types doesn't overwrite the last selected normal browsing tab.

To that effect, we now track the selected tab *ID* in memory and only convert that to a tab index when writing the data to disk. As the ID remains stable while Gecko is running, this makes tracking changes for a sub-group of tabs only easier, as we don't have to watch out for closing tabs of *any* kind affecting the tab index of everything behind them.

Bug 1346008#c3 has some preliminary ideas on how session restoring for custom tabs/web apps could be made to work.

MozReview-Commit-ID: 1q5Jtv0DKrE

--HG--
extra : rebase_source : 150e61f2a205e6bc6ea6cf346de0ba42b1935d13
2017-04-08 13:43:09 +02:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Eugen Sawin df1af0cf56 Bug 1359176 - [1.1] Add consistent performance logs across the GeckoView example app and Fennec. r=bc 2017-04-27 00:22:10 +02:00
Wes Kocher 5e8bdb175d Merge inbound to m-c a=merge
MozReview-Commit-ID: A85cs7Yriqj
2017-04-25 13:53:00 -07:00
Chris Peterson 7b85322694 Bug 1358949 - Lower eslint cyclomatic complexity threshold in some directories. r=standard8
We can lower the eslint cyclomatic complexity threshold in some directories without adding eslint suppression comments in any .js source files. We need to specify the complexity rule in accessible/.eslintrc because it doesn't inherit the mozilla/recommended rules. eslint's default complexity threshold is 20.

Also bump the eslint-plugin-mozilla version because we modified the mozilla/recommended rules.

MozReview-Commit-ID: 57T4gAjPH7z

--HG--
extra : rebase_source : 4565abfa722b9459cfb4e006e843da13ed7cffd4
extra : intermediate-source : 658588564c08c9fd5e60633d1457f24087de8570
extra : source : 7e0526e3b943419a80c0cd2fa462cabbf8925eb1
2017-04-23 19:23:18 -07:00
Jan Henning 0340ccd2e1 Bug 1357091 - Provide a default value when reading "manifest.install.enabled". r=daleharvey,walkingice
That pref isn't set by default, so trying to access it in that case throws a JS error.

MozReview-Commit-ID: 2KIUSztvoXS

--HG--
extra : rebase_source : b2769ba16247db9373c004f152c0e2233fb0652d
2017-04-17 16:39:32 +02:00
Ehsan Akhgari 6399dc4d9a Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:

  * In the case where the content JS has requested a new tab, the ID of the
    next TabParent will be stored on the <xul:browser> element.
  * In the case where the content JS has requested a new window, the ID of
    the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Carsten "Tomcat" Book 56de74382f Backed out changeset 753e71053540 (bug 1331742) 2017-04-24 12:27:49 +02:00
Wes Kocher 5cba60441b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HfJqvXF2Ux7
2017-04-20 15:55:31 -07:00
Randall Barker a606cd8b60 Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.

MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Carsten "Tomcat" Book 87edaf78ee Merge mozilla-central to autoland
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
Matthew Wein 549d74a605 Bug 1331742 - Part 4 - Add a position property to keep track of the menu item's position instead of using the ID r=sebastian
MozReview-Commit-ID: 7ZtfaVQFhKX

--HG--
extra : rebase_source : b1d9a62ca8c272eb4ff631d4331129c97153cb31
2017-03-25 22:35:54 -07:00
Alastor Wu 7175cf4a75 Bug 1348803 - part2 : modify event name to lower case letter. r=sebastian
Other events in browser.js are all lower case letter, also change these two to make them consistent.

MozReview-Commit-ID: LkzYUo6OrEA

--HG--
extra : rebase_source : 6853dc40c68c0939d7e318b3a1e88c39495d0648
2017-04-18 11:04:17 +08:00
Alastor Wu dcf248107f Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: ErIBUobnxbg

--HG--
extra : rebase_source : bdc8070f2f2a81f847ebb8e0ec87f6efeb86eb80
2017-04-18 11:03:49 +08:00
Zibi Braniecki a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst 7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Kris Maglione e1feed9d51 Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd

--HG--
rename : toolkit/components/extensions/ExtensionContent.jsm => toolkit/components/extensions/extension-process-script.js
extra : rebase_source : cc473732c152fa2ac47202a8c5634e4a68a30763
extra : absorb_source : 4a9b52534bee64e907e61f3bb229b0ad7849c097
2017-04-14 17:00:51 -07:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37f2343b9a Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst 9e0ecf32c5 Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst 738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 93a734a3ce Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00