Commit Graph

28875 Commits

Author SHA1 Message Date
Ehsan Akhgari
86c74f0485 Bug 1576641 - Add two new content blocking event flags to indicate a tracking/social-tracking cookie has been loaded in a tab; r=baku,droeh
Differential Revision: https://phabricator.services.mozilla.com/D44216

--HG--
extra : moz-landing-system : lando
2019-09-03 17:37:43 +00:00
Dylan Roeh
9f71be1805 Bug 1572191 - Prevent nsPermissionManager from persisting certain permissions to disk under GeckoView. r=snorp,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43759

--HG--
extra : moz-landing-system : lando
2019-08-30 21:41:47 +00:00
Jesse Schwartzentruber
f45935703c Bug 1577814 - Increase Gradle heap size. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44173

--HG--
extra : moz-landing-system : lando
2019-08-30 17:13:46 +00:00
Nathan Froyd
8ad7f049da Bug 1576751 - set LD_LIBRARY_PATH during Android builds; r=glandium
We need this for host binaries to work correctly in the case where the
clang we're using is linking against a newer version of, say,
`libstdc++` than is on the system.

Differential Revision: https://phabricator.services.mozilla.com/D43529

--HG--
extra : moz-landing-system : lando
2019-08-30 03:59:34 +00:00
Jan Henning
e417da9ac9 Bug 1548776 - URL-decode all file names in GeckoJarReader. r=snorp
Assuming the URL string the JAR reader receives has been completely URL-encoded,
we need to decode not just the first nested jarUrl, as already happens through
getZipFile(), but all subsequent path components, too.

At least for jar:-URLs received from Gecko, the above assumption certainly seems
to be true.

Differential Revision: https://phabricator.services.mozilla.com/D44033

--HG--
extra : moz-landing-system : lando
2019-08-30 06:37:49 +00:00
Noemi Erli
478b1751c7 Backed out 5 changesets (bug 1343678) for causing multiple web-platform failures CLOSED TREE
Backed out changeset 4b77646bc788 (bug 1343678)
Backed out changeset 7396789341b1 (bug 1343678)
Backed out changeset 85526faefe6d (bug 1343678)
Backed out changeset 07b757a21222 (bug 1343678)
Backed out changeset 3551cc55620d (bug 1343678)
2019-08-30 00:36:40 +03:00
Cosmin Sabou
2d00478eeb Bug 1343678 - Followup to fix rebase error. r=snorp
--HG--
extra : amend_source : 87cda0320286a155a486eb4272018cfd76a11c86
2019-08-29 22:18:07 +03:00
James Willcox
986525129a Bug 1343678 - Ensure events expecting a reply get one even if there is no listener r=geckoview-reviewers,droeh,agi
Differential Revision: https://phabricator.services.mozilla.com/D43984

--HG--
extra : moz-landing-system : lando
2019-08-29 18:59:38 +00:00
James Willcox
fe4b02a3cc Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-29 18:59:31 +00:00
James Willcox
ac55877ec1 Bug 1343678 - Use window context for GeckoSessionTestRule.evaluateJS() r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41289

--HG--
extra : moz-landing-system : lando
2019-08-29 18:59:29 +00:00
James Willcox
7586331427 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-08-29 18:59:28 +00:00
Elliot Stirling
650412e66c Bug 1521094 - Basic API for handling nsIHangReport in GeckoView r=geckoview-reviewers,snorp
Hooks up slow script reporting to the ContentDelegate. Allowing slow script prompts to be implemented.

Differential Revision: https://phabricator.services.mozilla.com/D41970

--HG--
extra : moz-landing-system : lando
2019-08-29 15:51:55 +00:00
Agi Sferro
cc74d4804d Bug 1577314 - Enforce @TimeoutMillis in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D43827

--HG--
extra : moz-landing-system : lando
2019-08-29 15:50:59 +00:00
Rob Wu
ddd89317c8 Bug 1577106 - Move WebExtensionController in CHANGELOG.md from 69 to 70 r=agi
... and add Bugzilla references.

