Commit Graph

691903 Commits

Author SHA1 Message Date
sotaro
03286b57aa Bug 1616174 - Do not create unnecessary compositor window r=nical
compositor window is not necessary for BasicCompositor.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 09:39:23 +00:00
Valentin Gosu
482d3cd412 Bug 1543331 - Add a null check before calling mHostResolver->FlushCache() r=dragana
frame #5 of report https://crash-stats.mozilla.org/report/index/4dca6cb1-8d45-4bf5-8836-216810200217

This crash was rather obvious in retrospect, but I missed it because I was
looking at the wrong thing. We're not actually crashing in FlushCache,
instead mHostResolver is null in nsDNSService::Observe

What made it obvious is frame #5 of report https://crash-stats.mozilla.org/report/index/4dca6cb1-8d45-4bf5-8836-216810200217
Included here because crash reports expire:

```
1   libxul.so   nsHostResolver::FlushCache(bool)  netwerk/dns/nsHostResolver.cpp:740
2   libxul.so   nsDNSService::Observe(nsISupports*, char const*, char16_t const*)   netwerk/dns/nsDNSService2.cpp:1132
3   libxul.so   nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*)   xpcom/ds/nsObserverList.cpp:66
4   libxul.so   nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*)  xpcom/ds/nsObserverService.cpp:295
5   libxul.so   DecreasePrivateDocShellCount()  docshell/base/nsDocShell.cpp:306
6   libxul.so   nsDocShell::Destroy()   docshell/base/nsDocShell.cpp:5076
```

See the code points to this line:
ef373efc99/docshell/base/nsDocShell.cpp (l306)

As we can see, it emits the "last-pb-context-exited" notification,
and nsDNSService tries to call FlushCache.
However, it appears this notification may be called after we get the shutdown
notification and we null out the pointer. It's unclear why this crash was not
noticed before bug 1450893 landed.

Depends on D63107

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

--HG--
extra : moz-landing-system : lando
2020-02-17 22:20:12 +00:00
Valentin Gosu
541f162e0b Bug 1543331 - clang-format nsDNSService2.cpp r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D63107

--HG--
extra : moz-landing-system : lando
2020-02-17 22:20:55 +00:00
Masayuki Nakano
a5deb4a2c5 Bug 1611374 - Disallow nested Document.execCommand() calls in Nightly and early Beta r=smaug
Chrome does not allow nested `Document.execCommand()` calls:
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/document_exec_command.cc;l=75;drc=301e5d079a1b4c29c5b17574d0470e6db7370acc

On the other hand, Safari (and Firefox) allows it.  However, it's worthwhile to
follow Chrome's behavior.

This patch makes `Document::ExecCommand()` return `false` when it's called
while running another `Document::ExecCommand()` call on Nightly and early Beta.
This is exactly same behavior, and we should watch broken web apps reports
for a while before riding this on the train.

And this patch sets the pref to `true` when all crash tests under
`editor/libeditor/crashtests` which depend on nested calls of `execCommand` run
since same things may be reproducible with other DOM APIs.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 19:17:00 +00:00
vtsty.dev
663396392f Bug 1591908 - Limit websocket tooltips r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D62876

--HG--
extra : moz-landing-system : lando
2020-02-18 10:44:00 +00:00
Francesco Lodolo (:flod)
915b1c4d21 Bug 1616172 - Remove encoding when printing diff in Fluent migration tests r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D63128

--HG--
extra : moz-landing-system : lando
2020-02-18 10:00:30 +00:00
Michal Novotny
5cd74804aa Bug 1614637 - ThreadSanitizer: data race [@ assign_assuming_AddRef] vs. [@ operator bool] in CacheStorageService r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D62550

--HG--
extra : moz-landing-system : lando
2020-02-17 18:44:21 +00:00
Nicolas Chevobbe
4d901c42ef Bug 1615973 - Hide invoke getter popup when evaluating expression. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D63062

