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

2668 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 215f13488a Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers
This patch also exposes the desktop environment and window protocol on
the gfx blocklist, allowing us more control over feature deployment.
This will help with the slow rollout of WebRender to release channels.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 14:21:30 +00:00
Razvan Maries 23b0b10a14 Backed out changeset 8ddc0a160da1 (bug 1602819) for Mochitest perma failures on Linux. CLOSED TREE 2020-02-10 14:52:27 +02:00
Andrew Osmond b2a444ebe9 Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers
This patch also exposes the desktop environment and window protocol on
the gfx blocklist, allowing us more control over feature deployment.
This will help with the slow rollout of WebRender to release channels.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 18:57:51 +00:00
Kris Taeleman 4958802e6c Bug 1612316 - Turn off webrender for Fenix release. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D61339

--HG--
extra : moz-landing-system : lando
2020-01-31 08:27:14 +00:00
Makoto Kato 4fe363f50d Bug 1610233 - nsEventStatus should be initialized per MaybeDispatchKeypressEvents call in DoReplaceText. r=geckoview-reviewers,esawin
According to
https://searchfox.org/mozilla-central/rev/803a42f24c8714631ed81cb824ea1c1a803cb7b8/widget/TextEventDispatcher.cpp#661,
`nsEventStatus` parameter of `MaybeDispatchKeypressEvents` should be
initialized per call.

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

--HG--
extra : moz-landing-system : lando
2020-01-30 11:56:03 +00:00
David Major 7987e54c54 Bug 1610974 - Use designated initializers consistently in LookAndFeelInt r=hiro
To avoid a clang-10 failure with `error: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Werror,-Wc99-designator]`

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

--HG--
extra : moz-landing-system : lando
2020-01-27 21:22:55 +00:00
Hiroyuki Ikezoe a04e565377 Bug 1610974 - Drop colorValue in LookAndFeelInt. r=geckoview-reviewers,snorp
It should have been dropped in bug 1606503, I did foget it.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 15:01:48 +00:00
Aaron Klotz ce2204248f Bug 1595834: Make GeckoProcessManager interface e10s-multi aware; r=snorp
This patch does not change any of the *internals* of process management in
`GeckoProcessManager`, however it upgrades the interface in preparation for
such changes.

* We add a java equivalent to Gecko's `GeckoProcessType` enumeration;
* We add the `GeckoProcessType.Selector` class which will be used for
  identifying running content processes;
* We update `ContentParent::MarkAsDead` to use `GeckoProcessType.Selector` for
  indicating which process should be marked.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 18:12:51 +00:00
Brendan Dahl 764e21deb6 Bug 1607818 - Allow AppShell creation in socket process on Android. r=kmag
In local Android builds the socket process is enabled. However, AppShell
creation is not allowed which causes the process to crash. This syncs the
flags with desktop.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 19:08:53 +00:00
Emilio Cobos Álvarez 256c124f94 Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj
This was done by:

This was done by applying:

```
diff --git a/python/mozbuild/mozbuild/code-analysis/mach_commands.py b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
index 789affde7bbf..fe33c4c7d4d1 100644
--- a/python/mozbuild/mozbuild/code-analysis/mach_commands.py
+++ b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
@@ -2007,7 +2007,7 @@ class StaticAnalysis(MachCommandBase):
         from subprocess import Popen, PIPE, check_output, CalledProcessError

         diff_process = Popen(self._get_clang_format_diff_command(commit), stdout=PIPE)
-        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format]
+        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format, '-sort-includes']

         if not output_file:
             args.append("-i")
```

Then running `./mach clang-format -c <commit-hash>`

Then undoing that patch.

Then running check_spidermonkey_style.py --fixup

Then running `./mach clang-format`

I had to fix four things:

 * I needed to move <utility> back down in GuardObjects.h because I was hitting
   obscure problems with our system include wrappers like this:

0:03.94 /usr/include/stdlib.h:550:14: error: exception specification in declaration does not match previous declaration
0:03.94 extern void *realloc (void *__ptr, size_t __size)
0:03.94              ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/malloc_decls.h:53:1: note: previous declaration is here
0:03.94 MALLOC_DECL(realloc, void*, void*, size_t)
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozilla/mozalloc.h:22:32: note: expanded from macro 'MALLOC_DECL'
0:03.94     MOZ_MEMORY_API return_type name##_impl(__VA_ARGS__);
0:03.94                                ^
0:03.94 <scratch space>:178:1: note: expanded from here
0:03.94 realloc_impl
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozmemory_wrap.h:142:41: note: expanded from macro 'realloc_impl'
0:03.94 #define realloc_impl mozmem_malloc_impl(realloc)

   Which I really didn't feel like digging into.

 * I had to restore the order of TrustOverrideUtils.h and related files in nss
   because the .inc files depend on TrustOverrideUtils.h being included earlier.

 * I had to add a missing include to RollingNumber.h

 * Also had to partially restore include order in JsepSessionImpl.cpp to avoid
   some -WError issues due to some static inline functions being defined in a
   header but not used in the rest of the compilation unit.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:19:48 +00:00