Differential Revision: https://phabricator.services.mozilla.com/D43730

--HG--
extra : moz-landing-system : lando
2019-08-28 22:17:40 +00:00
Dorel Luca
547786f1cd Backed out 3 changesets (bug 1343678) for WPT failures on Android. CLOSED TREE
Backed out changeset 619e7838ebfd (bug 1343678)
Backed out changeset 5010684cdca4 (bug 1343678)
Backed out changeset b01343e4c2eb (bug 1343678)
2019-08-28 23:09:08 +03:00
James Willcox
746abdeae8 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-28 14:21:47 +00:00
James Willcox
8fca72b2b4 Bug 1343678 - Use window context for GeckoSessionTestRule.evaluateJS() r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41289

--HG--
extra : moz-landing-system : lando
2019-08-28 14:21:45 +00:00
James Willcox
3c29fb1982 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-08-28 16:06:39 +00:00
Agi Sferro
2ad08f6d15 Bug 1576204 - Set remote flag in nsWindow for e10s. r=kmag,snorp
Chrome flags need to be set both on the `window` and the `browser` object.
Right now we only set them on the `browser` objects and that could lead to
unintended consequences. This patch sets the flags to the `window` accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D43523

--HG--
extra : moz-landing-system : lando
2019-08-28 18:11:08 +00:00
Andrew Halberstadt
5ce2bf9eab Bug 1576988 - [docs] Remove 'Indices and tables' section from doc trees, r=Standard8
The main motivation here is to get these subsections out of the main index.
While changing the heading to an 'h2' or lower would suffice, I opted to remove
them entirely. I did this because the links in this section is for the overall
global documentation. E.g, the "Indices and tables" section under /tools/lint,
has nothing to do with linting.

It is still possible to access the index and search page from the root:
https://firefox-source-docs.mozilla.org/#indices-and-tables

Differential Revision: https://phabricator.services.mozilla.com/D43653

--HG--
extra : moz-landing-system : lando
2019-08-28 12:38:49 +00:00
Makoto Kato
211b3751d7 Bug 1511154 - Add junit test for location.hash setter. r=geckoview-reviewers,droeh
By bug 1563538, we don't call `onLoadRequest` when setting location.hash. So this issue is fixed by it.

So we should add geckoview-junit test for this.

Differential Revision: https://phabricator.services.mozilla.com/D43574

--HG--
extra : moz-landing-system : lando
2019-08-27 13:00:38 +00:00
Tomislav Jovanovic
c50d51f19d Bug 1573045 - Use {restrictedSchemes: false} for tabs.query MatchPattern r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D43602

--HG--
extra : moz-landing-system : lando
2019-08-27 20:12:22 +00:00
Sylvestre Ledru
d264b841c9 Bug 1576502 - Fix some wording issues r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D43363

--HG--
extra : moz-landing-system : lando
2019-08-27 15:38:58 +00:00
Vlad Baicu
e533de9b0e Bug 1576170 - Relocate the localization note above the strings for consistency. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D43468

--HG--
extra : moz-landing-system : lando
2019-08-26 18:08:27 +00:00
kriswright
c99009c207 Bug 1573992 - Convert ui.scrolling.negate_wheel_scroll to static pref. r=njn
Converts ui.scrolling.negate_wheel_scroll to a static pref and updates its usages. This one is only enabled on android, so I used the IS_ANDROID value to fill it.

Differential Revision: https://phabricator.services.mozilla.com/D42394

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:43 +00:00
kriswright
6f43a49b41 Bug 1573992 - Convert two dom.keyboardevent.* prefs to staticprefs. r=njn
Converts dom.keyboardevent.dispatch_during_composition and dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content to static prefs. Removes the dispatch_during_composition entry from mobile.js, since it just redefines the same pref value.

Differential Revision: https://phabricator.services.mozilla.com/D42391

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
Nicholas Nethercote
378dc68bcc Bug 1576546 - Add various explanatory comments to the top of prefs files. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D43391