--HG--
extra : moz-landing-system : lando
2020-02-17 14:44:34 +00:00
Glenn Watson
ef367b4472 Bug 1579235 - Part 3 - Abstract some parts of yuv shader logic. r=nical
Factor some parts of the YUV brush shader out into a shared
yuv.glsl shader include.

In future, this shader code will also be referenced by the
composite.glsl shader when using the simple (Draw) compositing
mode, to composite video surfaces directly into the framebuffer
where possible.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 08:21:16 +00:00
sviho
c85a63bf83 Bug 1587031 – Removed unused browser.contentblocking.control-center.ui prefs r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D63017

--HG--
extra : moz-landing-system : lando
2020-02-18 08:53:43 +00:00
Julian Descottes
41fcd60375 Bug 1615418 - Use a real client in disconnect aboutdebugging test r=daisuke
Depends on D62894
Using a real local client allows to cover more codepaths than using a complete mock here.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 08:02:42 +00:00
Julian Descottes
79f1be551e Bug 1615418 - Do not throw when calling watch/unwatchFront on destroyed Fronts r=daisuke,ochameau
Depends on D62893

The issue here is that we are trying to destroy the workers-listener after the target was destroyed,
and calling unwatchFront on a destroyed Front throws.

Most of the fronts monitored in workers-listener are handled by the watchFront API, so properly adding
onDestroyed handlers fixes some issues. However the rootFront cannot be handled with a similar pattern
at the moment.

In general, I think making watchFront/unwatchFront safer to call makes sense, but I could also check
if the rootFront is already destroyed in workers-listener's destroy

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

--HG--
extra : moz-landing-system : lando
2020-02-18 08:02:29 +00:00
Julian Descottes
06deaf08bc Bug 1615418 - Remove destroyed fronts from devtools workers-listener r=daisuke
This will avoid part of the exceptions thrown when disconnecting a remote runtime.
However the rootFront unwatchFront calls will still throw because the root front is already gone at this point

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

--HG--
extra : moz-landing-system : lando
2020-02-18 08:02:09 +00:00
Julian Descottes
fe7d7126bc Bug 1615418 - Remove FF69 backward compatibility code in devtools workers-listener r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D62890

--HG--
extra : moz-landing-system : lando
2020-02-18 08:01:57 +00:00
Eugene Simakin
3b20164307 Bug 1592277 - Support class constructors in devtools reps. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D60557

--HG--
extra : moz-landing-system : lando
2020-02-18 07:04:01 +00:00
Noemi Erli
c534f17571 Backed out changeset fa5ee85e20a5 (bug 1603673) for causing lint failure in GeckoRuntimeSettings.java CLOSED TREE 2020-02-18 08:39:30 +02:00
Marcos Cáceres
ccfa51c524 Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:43:48 +00:00
Masayuki Nakano
df94cd5ba4 Bug 1609675 - Enable a TS_E_NOLAYOUT hack for MS-IME even if running on Win10 Build 17643 or later r=m_kato
MS-IME should get `TS_E_NOLAYOUT` error correctly when it's running on Win10
Build 17643 or later.  However, according to the bug report, MS-IME itself
does not handle it correctly.  Therefore, we need to enable a hack for MS-IME
for Japanese even when
`intl.tsf.hack.allow_to_stop_hacking_on_build_17643_or_later` is true.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 04:59:10 +00:00
Jeff Gilbert
410a57c757 Bug 1616132 - ATTACHED_SHADERS must count non-null slots. r=lsalzman
It was always returning 2.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:21:13 +00:00
shindli
ba0dcaf78d Backed out changeset 061d47c2c5c7 (bug 1603673) for mozlint failure in /builds/worker/checkouts/gecko/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java CLOSED TREE 2020-02-18 05:39:05 +02:00
Tim Nguyen
f4e89947b9 Bug 1615614 - Make brush_conic_gradient.glsl compile on GLES. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63118

