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

29079 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez df7e6010eb Bug 1593690 - Start visited queries from an idle timer. r=mak,lina
Getting visited colors is relatively low priority during page load. GeckoView
was using a 250ms timer, which was somewhat arbitrary.

If this turns out not to be acceptable for desktop, we can change it to a higher
priority timer.

This enables batching queries from the content process. The lesser priority of
the queries, plus the batching that this enables on the content process I hope
will make a dent on the performance regression that bug 1506842 introduces
as-is.

We should probably introduce batching in the other direction too, both of those
are potential follow-up work.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 12:10:59 +00:00
Sylvestre Ledru 04e88026c6 Bug 1593084 - Update the presentation of the "Mozilla Source Tree Documentation" page r=ahal
Uses a tree.json file to configure the tree (will be moved in the yml file)
We also removed the python package doc from the landing page because :
* They are still accessible in the sidebar
* Hardly anyone is going to be looking for them (they are mostly useful to link to from other docs)
* They get in the way of the documentation below

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

--HG--
extra : moz-landing-system : lando
2019-11-06 07:31:34 +00:00
James Willcox fbc8a04d5f Bug 1555337 - Add `LoadRequest#hasUserGesture` r=geckoview-reviewers,rbarker,agi
This uses `Document.hasValidTransientUserGestureActivation` to expose
gesture for use in the `onLoadRequest()` delegate method in GeckoView,
allowing apps to know if a load was initiated by a user.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:53:30 +00:00
Elliot Stirling 1c3c845ad9 Bug 1577192 - Adds a screenshot api using ScreenshotBuilder. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D49293

--HG--
extra : moz-landing-system : lando
2019-11-05 16:15:09 +00:00
Thomas Wisniewski dea46a2eed Bug 1589182 - remove mobile/android/extensions/ and /mobile/android/chrome/content (Fennec leftovers); r=snorp,agi
Remove mobile/android/extensions/ and /mobile/android/chrome/content from mozilla-central (Fennec leftovers)

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:32:10 +00:00
Alex Catarineu 08a431f34e Bug 1581537 - Avoid several browser language leaks r=smaug
Spoof dom/dom.properties, layout/xmlparser.properties,
layout/MediaDocument.properties to en-US if needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 16:56:27 +00:00
Mihai Alexandru Michis d19c1272ca Backed out changeset 1d87c269da8a (bug 1581537) for causing bc failures in browser_misused_characters_in_strings.js CLOSED TREE
--HG--
extra : rebase_source : b9f2da6650a4213a4a9284d6dbe7ecfd97761501
extra : amend_source : b7ca833a091419a2de5904eccb2d3ce9d0fcd337
2019-11-04 16:06:37 +02:00
Emilio Cobos Álvarez 5949af2c3b Bug 1591717 - Add a pref to notify of unvisited uris in the history service. r=mak,lina
Behind a pref to ensure that we can turn this off pretty easily if it has perf
impact.

I want to leave the repainting stuff to another bug to land separately, to track
potential (though I hope not!) perf regressions more easily.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 13:28:58 +00:00
Alex Catarineu ea206b140d Bug 1581537 - Avoid several browser language leaks r=smaug
Spoof dom/dom.properties, layout/xmlparser.properties,
layout/MediaDocument.properties to en-US if needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 11:27:59 +00:00
Ting-Yu Lin 22b2870b5a Bug 1526268 Part 1 - Make AccessibleCaret's #text-overlay and #image children be normal in-flow elements. r=mats
The #text-overlay and #image child divs were "position: absolute" under
the main AccessibleCaret div. However, they don't necessary need to be
position:absolute to achieve the desired layout. We can make them normal
in-flow elements to simplify the frame structure. There should not be
any perceivable change to the user.

Also, AccessibleCaret's position can made more accurate by using float
CSS pixels when converting it from app unit.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 22:16:08 +00:00
Nihanth Subramanya 2164478f1e Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
Differential Revision: https://phabricator.services.mozilla.com/D47427

--HG--
extra : moz-landing-system : lando
2019-11-01 23:24:25 +00:00
Gijs Kruitbosch 00778dd54e Bug 1591212 - make webchannel work with fission, r=vladikoff,mconley
Differential Revision: https://phabricator.services.mozilla.com/D51214

--HG--
rename : toolkit/modules/WebChannel.jsm => toolkit/actors/WebChannelParent.jsm
rename : browser/base/content/test/general/browser_web_channel.js => toolkit/modules/tests/browser/browser_web_channel.js
rename : browser/base/content/test/general/browser_web_channel.html => toolkit/modules/tests/browser/file_web_channel.html
rename : browser/base/content/test/general/browser_web_channel_iframe.html => toolkit/modules/tests/browser/file_web_channel_iframe.html
extra : moz-landing-system : lando
2019-11-02 00:39:35 +00:00
Dorel Luca b9074d53a1 Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya e7620d9a8c Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
Differential Revision: https://phabricator.services.mozilla.com/D47427