Emilio Cobos Álvarez aa3a695712 Bug 1609996 - Remove mozilla/Move.h. r=froydnj
rg -l 'mozilla/Move.h' | xargs sed -i 's/#include "mozilla\/Move.h"/#include <utility>/g'

Further manual fixups and cleanups to the include order incoming.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:18:20 +00:00
Aaron Klotz c78829b682 Bug 1594820: Part 1 - Modify XPCOMEventTarget to accept method calls before JNI is ready; r=snorp
Since `XPCOMEventTarget` uses JNI, this patch makes it possible for consumers to
retrieve and invoke methods on one without needing to worry about whether JNI
is actually up yet.

To achieve this, we create the `IXPCOMEventTarget` interface, and observe that
both of its methods can be handled by a proxy if JNI is not ready:

* Calls to `dispatch` may be enqueued until JNI is up;
* Observe that, when JNI is not up yet, the result of `isOnCurrentThread`
  can never be `true`.

Once JNI is up and the event targets have been resolved, the proxies are
replaced with the real, concrete `XPCOMEventTarget`s and are no longer used for
the remainder of the Gecko instance's lifetime.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 07:44:07 +00:00
pbz 70e1dba79e Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2020-01-16 14:38:40 +00:00
Aaron Klotz dddb83ab28 Bug 1608577: Part 3 - Remove |using namespace mozilla::java| from widget/android; r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D59798

--HG--
extra : moz-landing-system : lando
2020-01-14 16:47:59 +00:00
Hiroyuki Ikezoe 21a5133d31 Bug 1606503 - Get the value for prefers-reduced-motion via LookAndFeelInt. r=geckoview-reviewers,snorp
With this change we have the same setup for prefers-reduced-motion so that
we can change the value with the same manner in automated tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 05:51:06 +00:00
shindli c03a2cf53a Backed out 3 changesets (bug 1606503) for causing bustages in nsXPLookAndFeel.cpp CLOSED TREE
Backed out changeset 7e9d421335e0 (bug 1606503)
Backed out changeset 371f74475fb9 (bug 1606503)
Backed out changeset 8aada655d8bc (bug 1606503)
2020-01-14 05:07:14 +02:00
Hiroyuki Ikezoe f2fbae5d7d Bug 1606503 - Get the value for prefers-reduced-motion via LookAndFeelInt. r=geckoview-reviewers,snorp
With this change we have the same setup for prefers-reduced-motion so that
we can change the value with the same manner in automated tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 02:34:45 +00:00
James Willcox 3a8c22db22 Bug 1508730 - Add `WebRequestError#certificate`. r=geckoview-reviewers,droeh,agi
This is useful if you get a certificate-related error and want
to inspect the broken certificate.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 15:24:08 +00:00
James Willcox e2656f7f99 Bug 1508730 - Add `WebResponse#certificate` r=geckoview-reviewers,droeh,agi
This is the server certificate, if any, as a
java.security.cert.X509Certificate.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 15:09:24 +00:00
James Willcox 4764fe7733 Bug 1508730 - Add `WebResponse#isSecure` r=geckoview-reviewers,droeh,agi
Differential Revision: https://phabricator.services.mozilla.com/D58155

--HG--
extra : moz-landing-system : lando
2020-01-10 15:09:22 +00:00
Narcis Beleuzu b5b7a719b8 Backed out 4 changesets (bug 1594820) for geckoview failures. CLOSED TREE
Backed out changeset 5bf29e6ca1e8 (bug 1594820)
Backed out changeset a6554cbe8a2f (bug 1594820)
Backed out changeset 9cc8d70c23bb (bug 1594820)
Backed out changeset b7ff66be3a86 (bug 1594820)
2020-01-10 03:16:20 +02:00
Aaron Klotz cec0194852 Bug 1594820: Part 1 - Modify XPCOMEventTarget to accept method calls before JNI is ready; r=snorp
Since `XPCOMEventTarget` uses JNI, this patch makes it possible for consumers to
retrieve and invoke methods on one without needing to worry about whether JNI
is actually up yet.

To achieve this, we create the `IXPCOMEventTarget` interface, and observe that
both of its methods can be handled by a proxy if JNI is not ready:

* Calls to `dispatch` may be enqueued until JNI is up;
* Observe that, when JNI is not up yet, the result of `isOnCurrentThread`
  can never be `true`.

