Commit Graph

23325 Commits

Author SHA1 Message Date
Wes Kocher
bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
L10n Bumper Bot
20963d7269 no bug - Bumping Fennec l10n changesets r=release a=l10n-bump
tsz -> removed
2017-06-06 03:00:37 -07:00
Sebastian Hengst
a0bd7b9c0d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BDyuSdNALvH
2017-06-06 11:20:56 +02:00
Delphine Lebédel
a69dd29ced Bug 1370287 - (tsz) Drop 'tsz' locale from single-locale builds, r=flod
MozReview-Commit-ID: IO5vS3uzj6g

--HG--
extra : rebase_source : 8ca77acd02c6cdb9f5cce9e43dcd5428a3ca2b07
2017-06-05 17:17:16 -07: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
Eugen Sawin
903f23a407 Bug 1369689 - [1.0] Make page load time logs depend on web progress events instead of throbber activity. r=snorp 2017-06-06 12:56:15 +02: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
Ryan VanderMeulen
0a3b9074de Merge inbound to m-c. a=merge 2017-06-05 09:12:18 -04:00
Sebastian Hengst
2d70c955cc merge mozilla-central to autoland. r=merge a=merge 2017-06-05 11:06:54 +02:00
John Lin
79eabe6e25 Bug 1369597 - synchronize output buffer releasing/rendering. r=esawin
To ensure SurfaceTexture contents are up to date before sending to compositor.

MozReview-Commit-ID: KdS8Z1vIP8y

--HG--
extra : rebase_source : ed4d58717a83de3b76f4543c73b6215abc1167ac
2017-06-02 11:00:00 +08:00
Sebastian Hengst
5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02: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
Florian Quèze
8429e47547 Bug 1369345 - Remove messageWakeupService, r=nalexander. 2017-06-02 22:54:46 +02:00
Jim Chen
c56195f7e7 Bug 1369168 - Fix GeckoView multiple select prompt; r=droeh
1) Fix a crash when sending back prompt results.
2) Restrict results to <option> elements.
3) Correctly report invalid results.
4) Correctly pre-check selected items.
5) Display Ok/Cancel buttons.

MozReview-Commit-ID: H15ZygbBdXv
2017-06-02 16:16:11 -04: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
4230e5eacd Bug 1369107 - 4. Remove GeckoAppShell.ContextGetter; r=snorp
Remove ContextGetter and all implementations now that it's no longer
being used.

MozReview-Commit-ID: G5jWFsQPfWw
2017-06-02 16:13:42 -04:00
Jim Chen
c611475410 Bug 1369107 - 3. Don't use GeckoAppShell.getContext for plugin code; r=snorp
Use getApplicationContext or GeckoApp.getPluginContext instead of
getContext so we can get rid of ContextGetter.

MozReview-Commit-ID: B8tTPeZ5gvt
2017-06-02 16:13:41 -04:00
Jim Chen
7eab0ee43f Bug 1369107 - 2. Ask for app location permission from JS; r=esawin
For location permission, we first show a prompt for the website, then on
higher Android versions, we show a prompt for the app. For the app
prompt, right now we show that from GeckoView code in GeckoAppShell.
However, if we move the app prompt into ContentPermissionPrompt.js
alongside the website prompt, we can then remove the code in
GeckoAppShell and eliminate this app permission dependency from
GeckoView code.

MozReview-Commit-ID: GSCqClPROwn
2017-06-02 16:13:41 -04:00
Jim Chen
5674b33e77 Bug 1369107 - 1. Remove usages of GeckoAppShell.getContext(); r=droeh
Replace usages of GeckoAppShell.getContext() with
getApplicationContext() if possible, or the current Activity if the
usage expects an Activity context.

MozReview-Commit-ID: 9GOWszgEsQu
2017-06-02 16:13:41 -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
James Willcox
878d74116d Bug 1367287 - Followup to use AtomicInteger for ref count r=jchen
MozReview-Commit-ID: LKFlYtFvdi0
2017-06-02 10:58:40 -05:00
James Willcox
bd21ee4811 Bug 1367287 - Reference count GeckoSurfaceTexture r=jchen
MozReview-Commit-ID: 1JJVzCmANyH
2017-06-02 10:14:20 -05:00
James Willcox
fcdd58e1ca Bug 1367287 - Don't release GeckoSurface if we've shipped it to another process r=rbarker
MozReview-Commit-ID: 3oWdKNW8zVB
2017-06-02 10:14:17 -05:00
L10n Bumper Bot
3efd1caff2 no bug - Bumping Fennec l10n changesets r=release a=l10n-bump
el -> ['android', 'android-api-15', 'android-multilocale']
lo -> ['android', 'android-api-15', 'android-multilocale']
2017-06-02 06:00:35 -07:00
Delphine Lebédel
bc872feb2a Bug 1369244 - Add 'el' and 'lo' in Fennec maemo-locale for multi-locale builds, r=flod
MozReview-Commit-ID: DtYJr5st80J

--HG--
extra : rebase_source : 9fe0c83af94e4e99816102252e84ad0de691abfb
2017-06-01 14:05:01 -07:00
John Lin
828da2e9c4 Bug 1367367 - handle exception caused by late error callbacks. r=esawin
MozReview-Commit-ID: 1xJ5S2wpHPd

