Commit Graph

24248 Commits

Author SHA1 Message Date
Gabriele Svelto
d3db709684 Bug 1506264 - Fix querying the nsIObserver interface in all classes implementing it r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D11530

--HG--
extra : moz-landing-system : lando
2018-11-09 22:20:54 +00:00
Agi Sferro
32866173fc Bug 1436754 - Merge LayerSession into GeckoSession; r=snorp,jchen
Depends on D10990

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

--HG--
extra : moz-landing-system : lando
2018-11-09 17:04:38 +00:00
Martin Stransky
4e638efc71 Bug 1505307 - Don't use nsCOMPtr array to track Wayland display connections, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11477

--HG--
extra : moz-landing-system : lando
2018-11-09 14:50:29 +00:00
Tom Schuster
3a8e0049b7 Bug 1503577 - Change CreateDataFromPrimitive aDataLen to out parameter with size of string in bytes. r=mstange
Right now CreateDataFromPrimitive doesn't use the aDataLen parameter, and after this change the out
value should be the same as the value passed in, as long as we are dealing with strings.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 13:24:28 +00:00
Tom Schuster
7b787afdfe Bug 1503577 - Remove CreateDataFromPrimitive from macOS clipboard code. r=spohl
The previous |if (data)| check is not quite the same as !data.IsEmpty(), because
the previous code just checked if the do_QueryInterface failed, but not if the resulting
string is empty.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 13:24:28 +00:00
Martin Stransky
54dedf199e Bug 1504904 - Provide fallback symbol gdk_wayland_display_get_type(), r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11301

--HG--
extra : moz-landing-system : lando
2018-11-09 11:30:24 +00:00
Mats Palmgren
754a89bb89 Bug 1501506 - Add -webkit-appearance:progress-bar and make that the default for <progress> for compatibility with other UAs. r=jwatt
Keep our old 'progressbar' as an alias for now, but unship
'progresschunk' by restricting it to UA/chrome sheets only.
Unship 'progresschunk-vertical' by removing it since it's
not used internally for anything.
2018-11-09 04:25:56 +01:00
Mats Palmgren
2882783137 Bug 1501483 - Add -webkit-appearance:meter and make that the default for <meter> for compatibility with other UAs. r=jwatt
Keep our old value 'meterbar' as an alias for now, but unship 'meterchunk'
by restricting it to UA/chrome sheets only.
2018-11-09 04:25:56 +01:00
arthur.iakab
59ae70486b Merge inbound to mozilla-central a=merge 2018-11-08 06:52:03 +02:00
Mike Hommey
9551f8369c Bug 1504951 - Fix static analysis errors that arise when enabling wayland support. r=jhorak
Add missing explicit to avoid implicit conversion constructors.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 01:41:33 +00:00
arthur.iakab
cd9c08f450 Merge mozilla-central to autoland 2018-11-07 23:53:43 +02:00
Markus Stange
7ff5b8352b Bug 1503424 - Null-check NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification before using it in order to fix a startup crash on 10.10. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D11239

--HG--
extra : moz-landing-system : lando
2018-11-07 21:38:21 +00:00
Mike Hommey
ac19b1cd69 Bug 1505023 - Remove unused mKeyboard field after bug 1504689. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11135

--HG--
extra : moz-landing-system : lando
2018-11-07 11:43:01 +00:00
Masayuki Nakano
2d19d947df Bug 1502795 - Set keyCode or charCode of keypress event whose value is zero to the other's non-zero value by default again unless dispatched on known broken web apps r=smaug
This patch re-enables the new behavior of bug 1479964, to set keyCode or
charCode of keypress event whose value is zero to the other's non-zero value.

However, some web apps are still broken with the new behavior.  Therefore,
this patch adds a blacklist to keep using our legacy behavior in some specific
web apps.

Note that Google Docs, Gmail and Remember The Milk are reported as broken.
However, I don't see any broken shortcut with Gmail.  Therefore, this patch
adds only Google Docs and Remeber The Milk into the blacklist.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 06:39:10 +00:00
Martin Stransky
a3dbcdcdf6 Bug 1504937 - Use DBus remote only when running on Wayland display, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11004

--HG--
extra : moz-landing-system : lando
2018-11-06 14:59:58 +00:00
Andreea Pavel
d401f28d4e Merge mozilla-inbound to mozilla-central. a=merge 2018-11-06 19:05:52 +02:00
Martin Stransky
37cfe5b008 Bug 1504689 - [Wayland/Clipboard] Don't delete clipboard wl_data_offer after keyboard focus out, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D10895