Once JNI is up and the event targets have been resolved, the proxies are
replaced with the real, concrete `XPCOMEventTarget`s and are no longer used for
the remainder of the Gecko instance's lifetime.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:39:31 +00:00
Emilio Cobos Álvarez e363a41bd4 Bug 1607595 - Remove uses of mozilla::IsBaseOf. r=froydnj
Automatically generated by:

$ rg 'IsBaseOf<' | cut -d : -f 1 | xargs sed -i 's/mozilla::IsBaseOf</std::is_base_of</g'
$ rg 'IsBaseOf<' | cut -d : -f 1 | xargs sed -i 's/IsBaseOf</std::is_base_of</g

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

--HG--
extra : moz-landing-system : lando
2020-01-08 14:52:10 +00:00
Hiroyuki Ikezoe 6e7f3aff6a Bug 1607124 - Query system colors in child processes directly. r=geckoview-reviewers,snorp
Using LookAndFeelInt to query system colors is awkward, it's normally used for
eIntID_XX values.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 15:41:07 +00:00
Cameron McCormack c6ae607f04 Bug 1601846 - Record telemetry for whether the user has a dark mode OS theme. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D56130

--HG--
extra : moz-landing-system : lando
2019-12-20 19:05:12 +00:00
James Willcox 9d6b63b818 Bug 1595176 - Don't wait for a window to finish GeckoView startup r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D57543

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:22 +00:00
James Willcox 847cf8c8d7 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:18 +00:00
Noemi Erli 00a57ab6c7 Backed out 3 changesets (bug 1603452, bug 1603114, bug 1577596) for causing lint failure in GeckoSession.java CLOSED TREE
Backed out changeset 1a9be6d049a7 (bug 1577596)
Backed out changeset 11e1f382ea77 (bug 1603114)
Backed out changeset d63c194d1c6c (bug 1603452)
2019-12-18 01:12:37 +02:00
James Willcox 3f1c533a24 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:31 +00:00
Kris Taeleman a5db590a3a Bug 1602597 - Enable Webrender for Adreno 5xx and 6xx in Nightly. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D56829

--HG--
extra : moz-landing-system : lando
2019-12-13 16:14:40 +00:00
Brian Grinstead 02d5d82b74 Bug 1603491 - Rename geckoview.xul to geckoview.xhtml r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D56969

--HG--
rename : mobile/android/chrome/geckoview/geckoview.xul => mobile/android/chrome/geckoview/geckoview.xhtml
extra : moz-landing-system : lando
2019-12-13 00:16:26 +00:00
Noemi Erli e6341c6f8c Backed out changeset d72ce5d90b7c (bug 1602565) for causing Android mochites failures CLOSED TREE 2019-12-12 20:20:02 +02:00
Brendan Dahl 581016b570 Bug 1599957 - Fix intermittent test WebExecutorTest.testFetchStreamError r=snorp
Currently, it's possible for testFetchStreamError to finish receiving data
before the error is received and throws.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 15:29:36 +00:00
Agi Sferro b064d2695b Bug 1602565 - Mark GeckoView windows with chrome flag CHROME_GECKOVIEW. r=snorp
This will allow us to know whether a certain window is controlled GeckoView or
not in the content process.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:33:09 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Makoto Kato 5d374a9099 Bug 1598782 - Don't destroy GeckoEditableSupport when getting focus. r=geckoview-reviewers,rbarker
NOTIFY_IME_OF_FOCUS performs lazy initialization for text dispatcher. When
GeckoViewSupport attaches GeckoEditable during initialization,
GeckoEditableSupport destroys myself.

If GeckoEditable already has focus, don't destroy GeckoEditable child.

Also, I want to add debug warning to debug like this issue.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 20:16:16 +00:00
Alastor Wu a7c687ab30 Bug 1601508 - create a general interface for getting platform-specific media keys event source r=spohl
Create a general interface for getting platform-specific media keys event source in order to remove platform specific code from non-platform related folder `dom/media`.

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

--HG--
rename : dom/media/mediacontrol/MediaHardwareKeysEventSourceMac.h => widget/cocoa/MediaHardwareKeysEventSourceMac.h
rename : dom/media/mediacontrol/MediaHardwareKeysEventSourceMac.mm => widget/cocoa/MediaHardwareKeysEventSourceMac.mm
extra : moz-landing-system : lando
2019-12-06 20:55:26 +00:00
Gabriele Svelto 5dc21d568c Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Kris Taeleman 5526ac12fc Bug 1598477 - Enable Webrender for Pixel 3 and Pixel 3 XL. r=jnicol
* Enable Pixel 3 and Pixel 3 XL on nightly only.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 11:20:28 +00:00
James Willcox 13542a780b Bug 1594905 - Propagate Gecko channel errors to GeckoInputStream r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D54615