--HG--
extra : moz-landing-system : lando
2019-11-01 21:02:09 +00:00
Cosmin Sabou 9e72c49d49 Backed out changeset bb34b6826ada (bug 1577192) for geckoview failures on VerticalClippingTest. 2019-11-01 23:27:41 +02:00
Elliot Stirling 92d1839a67 Bug 1577192 - Adds a screenshot api using ScreenshotBuilder. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D49293

--HG--
extra : moz-landing-system : lando
2019-11-01 20:31:18 +00:00
Dragana Damjanovic 16a5162579 Bug 1581637 - Part 5 - Add Http3 prefs. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D46651

--HG--
extra : moz-landing-system : lando
2019-11-01 14:55:55 +00:00
Aaron Klotz 40909829d8 Bug 1592808: Annotate ContentDelegate overrides for onFullScreen with AssertCalled; r=geckoview-reviewers,agi
The changes in bug 1583575 cause an additonal event to call the `ContentDelegate`,
so the test proceeds without waiting specifically for `onFullScreen` to be called.

This patch annotates the `onFullScreen` overrides to ensure that we're waiting
on the correct event for these test cases.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 22:02:06 +00:00
Christoph Kerschbaumer e8e2dc31b7 Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-31 08:28:35 +00:00
Andreea Pavel 8846cf3d21 Backed out 13 changesets (bug 1581637) for xpchell failures at test_anonymous-coalescing.js on a CLOSED TREE
Backed out changeset 3a458217248d (bug 1581637)
Backed out changeset a5df33ec7393 (bug 1581637)
Backed out changeset c5d8950b4a4b (bug 1581637)
Backed out changeset 97ff4a06c2da (bug 1581637)
Backed out changeset 496ec0c5a60f (bug 1581637)
Backed out changeset 63b7f1ff1714 (bug 1581637)
Backed out changeset 6b80553abc74 (bug 1581637)
Backed out changeset 6b6b75fbec7f (bug 1581637)
Backed out changeset f09b9a4ba633 (bug 1581637)
Backed out changeset 21b721e37d39 (bug 1581637)
Backed out changeset 58ca75a25253 (bug 1581637)
Backed out changeset c28174eaccbe (bug 1581637)
Backed out changeset e6ff3db0a421 (bug 1581637)
2019-10-31 02:45:42 +02:00
Dylan Roeh 195f623a27 Bug 1402369 - Add WebShare support to GeckoView. r=geckoview-reviewers,snorp,marcosc,esawin
Differential Revision: https://phabricator.services.mozilla.com/D49614

--HG--
extra : moz-landing-system : lando
2019-10-30 22:31:04 +00:00
Dragana Damjanovic f8d38304c2 Bug 1581637 - Part 5 - Add Http3 prefs. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D46651

--HG--
extra : moz-landing-system : lando
2019-10-30 20:53:16 +00:00
Razvan Maries dc147d06b0 Backed out changeset 5f185a11889b (bug 1584998) for perma fails on browser_bug593387.js. CLOSED TREE 2019-10-30 23:26:01 +02:00
Christoph Kerschbaumer 36376205fb Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-30 17:54:36 +00:00
Daniel Varga e4a9bb6a6b Backed out changeset 1d8e31bd28db (bug 1577192) for geckoview failure org.mozilla.geckoview.test.ScreenshotTest... On a CLOSED TREE 2019-10-30 19:35:44 +02:00
Daniel Varga 617d42c7ed Backed out changeset ac8f6632f7e0 (bug 1584998) on request by dev. On a CLOSED TREE 2019-10-30 19:33:29 +02:00
Christoph Kerschbaumer 9c55479432 Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-30 14:47:19 +00:00
Elliot Stirling abb32d1aeb Bug 1577192 - Adds a screenshot api using ScreenshotBuilder. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D49293

--HG--
extra : moz-landing-system : lando
2019-10-29 22:28:45 +00:00
Emily Toop 95b4cd998b Bug 1585661 - Move geckoview user documentation under mozilla-central. r=agi,nalexander,ahal
Remove some old Fennec documentation, re add in adjust and mma docs as they are still in use.
Examples are being moved to a new location and javadoc is already generated here and so these items are not being moved in this commit

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

--HG--
extra : moz-landing-system : lando
2019-10-29 16:34:30 +00:00
Itiel ba4d0ad27c Bug 1588818 - Cleanup .float-right from aboutCompat.css r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D50936

--HG--
extra : moz-landing-system : lando
2019-10-29 16:23:21 +00:00
Mihai Alexandru Michis ef710a9a0f Backed out changeset 86ebbb20ef06 (bug 1585661) for causing lint failures. CLOSED TREE 2019-10-29 16:57:06 +02:00
Emily Toop 6db904b7d4 Bug 1585661 - Move geckoview user documentation under mozilla-central. r=agi,nalexander,ahal
Remove some old Fennec documentation, re add in adjust and mma docs as they are still in use.
Examples are being moved to a new location and javadoc is already generated here and so these items are not being moved in this commit

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