--HG--
extra : moz-landing-system : lando
2018-11-06 10:40:48 +00:00
Gurzau Raul
1da9ef02c4 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Kartikaya Gupta
f366022cd6 Bug 1504793 - Remove out-of-date sentence from comment. r=botond
DONTBUILD because comment-only change.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 23:36:14 +00:00
Gurzau Raul
dfc16e18a8 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-06 12:04:13 +02:00
Jim Chen
841b637299 Bug 1490391 - 2. Queue synchronize replies if we already queued some replies; r=esawin
If we already queued some synchronize replies, we should queue any
additional replies so that we don't prematurely reply to an event that
has not finished processing yet.

Also add delay for synchronize replies when a `OnImeUpdateComposition`
call is being processed.

Differential Revision: https://phabricator.services.mozilla.com/D9850
2018-11-06 00:12:07 -05:00
Jim Chen
12453d9645 Bug 1499429 - 5. Make setting editable parent async; r=esawin
Currently we make a sync call from the child process to the parent
process to retrieve the IGeckoEditableParent instance. However, that can
lead to deadlocks when a11y code makes parent-to-child async calls at
the same time. This patch makes the call async to avoid the deadlock.

Differential Revision: https://phabricator.services.mozilla.com/D10663
2018-11-06 00:12:07 -05:00
Jim Chen
8a599aa552 Bug 1499429 - 3. Transfer to new GeckoEditableParent during session transfer; r=esawin
During a session transfer, update existing GeckoEditableChild instances
in the parent and child processes to use the new GeckoEditableParent
instance that corresponds to the new session. If the GeckoEditableChild
has focus, take additional steps to make sure the GeckoEditableParent
receives current input context and focus information.

Differential Revision: https://phabricator.services.mozilla.com/D8996
2018-11-06 00:12:06 -05:00
Jim Chen
2944534e33 Bug 1499429 - 2. Set default GeckoEditableChild from native code; r=esawin
Set the default GeckoEditableChild from C++, so we can keep the same
GeckoEditableChild instance across session transfers, and only have a
different GeckoEditableParent instance after each transfer.

Differential Revision: https://phabricator.services.mozilla.com/D8995
2018-11-06 00:12:06 -05:00
Narcis Beleuzu
9b3f73e696 Merge mozilla-central to inbound. CLOSED TREE 2018-11-05 23:54:03 +02:00
Jonathan Kingston
4248b4c554 Bug 1490257 - Pass triggeringPrincipal to test code. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10882

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:47 +00:00
shindli
7c0a5e2aef Merge inbound to mozilla-central. a=merge 2018-11-03 11:40:50 +02:00
Xidorn Quan
1ee5cae927 Backed out changeset 64fa36b13e1a (bug 1473816) 2018-11-03 16:10:29 +11:00
Gerald Squelart
1d2a9c227e Bug 1503468 - Add more AUTO_PROFILER_THREAD_SLEEP's - r=mstange
These are around wait functions that already had an IDLE marker.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 16:26:50 +00:00
Ryan Hunt
2226bcc8a3 Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond
This commit attempts to lower the pain of modifying FrameMetrics.h.

It looks like most includes really only want ViewID or
ScrollableLayerGuid, so this commit factors them out into a separate
header. In the process FrameMetrics::ViewID is changed to
ScrollableLayerGuid::ViewID, which personally seems like a better
place for it now that we have RepaintRequest. Unfortunately that
requires a lot of places to be updated.

After this commit there are still a couple of major places that
FrameMetrics is included.
 * nsDisplayList.h
 * nsIScrollableFrame.h
 * Layers.h

Those are going to be more tricky or impossible to fix so they're
not in this commit.

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

--HG--
rename : gfx/layers/FrameMetrics.h => gfx/layers/ScrollableLayerGuid.h
rename : gfx/layers/FrameMetrics.h => gfx/layers/ZoomConstraints.h
extra : rebase_source : 29ac79f91460a181bf7437af5c371207e22858e2
extra : source : c2e70e531075493fc6e374dcec862827f0bc6e77
2018-11-01 15:15:46 -05:00
Tom Schuster
8c1f89b6e5 Bug 1503588 - Remove aDataLen parameter from nsITransferable.getAnyTransferData. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D10441

--HG--
extra : moz-landing-system : lando
2018-11-02 11:02:25 +00:00
Martin Stransky
5e24fd07f7 Bug 1497534 - Check Gtk backdrop state flag to make Firefox toplevel window look inactive, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D10558