--HG--
extra : moz-landing-system : lando
2019-11-27 18:23:05 +00:00
Ciure Andrei 812536c535 Backed out changeset c4258604bf44 (bug 1594905) for causing linting failure in GeckoWebExecutor.java CLOSED TREE 2019-11-27 19:48:49 +02:00
James Willcox b285b21fc4 Bug 1594905 - Propagate Gecko channel errors to GeckoInputStream r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D54615

--HG--
extra : moz-landing-system : lando
2019-11-27 16:36:47 +00:00
Kris Taeleman 38b7d1873f Bug 1594145 - Add gfx telemetry scalars to geckoview_streaming. r=Dexter,jnicol
* Fix mochitest browser_Troubleshoot.js schema failure
* Fix mochitest browser_Troubleshoot.js schema failure on windows with
multiple adapters

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

--HG--
extra : moz-landing-system : lando
2019-11-26 19:42:06 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Coroiu Cristina 074f577ac7 Backed out changeset 91f3048cc58e (bug 1594145) for browser-chrome failures at toolkit/modules/tests/browser/browser_Troubleshoot.js on a CLOSED TREE 2019-11-26 04:49:17 +02:00
Kris Taeleman 92eb33ee8b Bug 1594145 - Add gfx telemetry scalars to geckoview_streaming. r=Dexter,jnicol
* Fix mochitest browser_Troubleshoot.js schema failure

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:50:33 +00:00
Mihai Alexandru Michis a033171524 Backed out changeset 270e007adcd2 (bug 1594145) for causing browser-chrome failures in browser_Troubleshoot.js 2019-11-25 14:51:07 +02:00
Kris Taeleman 25c223ac03 Bug 1594145 - Add gfx telemetry scalars to geckoview_streaming. r=Dexter,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D52941

--HG--
extra : moz-landing-system : lando
2019-11-23 00:18:27 +00:00
Razvan Maries b908c8b469 Backed out changeset 0ae41aa8997b (bug 1594145) for build bustages on GfxInfo.cpp. CLOSED TREE 2019-11-22 14:52:04 +02:00
Kris Taeleman 90c12ab5c4 Bug 1594145 - Add gfx telemetry scalars to geckoview_streaming. r=Dexter,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D52941