--HG--
extra : rebase_source : 1136ca61408c9808eb20b5d6e4182716c0f914da
2017-05-31 15:31:13 +08:00
Mike Hommey
810afe2b69 Bug 1365419 - Rename global-platform/gtk back to global-platform/unix. r=bsmedberg
In case some legacy third-party things were relying on those files being
under a unix/ directory, revert the part of changeset c94e87a18096 that
renamed global-platform/unix to global-platform/gtk.

--HG--
extra : rebase_source : c0f9e96592822fe2c87e837a27becfde87a76a0c
2017-05-26 10:24:20 +09:00
Wes Kocher
9782406dd8 Backed out 4 changesets (bug 1365419) for android mochitest failures in test_bug583533.html a=backout
Backed out changeset d82aa6aec2c1 (bug 1365419)
Backed out changeset 9aafdd1ca0bd (bug 1365419)
Backed out changeset 261eecf8497f (bug 1365419)
Backed out changeset 1d9b50fadc05 (bug 1365419)

MozReview-Commit-ID: HkhXf1Dkkbk
2017-06-01 18:39:21 -07:00
L10n Bumper Bot
4f22901fcd no bug - Bumping Fennec l10n changesets r=release a=l10n-bump
be -> default
2017-06-01 18:00:35 -07:00
Wes Kocher
2b3f76f494 Merge inbound to central, a=merge
MozReview-Commit-ID: AWwXRG9NEWV
2017-06-01 17:26:55 -07:00
adamopenweb
10539cc2c6 Bug 1310951 - Add UA override for m.canadiantire.ca. r=miketaylr 2017-06-01 11:34:00 -04:00
Jim Chen
6b1641fe89 Bug 1367081 - Make PromptService usable from GeckoView custom tabs; r=droeh
Make PromptService and Prompt.jsm not depend as much on BrowserApp and
the main Fennec window, so it can be used from a GeckoView-based custom
tabs Activity. This approach is used because it involves a lot less work
than trying to implement a PromptDelegate for Fennec.

MozReview-Commit-ID: AEH0HgAOx2S
2017-06-01 15:07:16 -04:00
Jim Chen
c83f61bb2b Bug 1368377 - Use app context for GlobalHistory; r=me
Use getApplicationContext instead of the obsolete getContext in
GlobalHistory.checkVisited.

MozReview-Commit-ID: EbaFecEzNkh
2017-06-01 15:07:16 -04:00
Mike Hommey
643e3d3ea9 Bug 1365419 - Rename global-platform/gtk back to global-platform/unix. r=bsmedberg
In case some legacy third-party things were relying on those files being
under a unix/ directory, revert the part of changeset c94e87a18096 that
renamed global-platform/unix to global-platform/gtk.

--HG--
extra : rebase_source : bb78b309fe59ee5f76f276e54539e157eb019e69
2017-05-26 10:24:20 +09:00
Ryan VanderMeulen
9293b561a2 Merge m-c to autoland. a=merge 2017-06-01 16:44:19 -04:00
Delphine Lebédel
c75ed30198 Bug 1348938 - (be) Add Belarusian locale back to Fennec single-locale builds r=flod
MozReview-Commit-ID: A3x8X4VrZf8

--HG--
extra : rebase_source : 2b9addb2a527b9a2cc63e95e0cdf60f6a89dcdaf
2017-06-01 11:55:08 -07: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
Kris Maglione
0cd3e0a862 Bug 1368189: Move more code out of ExtensionUtils.jsm. r=mixedpuppy
Also removes some dead code.

A lot of the code in ExtensionUtils.jsm is not needed in all processes, and a
lot of the rest isn't needed until extension code runs. Most of it winds up
being loaded into all processes way earlier than necessary.

MozReview-Commit-ID: CMRjCPOjRF2

--HG--
extra : rebase_source : 37718eaf05a22b8ccb95f633cf7454bd7975cdce
2017-05-26 15:44:41 -07:00
Wes Kocher
7faba1c580 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 81kvO3JCHf0
2017-06-05 17:43:44 -07:00
Michael Kaply
80449040b7 Bug 1367201 - Add MOZ_ANDROID_MOZILLA_ONLINE build flag to support MozillaOnline (Mozilla China) custom code. r=nalexander
MozReview-Commit-ID: BB0dcmLez0w

--HG--
extra : rebase_source : fdfb55bc9a77798f334f6fb1de78c63eb4852659
2017-06-05 14:42:53 -05:00
Kris Maglione
bc5050f651 Bug 1368102: Part 5 - Move static content script matching into C++. r=mixedpuppy,zombie
MozReview-Commit-ID: Co04MoscqMx

--HG--
extra : rebase_source : 4a9b4c3146f99b4fd7eb8724224e954a5b3967f2
2017-06-04 15:38:11 -07:00
Delphine Lebédel
33c5510cb7 Bug 1348932 - (be) Search engine set up for Firefox Mobile for Belarusian, r=flod
MozReview-Commit-ID: KlNXwdnyPe8

--HG--
extra : rebase_source : 3ac23cde2b8a7e7c690ce2c07c98e17ef0c96e76
2017-05-31 16:21:20 -07:00
Ryan VanderMeulen
b2f44e5181 Merge inbound to m-c. a=merge 2017-05-31 20:25:52 -04:00
Dylan Roeh
1e27aa9833 Bug 1360068 - Overhaul WebAppActivity to use GeckoView rather than GeckoApp. r=jchen,daleharvey 2017-05-31 16:59:50 -05:00