--HG--
extra : moz-landing-system : lando
2018-11-02 10:23:08 +00:00
Carl Corcoran
5ae1f207a6 Bug 1435827 part 4/9: Adding GetModuleFullPath to WinUtils.cpp;r=aklotz
A wrapper for ::GetModuleFileNameW() is needed in multiple places for the
purpose of evaluating and processing untrusted DLLs. This adds the appropriate
wrapper to WinUtils.cpp

Depends on D6240

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

--HG--
extra : moz-landing-system : lando
2018-11-02 07:59:15 +00:00
Carl Corcoran
d0a2ed0652 Bug 1435827 part 3/9: Add WinUtils::PreparePathForTelemetry r=aklotz
Bug 1435827 part 3/9: Add WinUtils::PreparePathForTelemetry;r=aklotz

PreparePathForTelemetry encapsulates our method of removing sensitive
information from file paths for use in telemetry payloads.

SanitizePath() has been essentially renamed to PreparePathForTelemetry()
which is a bit more precise now that it's being used externally.

Untrusted modules evaluation requires a few path transformations to happen at
various places during processing. This is largely because APIs like
GetLongPathNameW can be rather slow, so performance becomes an issue.

That is the justification for breaking out path transformations into separate
wrapper functions and also the need for PathFlags.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 07:59:17 +00:00
Daniel Varga
e86b1d05f8 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/chrome/geckoview/GeckoViewNavigationContent.js => mobile/android/chrome/geckoview/GeckoViewNavigationChild.js
2018-11-02 00:27:53 +02:00
Daniel Varga
77036132f7 Merge autoland to mozilla-central. a=merge 2018-11-02 00:26:12 +02:00
James Willcox
d64eea208c Bug 1405081 - Add WebRequest, WebResponse, and GeckoWebExecutor to GeckoView r=jchen,esawin
This exposes Gecko networking to GeckoView apps. It includes speculative connections, name resolution, and a Fetch-like HTTP API.

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

squash to executor
2018-11-01 09:52:23 -05:00
Martin Stransky
636020d26c Bug 1501944 - Enable to build wayland target on Gtk 3.10, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D10369

--HG--
extra : moz-landing-system : lando
2018-11-01 11:09:40 +00:00
Margareta Eliza Balazs
86f56d08a0 Merge inbound to mozilla-central. a=merge 2018-11-01 11:12:55 +02:00
Brindusan Cristian
c0b91fe1ee Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-31 23:45:55 +02:00
Jonathan Kingston
873b26107e Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10221

--HG--
extra : moz-landing-system : lando
2018-10-31 18:00:40 +00:00
Lee Salzman
978391d1a2 Bug 1502152 - Skia m71 mozbuild fixes. r=rhunt 2018-10-30 22:17:34 -04:00
Dylan Roeh
242b002ed0 Bug 1503658 - Add isFennec attribute to nsIAndroidBridge. r=snorp 2018-10-31 13:56:08 -05:00
Gurzau Raul
424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Gabriele Svelto
266ef73c96 Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10251

--HG--
extra : moz-landing-system : lando
2018-10-31 20:39:03 +00:00
Csoregi Natalia
ec50e0e5af Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-11-07 18:22:28 +02:00
Jonathan Watt
b5bfd3a7ea Bug 1505316 p2. Rename aWidgetType to aAppearance in widget code. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D11156

--HG--
extra : rebase_source : c908a6d6419c6462453cb8b745effc583d767902
extra : source : 07e12bc71a8d96b52b1a1bbc8dc7545ae4454a4f
2018-10-24 16:24:57 +01:00
Jonathan Watt
587108c41f Bug 1505316 p1. Use StyleAppearance instead of WidgetType in widget code. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D11155

--HG--
extra : rebase_source : 7cbb8c381adfc49803c1bc0e90f4609f6cc7e6d0
2018-10-24 12:47:20 +01:00
Neil Deakin
e109ab758e Bug 1499964, remove nsMenuListType and have nsMenuFrame::GetParentMenuListType return bool, r=paolo 2018-11-07 14:22:29 -05:00
Makoto Kato
71c22d94cb Bug 1497426 - Add source.label support for native Toast Notification. r=aklotz
XUL version of notification and macOS's notification center show source label
("via <URL>" to show origin URL).  Windows's toast notification should show
it like XUL version.

Windows 10 anniversary update or later has placement=attribution attribute for
this usages. https://blogs.msdn.microsoft.com/tiles_and_toasts/2016/05/23/notificationsextensions-updated-for-anniversary-update-of-windows-10/#toastattribution
is more detail about attribution text, so we should use it.

As example, screenshots of this change are attached in this bug.

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

--HG--
extra : rebase_source : 0bcae1901b399856b9612d92be0157335dfff479
2018-10-09 16:26:42 +09:00