--HG--
extra : moz-landing-system : lando
2019-08-26 16:40:10 +00:00
Rob Wu
21f80e5c3a Bug 1576471 - Set ANDROID_SDK_ROOT env var if --with-android-sdk is set r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D43358

--HG--
extra : moz-landing-system : lando
2019-08-26 20:17:41 +00:00
Andrei Lazar
fe3c28a25a Bug 1575605 - Crash in [@ java.lang.NullPointerException: at org.mozilla.gecko.home.TabMenuStripLayout.onPageSelected(TabMenuStripLayout.java)] r=VladBaicu
Now performing a sanity check after grabbing the child at position due to the fact that it can be
null if the position is out of array bounds (this usually happens when all panels are hidden and we request an orientation change).

Differential Revision: https://phabricator.services.mozilla.com/D43236

--HG--
extra : moz-landing-system : lando
2019-08-26 13:09:09 +00:00
Noemi Erli
15323a790b Backed out 3 changesets (bug 1343678) for breaking Android web platform tests CLOSED TREE
Backed out changeset c22a725950f0 (bug 1343678)
Backed out changeset 0bef62794abb (bug 1343678)
Backed out changeset 37c92bba3e1c (bug 1343678)
2019-08-24 01:13:36 +03:00
James Willcox
fa77c48a55 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-23 16:29:38 +00:00
James Willcox
cd0bf6a265 Bug 1343678 - Use window context for GeckoSessionTestRule.evaluateJS() r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41289

--HG--
extra : moz-landing-system : lando
2019-08-12 18:35:13 +00:00
James Willcox
a427ad0aa8 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-08-12 18:35:13 +00:00
Alvina Waseem
2c95cb9ba9 Bug 1542525 - Notification reject failing & web notification test fix. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D43284

--HG--
extra : moz-landing-system : lando
2019-08-23 18:39:54 +00:00
Emily Toop
5002898256 Bug 1572392 - Ensure TabSessions can be restored from state after returning from the background in GVE r=geckoview-reviewers,agi
When returning from being backgrounded, GeckoView Example was trying to restore a `TabSession`, but only the underlying `GeckoSession` was being saved, resulting in a `ClassCastException` on restore.

Differential Revision: https://phabricator.services.mozilla.com/D41754

--HG--
extra : moz-landing-system : lando
2019-08-23 13:37:28 +00:00
Vlad Baicu
56b7a6e37e Bug 1576170 - Sign in strings for Onboarding & Activity Stream. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D43245

--HG--
extra : moz-landing-system : lando
2019-08-23 13:42:37 +00:00
Makoto Kato
e0b2f3e09c Bug 1572728 - Sync Gecko's selection for sendKey test of testInputConnection. r=geckoview-reviewers,snorp
Actually, `assertTextAndSelectionAt` checks Java side text and selection only.
So even if `assertTextAndSelectionAt` is successful, Gecko's text and selection
aren't updated yet. Since `sendKeyEvent` test uses both Gecko's selection and
Java's selection, this has timing issue. Since `sendKeyEvent` uses Gecko's
selection for insertion point, we have to sync Java's selection with Gecko's
selection. But since there is no way to sync it, this sendKey test may be failure.

To sync both data, this test should always use key event to update both Gecko
side and Java side correctly. GV's test uses Gecko's selection, so this issue
is robocop test only.

Differential Revision: https://phabricator.services.mozilla.com/D42599

--HG--
extra : moz-landing-system : lando
2019-08-22 17:45:21 +00:00
Alvina Waseem
071f8e586c Bug 1573196 - Fixed GeckoWebExecutor documentation. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D43086

--HG--
extra : moz-landing-system : lando
2019-08-22 18:53:57 +00:00
Dylan Roeh
5bb5cce21c Bug 1568295 - Add social tracking protection support to GV. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D42863

--HG--
extra : moz-landing-system : lando
2019-08-22 18:01:47 +00:00
Cosmin Sabou
d422b14401 Bug 1564373 - Disable NavigationDelegateTest.trackingProtection for frequent failures. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D43066