--HG--
extra : moz-landing-system : lando
2019-10-29 14:24:30 +00:00
Ehsan Akhgari d8ae659ab1 Bug 1590779 - Remove social-tracking-protection-digest256 in preferences and GeckoView; r=englehardt,droeh
Differential Revision: https://phabricator.services.mozilla.com/D50714

--HG--
extra : moz-landing-system : lando
2019-10-28 21:45:31 +00:00
Mihai Alexandru Michis 0b04fad1ae Bug 1581657 - Disable ContentBlockingControllerTest.getLog() on Android 7.0 debug. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50671

--HG--
extra : moz-landing-system : lando
2019-10-28 15:05:17 +00:00
Emilio Cobos Álvarez c3dd22054d Bug 1590816 - Don't remove tracked links from GeckoViewHistory. r=lina
And make the assertions consistent with places.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:35 +00:00
Emilio Cobos Álvarez b0d6012788 Bug 1590816 - Don't re-initialize GeckoViewHistory's visited timer over and over. r=lina
Otherwise a page which appends links with different hrefs fast enough could
never see the visited state updated, for example.

Depends on D50480

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:28 +00:00
Emilio Cobos Álvarez f8863b0c94 Bug 1590816 - Cleanup some link coloring APIs to make them infallible when appropriate. r=mak
GeckoView does this link clearing stuff (which is somewhat dubious), but always
used to return NS_OK.

The error handling case in Link.cpp was pretty broken anyway (it'd leave the
link marked as registered), so make that infallible, given we fatally assert in
the non-android case.

NotifyVisited is also infallible so make that infallible too.

There's no need to use NS_IMETHOD gunk when not using scriptable XPCOM, and
these functions are not called from script, so make them regular pure-virtual
functions.

Depends on D50478.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:25 +00:00
Emilio Cobos Álvarez ea222cccf7 Bug 1590816 - Various naming and comment cleanups, as suggested in review comments. r=mak
Depends on D50266

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:23 +00:00
Emilio Cobos Álvarez 462ada88ab Bug 1590816 - Move NotifyVisited to BaseHistory. r=mak,lina
Differential Revision: https://phabricator.services.mozilla.com/D50265

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:20 +00:00
Emilio Cobos Álvarez b1cb605f8c Bug 1590816 - Move Register and UnregisterVisitedCallback to BaseHistory. r=mak,lina
Differential Revision: https://phabricator.services.mozilla.com/D50264

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:18 +00:00
Emilio Cobos Álvarez 7c0ed40aed Bug 1590816 - Move History::DispatchNotifyVisited and related code to BaseHistory. r=mak,lina
Interestingly the android implementation had a potentially serious bug (was
missing a script blocker).

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:16 +00:00
Emilio Cobos Álvarez 32427afa56 Bug 1590816 - Introduce mozilla::BaseHistory, and move tracked URIs and a simple function there. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D50262

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:08 +00:00
Emilio Cobos Álvarez eee44e6620 Bug 1590816 - Move the tracked URIs hash table to IHistory. r=mak
In preparation for moving all the link coloring code.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:04 +00:00
Emilio Cobos Álvarez 3538eb4d27 Bug 1590816 - Use the same data structures for GeckoViewHistory and places History. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D50259

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:02 +00:00
Dylan Roeh 0bbded0263 Bug 1588782 - Fix getWindowByName calls in GeckoViewContentBlockingController.jsm r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D50509

--HG--
extra : moz-landing-system : lando
2019-10-24 22:07:36 +00:00
Emilio Cobos Álvarez 35d02582e7 Bug 1590692 - Make Geckoview history a static component. r=lina
Now that there's only one android history implementation we can make it a static
component.

So do the same as toolkit/components/places/components.conf.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 17:17:24 +00:00
Neil Deakin e00aa26593 Bug 1567175, move password manager event listener attachment from content framescript to LoginManagerChild, and use the current window instead of the top level window for the argument passed to DOMInputPasswordAdded, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47826

--HG--
extra : moz-landing-system : lando
2019-10-21 20:26:21 +00:00
Neil Deakin 7410901165 Bug 1567175, support password manager in out of process iframes, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47825

--HG--
extra : moz-landing-system : lando
2019-10-21 18:18:02 +00:00
Neil Deakin 7cbc074da1 Bug 1567175, rename LoginManagerContent to LoginManagerChild, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47824

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginManagerChild.jsm
extra : moz-landing-system : lando
2019-10-21 18:17:50 +00:00
Neil Deakin 3302428083 Bug 1567175, make LoginManagerContent and LoginManagerParent JS classes,r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47823

--HG--
extra : moz-landing-system : lando
2019-10-21 18:17:43 +00:00