--HG--
extra : moz-landing-system : lando
2019-11-21 21:09:33 +00:00
Hiroyuki Ikezoe 9b165804d8 Bug 1586986 - Deliver 'fixed-bottom' offset to the top of the pres context on the foreground tab. r=geckoview-reviewers,tnikkel,snorp
The dynamic toolbar transition doesn't affect on background tabs since to
switch tabs the dynamic toolbar should be restored to its original state (i.e.,
completely visible state).

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:15:46 +00:00
Agi Sferro cbc3c1528e Bug 1530402 - Provide GeckoImageDecoder. r=snorp
This class allows GeckoView embedders to decode images using Gecko's image
library.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:55 +00:00
Noemi Erli 9548dd980a Backed out 13 changesets (bug 1530402, bug 1533156) for causing raptor failures CLOSED TREE
Backed out changeset 6d7b7d22b0c6 (bug 1530402)
Backed out changeset acea32ec5975 (bug 1530402)
Backed out changeset 597e32ad2f5b (bug 1530402)
Backed out changeset 352068fe68bc (bug 1530402)
Backed out changeset e0ae4f16f7ed (bug 1530402)
Backed out changeset 282b033c7daa (bug 1530402)
Backed out changeset 72274a5a821b (bug 1530402)
Backed out changeset 3d3366fe476f (bug 1530402)
Backed out changeset 7400c3fd2b5f (bug 1530402)
Backed out changeset 23d43a425641 (bug 1530402)
Backed out changeset 83b9603f5fa1 (bug 1530402)
Backed out changeset 50c50a80e881 (bug 1533156)
Backed out changeset 5975264fd34b (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
extra : rebase_source : 551e88b6719692756499387e93f797454a336180
2019-11-15 18:57:20 +02:00
Agi Sferro dd3df73eb6 Bug 1530402 - Provide GeckoImageDecoder. r=snorp
This class allows GeckoView embedders to decode images using Gecko's image
library.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:45 +00:00
Andreea Pavel 30f5e9486a Backed out 13 changesets (bug 1530402, bug 1533156) for failing test_ext_tabs_query.html on a CLOSED TREE
Backed out changeset aa9499a196e3 (bug 1530402)
Backed out changeset ce12e494a189 (bug 1530402)
Backed out changeset 1b053a203af9 (bug 1530402)
Backed out changeset f57bc0ee284b (bug 1530402)
Backed out changeset 701de7bcb484 (bug 1530402)
Backed out changeset ab7b21969769 (bug 1530402)
Backed out changeset c7b8cc91f245 (bug 1530402)
Backed out changeset e2be10dbad5e (bug 1530402)
Backed out changeset f52a8fedcded (bug 1530402)
Backed out changeset 4fcca36d5b3e (bug 1530402)
Backed out changeset 82b28001164b (bug 1530402)
Backed out changeset 1dc6a4ebc9e1 (bug 1533156)
Backed out changeset ae5ead19921d (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-15 05:48:23 +02:00
Agi Sferro d917224183 Bug 1530402 - Provide GeckoImageDecoder. r=snorp
This class allows GeckoView embedders to decode images using Gecko's image
library.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 19:08:40 +00:00
Hiroyuki Ikezoe 2a51338a5a Bug 1586144 - Introduce an API to set the dynamic toolbar maximum height in GeckoView. r=geckoview-reviewers,tnikkel,snorp
And deliver the value to the top content pres context, but it's not used in
this commit. The value will be used in the next commit.

One caveat is that areas covered by the dynamic toolbar will be outside
of the content area, which means implementers of GeckoView needs to call
setVerticalClipping with _negative_ values.

Depends on D50416

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

--HG--
extra : moz-landing-system : lando
2019-11-14 05:59:47 +00:00
Hiroyuki Ikezoe eb3f83b865 Bug 1586144 - Drop m{Start,Last}Dist in android/nsWindow.h. r=botond
It's not used in the first place.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 04:05:18 +00:00
Sid Vishnoi bd713fe4ee Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc
Rename nsGeolocation to Geolocation.
Split nsGeoPostion to GeolocationPosition and GeolocationCoordinates.
Fix some include guards and comments referencing outdated interfaces.

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

--HG--
rename : dom/geolocation/nsGeolocation.cpp => dom/geolocation/Geolocation.cpp
rename : dom/geolocation/nsGeolocation.h => dom/geolocation/Geolocation.h
rename : dom/geolocation/nsGeoPosition.cpp => dom/geolocation/GeolocationPosition.cpp
rename : dom/geolocation/nsGeoPosition.h => dom/geolocation/GeolocationPosition.h
extra : moz-landing-system : lando
2019-11-14 04:18:04 +00:00
Csoregi Natalia 4cf34e2666 Backed out 13 changesets (bug 1530402, bug 1533156) for multiple failures e.g columnrule-linestyles.html and test_composite.html. CLOSED TREE
Backed out changeset 9e55fee783ff (bug 1530402)
Backed out changeset f6af9d6a5482 (bug 1530402)
Backed out changeset bf09025d6f98 (bug 1530402)
Backed out changeset 9717ba255826 (bug 1530402)
Backed out changeset e34768ee01db (bug 1530402)
Backed out changeset b540d7b34ef6 (bug 1530402)
Backed out changeset 126af041394b (bug 1530402)
Backed out changeset cf16e02e62cd (bug 1530402)
Backed out changeset 3638fcff5bed (bug 1530402)
Backed out changeset 9630bed0ca2c (bug 1530402)
Backed out changeset 1aa5898efa5f (bug 1530402)
Backed out changeset 7462bbe4e676 (bug 1533156)
Backed out changeset 536a4cac3ffe (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-14 03:46:37 +02:00
Agi Sferro aeb4e02ba0 Bug 1530402 - Provide GeckoImageDecoder. r=snorp
This class allows GeckoView embedders to decode images using Gecko's image
library.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 20:29:08 +00:00
Bobby Holley 105c2ab943 Bug 1562761 - Add support for dispatching java runnables to Gecko event targets. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D52197

--HG--
extra : moz-landing-system : lando
2019-11-08 18:08:03 +00:00
Brindusan Cristian 98904c4e42 Backed out changeset efc82f89a7c7 (bug 1562761) for linting failure on XPCOMEventTarget.java. CLOSED TREE 2019-11-08 19:36:27 +02:00
Bobby Holley 58c5923eff Bug 1562761 - Add support for dispatching java runnables to Gecko event targets. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D52197

--HG--
extra : moz-landing-system : lando
2019-11-08 14:32:59 +00:00
Brendan Dahl eafc9e3293 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-05 17:56:28 +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
Mihai Alexandru Michis b819bd25aa Backed out 2 changesets (bug 1470510) for causing bustages in widget/cocoa/nsChildView.mm CLOSED TREE
Backed out changeset a343f30c34a3 (bug 1470510)
Backed out changeset 4da64790094d (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
2019-11-05 09:24:26 +02:00
Brendan Dahl 0c0da7791e Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 23:37:31 +00:00
Dorel Luca 0207ce5451 Backed out 2 changesets (bug 1470510) for build bustage on /build/src/widget/cocoa/nsChildView.mm. CLOSED TREE
Backed out changeset 5967bf633574 (bug 1470510)
Backed out changeset 067a556bb614 (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
extra : amend_source : 752d828c6a0726c3f2df57a25741e38b36b75d6b
2019-11-04 19:18:56 +02:00
Brendan Dahl 247b257cfa Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 16:52:35 +00: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
Sam Mauldin 16993481ab Bug 1592389 - Rename Mozfield / Mozfieldtext to Field and Fieldtext r=emilio
Split off of Bug 1590894
Rename these to support unprefixed version
Also add alias to keep compatibility

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

--HG--
extra : moz-landing-system : lando
2019-11-02 21:28:49 +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
Csoregi Natalia 5f86f24e67 Backed out changeset da311583ecc1 (bug 1583575) for gv-junit failures. CLOSED TREE 2019-11-01 11:27:17 +02:00
Aaron Klotz 77bedb6124 Bug 1583575: Retain window size between instances and use it to set the size when opening a new window; r=snorp
This obviously only improves the situation when a subsequent window is the
same size as the last window that was opened.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 22:16:15 +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
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
Daniel Varga b747b90cd8 Backed out changeset ec25a8482342 (bug 1592389) for mochitest failure at layout/style/test/test_value_computation.html. On a CLOSED TREE 2019-10-30 10:17:29 +02:00
Sam Mauldin 09a1cf803b Bug 1592389 - Rename Mozfield / Mozfieldtext to Field and Fieldtext r=emilio
Split off of Bug 1590894
Rename these to support unprefixed version
Also add alias to keep compatibility

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

--HG--
extra : moz-landing-system : lando
2019-10-30 05:51:38 +00:00
James Willcox 545ae39527 Bug 1589246 - Guard against null notification when closing them on Android r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D50642

--HG--
extra : moz-landing-system : lando
2019-10-25 18:06:09 +00:00
Andreea Pavel dd6c574455 Backed out changeset 10e1c85b13b0 (bug 1583575) for android geckoview failures on a CLOSED TREE 2019-10-26 01:11:23 +03:00
Aaron Klotz 4d0bd40e2e Bug 1583575: Retain window size between instances and use it to set the size when opening a new window; r=snorp
This obviously only improves the situation when a subsequent window is the
same size as the last window that was opened.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 20:27:46 +00:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Emilio Cobos Álvarez 2614699797 Bug 1589327 - Remove more dead code conditional on jni::IsFennec() or similar. r=snorp
Didn't want to remove all the WebAuthn and dynamic toolbar code so I left it
there in case it's useful in the future.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:51 +00:00
Kris Taeleman f3a08029ed Bug 1589218 - Add Pixel 2 XL to webrender allowed devices. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D49495

--HG--
extra : moz-landing-system : lando
2019-10-17 12:59:37 +00:00
John Lin 36bb9562d3 Bug 1581902 - p4: add HW H.264 feature to GfxInfo. r=esawin
Recycle FEATURE_WEBRTC_HW_ACCELERATION constant and rename it for H.264.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:44 +00:00
John Lin e1b8252731 Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:35 +00:00
Ricky Stewart c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga 27d99ab2df Backed out 6 changesets (bug 1581902) for xpcshell failure at xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js. On a CLOSED TREE
Backed out changeset c900fdf28f82 (bug 1581902)
Backed out changeset 92c9ea70040d (bug 1581902)
Backed out changeset 1f588b5bf019 (bug 1581902)
Backed out changeset f837f2c5224f (bug 1581902)
Backed out changeset 44e248976099 (bug 1581902)
Backed out changeset c7dfff053f71 (bug 1581902)
2019-10-07 23:07:36 +03:00
John Lin 572a122361 Bug 1581902 - p4: add HW H.264 feature to GfxInfo. r=esawin
Recycle FEATURE_WEBRTC_HW_ACCELERATION constant and rename it for H.264.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 16:54:34 +00:00
John Lin a5276b6ecb Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 16:55:01 +00:00
Daniel Varga 052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart 940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

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

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Sylvestre Ledru f12b9fa5c3 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
Nick Alexander c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Kris Taeleman 3bd0cbdc09 Bug 1578506 - Add better monitor information to about:support. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D47110

--HG--
extra : moz-landing-system : lando
2019-10-03 23:43:35 +00:00
Gabriele Svelto 10d41866a5 Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47678

--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Emilio Cobos Álvarez a966f41d5c Bug 1574004 - Ensure not to leak disposer if UI thread is shot down. r=snorp,agi
I've hit this in one of my try runs and looks trivial to fix.

The already_AddRefed destructor asserts when leaked.

We should just not allow to let it go out of scope without moving the pointer.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 16:50:02 +00:00
James Willcox ec2812da2f Bug 1557411 - Add GeckoView API to expose how touch events are handled. r=geckoview-reviewers,botond,agi
Differential Revision: https://phabricator.services.mozilla.com/D46601

--HG--
extra : moz-landing-system : lando
2019-09-23 21:00:44 +00:00
Makoto Kato e0eb251ca2 Bug 1552041 - Part 2. Don't open virtual keyboard via chrome script. r=geckoview-reviewers,snorp
Even if `element.focus` is called from chrome, we always open virtual keyboard.
But I would like to change this behaviour that virtual keyboard isn't opened
via `element.focus` that is chrome script.

Depends on D44104

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

--HG--
extra : moz-landing-system : lando
2019-09-09 14:15:50 +00:00
Botond Ballo a61744ca91 Bug 1564195 - Group the results of APZInputBridge::ReceiveInputEvent() into a struct. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D46376

--HG--
extra : moz-landing-system : lando
2019-09-19 02:45:21 +00:00
Elliot Stirling 374680fc66 Bug 1511033 - Support ServiceWorkerClients.openWindow() r=geckoview-reviewers,snorp,smaug
Adds a ServiceWorkerDelegate to GeckoRuntime that allows GeckoView applications
to handle ServiceWorkerClient.openWindow() requests.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 11:29:30 +00:00
Agi Sferro 198ecc2e92 Bug 1579826 - GeckoView support for Categorical Histograms. r=chutten,snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D45219

--HG--
extra : moz-landing-system : lando
2019-09-10 23:37:04 +00:00
Jamie Nicol de1f14f711 Bug 1560335 - Enable webrender for Pixel 2 on GeckoView Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D35436

--HG--
extra : moz-landing-system : lando
2019-09-10 10:46:13 +00:00
Bogdan Tara 18bc1e5f1c Backed out changeset aca75dcd4379 (bug 1560335) for android bustages complaining about gfxPlatform.cpp CLOSED TREE 2019-09-10 00:45:08 +03:00
Jamie Nicol e25c972bc8 Bug 1560335 - Enable webrender for Pixel 2 on GeckoView Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D35436

--HG--
extra : moz-landing-system : lando
2019-09-09 17:10:42 +00:00
Chris H-C fd7b041a52 Bug 1576732 - Streaming Telemetry: Categorical Histograms Part r=agi,janerik
Differential Revision: https://phabricator.services.mozilla.com/D44861

--HG--
extra : moz-landing-system : lando
2019-09-06 08:07:10 +00:00
Emily Toop 19b04db5a0 Bug 1565466 - Lock Window in `LayerViewSupport::OnDetach` r=snorp
Move lock of window inside thread in `LayerViewSupport::OnDetach` and pop the `GeckoResult` from list of waiting results while we still have the initiallock in `LayerViewSupport::RecvScreenPixels`.

This passes try, but then so did the last patch.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 14:22:15 +00:00
Agi Sferro 72e1ec0f20 Bug 1576730 - Support scalars in GeckoView Telemetry. r=chutten,snorp
Differential Revision: https://phabricator.services.mozilla.com/D44539

--HG--
extra : moz-landing-system : lando
2019-09-05 15:56:43 +00:00
James Willcox 17531c0400 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-09-04 21:25:44 +00:00
Chris H-C 0e30f25589 Bug 1573477 - Add asserting impls for new Streaming Telemetry interface methods r=agi
Differential Revision: https://phabricator.services.mozilla.com/D43517

--HG--
extra : moz-landing-system : lando
2019-08-27 15:47:25 +00:00
Makoto Kato 6aaa810233 Bug 1577685 - Move some utility functions from IMEStateManager to widget. r=masayuki
I would like to log `IMEState` and `InputContextAction`in widget. But this
utilities are in `IMEStateManager`, so I would like to move it to widget
by using `mozilla/ToString.h`.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 05:56:58 +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
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
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
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
kriswright 533fc20279 Bug 1573992 - Convert android.widget_paints_background to static pref. r=njn
Converts android.widget_paints_background to a static pref. From my understanding, this pref only matters on android, and the overridden function in nsIWidget defaults to `false`. Based on that I replaced the entire WidgetPaintsBackground() function with a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:43 +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 d489024871 Bug 1573992 - Convert intl.ime.hack.on_any_apps.fire_key_events_for_composition to static pref. r=njn
Converts intl.ime.hack.on_any_apps.fire_key_events_for_composition to a static pref and updates its usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +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
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
Oana Pop Rus cc55a912e9 Backed out changeset 6d823f106e69 (bug 1533057) for Android mochitest failure in AndroidAlerts.cpp on a CLOSED TREE 2019-08-16 02:28:42 +03:00
Alvina Waseem b465cfd307 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-15 20:13:57 +00:00
Eugen Sawin 2708b11d94 Bug 1566367 - [2.0] Add streaming telemetry Gecko-GV bridge. r=snorp,chutten
Differential Revision: https://phabricator.services.mozilla.com/D38899

--HG--
extra : moz-landing-system : lando
2019-08-09 04:51:10 +00:00
Tom Schuster 0e913c22c4 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-07 19:49:40 +00:00
Cosmin Sabou c3430326e6 Backed out changeset ca88862d6b63 (bug 1558915) for causing build bustages on StartupCacheUtils. CLOSED TREE 2019-08-07 13:20:32 +03:00
Tom Schuster 8bc1f5ada8 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-07 09:36:56 +00:00
Razvan Maries eedbf1137f Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
Tom Schuster 03c7998ef2 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-06 20:19:41 +00:00
Emily Toop 5c825f981a Bug 1560641: Add a lock around `mCapturePixelsResults`. @geckoview-reviewers r=geckoview-reviewers,snorp
This is to ensure that multiple completions cannot be attempted on the same `GeckoResult`, resulting in crashes.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:23:30 +00:00
Emily Toop 8a99efca37 Bug 1553135 - Lock `LayerViewSupport` during detach so that other methods cannot be called during this time. r=geckoview-reviewers,snorp
This is caused by a race condition when the compositor is detached. Because the actual detachment happens in a new thread, `detach` can complete and release the lock on `mLayerViewSupport`, and `RecvScreenPixels` can obtain the lock, before `mLayerViewSupport` is properly cleaned up. We therefore check to ensure that `lvs` is not null before calling a method on it.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 15:26:31 +00:00
Bobby Holley 5d23efb2eb Bug 1566583 - Bridge GeckoResult to MozPromise and return a GeckoResult from GeckoProcessManager::start. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38436

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:14 +00:00
Bobby Holley fe3f8ed5bb Bug 1566583 - Factor primitive conversion logic out of EventDispatcher. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38435

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:09 +00:00
Coroiu Cristina f3386dea34 Backed out 4 changesets (bug 1566583) for apilint and checkstyle failure at geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java on a CLOSED TREE
Backed out changeset 3700ef585384 (bug 1566583)
Backed out changeset fbc829be6c4f (bug 1566583)
Backed out changeset 14ea9c84bb0e (bug 1566583)
Backed out changeset 92f3b1bb34a4 (bug 1566583)
2019-07-24 22:59:54 +03:00
Bobby Holley 53719788a1 Bug 1566583 - Bridge GeckoResult to MozPromise and return a GeckoResult from GeckoProcessManager::start. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38436

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:40 +00:00
Bobby Holley b9d662007c Bug 1566583 - Factor primitive conversion logic out of EventDispatcher. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38435

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:29 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Sylvestre Ledru fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Makoto Kato 3cc03057bd Bug 1556103 - Part 2. Long press doesn't show virtual keyboard. r=geckoview-reviewers,snorp
When long tapping on input element, the behavior of virtual keyboard is different of Chrome.  Firefox opens virtual keyboard, but Chrome doesn't.

So I would like to change to same behavior of Chrome.

Also, after this fix, action bar (copy, paste and etc) won't be disappeared immediately after it appears by long tap.  Before applying this fix, virtual keyboard is shown, then focused element is scrolled to center.  So action bar may be disappeared.  But after applying this fix, focused element isn't scrolled. So action bar keeps same position.

Depends on D35991

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

--HG--
extra : moz-landing-system : lando
2019-07-02 13:47:42 +00:00
Henri Sivonen 29ac9cfdbe Bug 1545429 - Avoid passing unsupported Android screen orientation flag combinations to Gecko. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D36351

--HG--
extra : moz-landing-system : lando
2019-07-02 17:42:34 +00:00
Gerald Squelart b13eeec2e9 Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:12:57 +00:00
sotaro 1dc0c1859e Bug 1546397 - Blacklist WebGL on some android devices r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D36153

--HG--
extra : moz-landing-system : lando
2019-06-28 07:00:13 +00:00
Andreea Pavel 4d16b0896b Backed out 2 changesets (bug 1552063) for mingw build bustages on a CLOSED TREE
Backed out changeset 2975f3f76576 (bug 1552063)
Backed out changeset 6284bcd7304e (bug 1552063)
2019-06-28 02:09:41 +03:00
Gerald Squelart 475dbeee0a Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 14:23:17 +00:00
Tarek Ziadé a494b08766 Bug 1529022 - Add a GeckoChildProcessHosts iterator r=jld
Adds GeckoChildProcessHost::GetAll() and use it in ChromeUtils::GetProcInfo()

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

--HG--
extra : moz-landing-system : lando
2019-06-21 01:33:47 +00:00