--HG--
extra : moz-landing-system : lando
2019-08-22 17:36:13 +00:00
Thomas Wisniewski
d1694a0fd4 Bug 1564594 - Add an Enhanced Search webcompat site patch r=nalexander,denschub
This patch ultimately overrides the user-agent which Fennec users send to Google Search pages, choosing a phone- or tablet-specific UA as appropriate.

It involves adding four new metadata keys to the webcompat addon's metadata for user-agent overrides: blocks, permanentPref, experiment, telemetryKey:

- "blocks" specifies URLs for which any requests should be aborted. This allows us to block the Google service worker for now, as it has caused "content corrupted" issues in the past with other enhanced search addons (see https://github.com/wisniewskit/google-search-fixer/issues/1).
- "permanentPref" specifies an about:config preference, which dictates whether the injection is used. Users may set this to `false` to disable the injection outright, and permanently; `true` or `undefined` values allow the injection to function normally.
- "experiment" specifies the name of the experiment this feature is optionally gated behind. Only a Fennec-specific implementation is provided in this patch. The implementation simply queries Switchboard to determine if the experiment is active.
- "telemetryKey" specifies which telemetry key should be flipped to "true" when this injection runs. We will use this to note whether enhanced search has actually been enabled for this profile. Only a Fennec-specific implementation is given in this patch, which actually just sets a Fennec Shared Preference, which Fennec's core telemetry ping later reads in Java to know what the ping should contain.

Differential Revision: https://phabricator.services.mozilla.com/D41074

--HG--
extra : moz-landing-system : lando
2019-08-21 20:32:27 +00:00
Alvina Waseem
32e325ac2f Bug 1533057 - Created Web Notifications API. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D36342

--HG--
extra : moz-landing-system : lando
2019-08-21 16:49:49 +00:00
Thomas Nguyen
bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Coroiu Cristina
23291e6c74 Backed out changeset 4711ec9dec74 (bug 1572392) for lint failure at java/org/mozilla/geckoview/GeckoSession.java on a CLOSED TREE 2019-08-21 16:31:44 +03:00
Emily Toop
57c1506131 Bug 1572392 - Ensure TabSessions can be restored from state after returning from the background in GVE r=geckoview-reviewers,agi
When returning from being backgrounded, GeckoView Example was trying to restore a `TabSession`, but only the underlying `GeckoSession` was being saved, resulting in a `ClassCastException` on restore.

Differential Revision: https://phabricator.services.mozilla.com/D41754

--HG--
extra : moz-landing-system : lando
2019-08-21 12:14:20 +00:00
Sylvestre Ledru
7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

Differential Revision: https://phabricator.services.mozilla.com/D42673

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Ashley Rose
56b7e39dcf Bug 1574028: Fix ColorStateLists on Android Q r=petru
Differential Revision: https://phabricator.services.mozilla.com/D42703

--HG--
extra : moz-landing-system : lando
2019-08-21 07:39:07 +00:00
Nick Alexander
6790ecb3a2 Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium
Android artifacts (GeckoView AARs, GeckoViewExample (and Fennec) APKs)
require native libraries (`libxul.so`) and an omnijar (`omni.ja`).
These are produced by `mach package` (really, the `stage-package`
target).  Engineers essentially never want a build without a package
for mobile/android.  This adds mobile/android-only tiers that run
`mach package` and then `mach android assemble-app`.  The latter
consumes `libxul.so` and `omni.ja` to produce _all the things_
relevant to GeckoView engineers.

Differential Revision: https://phabricator.services.mozilla.com/D41450

--HG--
extra : moz-landing-system : lando
2019-08-21 03:07:16 +00:00
Agi Sferro
2a2991648a Bug 1564920 - [geckoview] Add logging for loading Profile. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D42233

--HG--
extra : moz-landing-system : lando
2019-08-20 20:17:57 +00:00
Brad Arant
c049730cc6 Bug 1359363 - Apply diffutil to search list updates for smoother ui experience.;r=petru
Differential Revision: https://phabricator.services.mozilla.com/D37733

--HG--
extra : moz-landing-system : lando
2019-07-22 06:58:29 +00:00