--HG--
extra : moz-landing-system : lando
2020-02-18 02:55:46 +00:00
Marcos Cáceres
b5521fbef4 Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:11:12 +00:00
Jeff Gilbert
400acda7a4 Bug 1615871 - Add T(webgl), add motionmark_webgl. r=perftest-reviewers,sparky
'fixed' because Talos reports FPS and I'm not sure how to change it.
'30000' because so long as we're over ~3fps, we should get solid perf
data. (and Chrome hits 60fps for me on 10k, but ~30fps at 30k, and we
want room to grow)

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

--HG--
extra : moz-landing-system : lando
2020-02-17 23:47:07 +00:00
shindli
419596f741 Backed out changeset e5c72e92c4dc (bug 1613801) for causing bc permafailures in browser_privatebrowsing_windowtitle.js CLOSED TREE 2020-02-18 03:07:08 +02:00
Hiroyuki Ikezoe
9af75ef401 Bug 1616140 - Rename append_dynamic_properties to append_dynamic_transform_properties. r=gw
It's only for transforms by APZC.

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

--HG--
extra : moz-landing-system : lando
2020-02-17 23:41:52 +00:00
Hiroyuki Ikezoe
83f0515688 Bug 1616140 - Use Vec::with_capacity() instead of Vec::new(). r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63114

--HG--
extra : moz-landing-system : lando
2020-02-17 23:41:35 +00:00
Mike Hommey
c4796627e1 Bug 1616138 - Do not run diff-reproducible-linux32 on beta/release. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63113

--HG--
extra : moz-landing-system : lando
2020-02-17 23:28:32 +00:00
Andreea Pavel
ea73daeeb1 Backed out changeset 0a121aa7d527 (bug 1612403) for android crashes on a CLOSED TREE 2020-02-18 01:13:03 +02:00
Alexandre Poirot
f3c23535d7 Bug 1614792 - Rename DebuggerClient to DevToolsClient. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D62495

--HG--
rename : devtools/shared/client/debugger-client.js => devtools/shared/client/devtools-client.js
extra : moz-landing-system : lando
2020-02-17 13:39:25 +00:00
Zibi Braniecki
53ffd7288a Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-17 14:39:00 +00:00
sotaro
fd1ef47bde Bug 1615946 - Log error when RenderCompositorANGLE::MaybeReadback() takes long time r=nical
Differential Revision: https://phabricator.services.mozilla.com/D63039

--HG--
extra : moz-landing-system : lando
2020-02-17 14:39:31 +00:00
sotaro
d29a629eb9 Bug 1615980 - Add more logs to RenderBufferTextureHost::Lock() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D63044

--HG--
extra : moz-landing-system : lando
2020-02-17 14:38:27 +00:00
Edgar Chen
cdb900d597 Bug 1604140 - Part 3: Add test for focus tabbing through scrollable shadow host; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61945

--HG--
extra : moz-landing-system : lando
2020-02-13 10:05:05 +00:00
Edgar Chen
ed544051f6 Bug 1604140 - Part 2: Should skip the shadow host we started on in frame traversal; r=smaug
The original check, `currentContent != startContent`, is to skip the element we started on in frame traversal.
This would happen for instance on a scrollable element, where frame traversal could return the element again.

However, in shadow dom case, the frame traversal may start on a redirected shadow host, where `startContent` is still the original start element.

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

--HG--
rename : testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero.html => testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-scrollable.html
extra : moz-landing-system : lando
2020-02-13 10:05:07 +00:00
Edgar Chen
27785a6d9b Bug 1604140 - Part 1: Fix focus trap within shadow DOM when host is scrollable; r=smaug
The checks for `*TopLevelScopeOwner` are to skip the scope that we have already checked.
But when the shadow host is scrollable, we will traverse anonymous children for the scroll frame first in frame traversal and `oldTopLevelScopeOwner` will be reset.
Then we don't realize that we have already checked the host's scope.

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

--HG--
rename : testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-not-set.html => testing/web-platform/tests/shadow-dom/focus/focus-tabindex-order-shadow-zero-host-not-set-scrollable.html
extra : moz-landing-system : lando
2020-02-17 15:59:52 +00:00
Gijs Kruitbosch
fe5e0de70a Bug 1609906 - add test for about:downloads so we can't completely break it without noticing, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D63106

--HG--
extra : moz-landing-system : lando
2020-02-17 21:12:00 +00:00
Alex Henrie
676b1a533d Bug 1614868 - Ignore combining diacritic characters in history search. r=jfkthame,mak
IsCombiningDiacritic(-1) returns false, so there is no need to specially
handle -1 in GetLowerUTF8Codepoint_inline.

It is no longer necessary for GetNaked to check whether a character is a
combining character because all callers now skip combining diacritics
and GetNaked already makes sure that decomposition removes a diacritic
and not something else.

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

--HG--
extra : moz-landing-system : lando
2020-02-17 20:42:04 +00:00
Nick Alexander
df11faa804 Bug 1607851 - Bump browsertime version to sitespeedio/browsertime@v8.0.1+. r=tarek
This patch upgrades the major browsertime version used in-tree from 4 to 8 (including some additional fixes to fix some failing tests on our end).

We also add the node v10 requirement in this patch. Also, there were some changes in the browsertime repo's visualmetrics.py script that made it necessary to change where we find the file.

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

--HG--
extra : moz-landing-system : lando
2020-02-17 20:20:18 +00:00
Marco Bonardo
41568f4778 Bug 1612403 - File extensions are duplicated for file inputs with custom 'accept'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63071

--HG--
extra : moz-landing-system : lando
2020-02-17 20:11:50 +00:00
Glenn Watson
10c752a7ab Bug 1615091 - Fix panic in resolve_split_planes with invalid transform. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D63033

--HG--
extra : moz-landing-system : lando
2020-02-17 14:37:34 +00:00
shindli
bc91508b05 Backed out 2 changesets (bug 1605072) for causing reftest failures in layout/reftests/selection/splitText-normalize-ref.html CLOSED TREE
Backed out changeset 973f1e5baebf (bug 1605072)
Backed out changeset 038b50303733 (bug 1605072)
2020-02-17 21:39:58 +02:00
Andreea Pavel
24c006ee95 Bug 1495002 - disable create_alwaysMatch.py and timeouts.py in win ccov r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D62993

--HG--
extra : moz-landing-system : lando
2020-02-15 20:58:14 +00:00
Andi-Bogdan Postelnicu
e67b41e3c7 Bug 1615826 - Reformat clang-plugin to LLVM standard. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63000

--HG--
extra : moz-landing-system : lando
2020-02-17 18:30:50 +00:00
Nathan Froyd
4cbe8542ac Bug 1610149 - turn on wasm sandboxing for Mac configs; r=firefox-build-system-reviewers,rstewart
Depends on D62800

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:14 +00:00
Nathan Froyd
9871aad8ea Bug 1610149 - let x86-64 Mac enable wasm sandboxing; r=firefox-build-system-reviewers,rstewart
Everything that we need is supported on Mac, too.

Depends on D62799

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:13 +00:00
Nathan Froyd
017d4d5cdf Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:13 +00:00
Andreea Pavel
ff331ccbb6 Backed out changeset 517de066cc6f (bug 1615826) for linting failures at CustomAttributes.cpp on a CLOSED TREE 2020-02-17 20:16:08 +02:00
Gijs Kruitbosch
766d80fdda Bug 1566786 - don't leave stop/reload button without an icon if the animation gets cancelled, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63084

--HG--
extra : moz-landing-system : lando
2020-02-17 17:27:08 +00:00
David Teller
d60077a1a1 Bug 1605072 - Make CanonicalBrowsingContext::ChangeFrameRemoteness use async process launching;r=kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D57775

--HG--
extra : moz-landing-system : lando
2020-02-17 17:31:39 +00:00
David Teller
361a4f6284 Bug 1605072 - Rewriting ContentParent::GetNewOrUsedBrowserProcess;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60499

--HG--
extra : moz-landing-system : lando
2020-02-17 17:31:32 +00:00