Commit Graph

663708 Commits

Author SHA1 Message Date
Martin Stransky
6354d2287a Bug 1567434 - [Wayland] Don't use gtk_window_get_transient_for() to get parent toplevel window, r=jhorak
- gtk_window_get_transient_for() fails to return correct toplevel window as the toplevel window changes
when popup is moved in popup hierarchy. So store the toplevel given at nsWindow::Create() and
use it instead.

- Remove some redundat NS_WARNING() from wayland code
- Attach "moved-to-rect" signal handler to GdkWindow only once a update
  NativeMoveResizeWaylandPopupCallback() loging.
- Add more logging to Wayland popup related code.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 10:37:21 +00:00
Nicolas Chevobbe
5b6538716e Bug 1548866 - Fix browser_webconsole_keyboard_accessibility.js intermittent. r=davidwalsh.
The test was supposed to pass custom values to waitFor (for
the number of tries and the interval), but what we end up
using in the webconsole is the waitFor function from the
debugger helper, which is loaded via loadSubScript.
Since the debugger waitFor doesn't allow to pass custom
maxTries nor interval, we are not waiting long enough
for all the messages to be displayed on slow machines.
The quickfix here is to allow debugger waitFor to have
custom maxTries and interval.
A better fix would be to actually not load the waitFor
from the debugger, for example by avoiding loadSubScript
and using modules instead.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 13:19:48 +00:00
sotaro
bdf4e9bb80 Bug 1570592 - Remove AsyncImagePipelineManager::GetNextExternalImageId() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D40168

--HG--
extra : moz-landing-system : lando
2019-08-05 11:51:57 +00:00
sotaro
b45b5a1f21 Bug 1571331 - Call ScheduleForcedGenerateFrame() in WebRenderBridgeParent::RecvScheduleComposite() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D40580

--HG--
extra : moz-landing-system : lando
2019-08-05 12:21:31 +00:00
ffxbld
cd2060cc21 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D40604

--HG--
extra : moz-landing-system : lando
2019-08-05 12:54:32 +00:00
Julian Descottes
84eb11c4cf Bug 1570897 - Add test to check that about:devtools-toolbox is focused after reload r=ochameau
Depends on D40232

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:47:25 +00:00
Johann Hofmann
5632d25ece Bug 1569467 - Avoid setting the "hidden" attribute on protections popup switch labels. r=nhnt11
We were hiding these labels by setting the "hidden" attribute by default and then, in CSS,
negating the effect of "hidden" by using `display: unset;`. Turns out this isn't a great
idea because doing this won't remove the "hidden" attribute, which some code relies on
to figure out whether the element is hidden. Like in this case PanelMultiview:
https://searchfox.org/mozilla-central/rev/0ffa9e372df56c95547fed9c3433ddec4fbf6f11/browser/components/customizableui/PanelMultiView.jsm#1402

Here it tries to find elements to process as part of descriptionHeightWorkaround,
and that skips this technically visible element because it still has the hidden attribute.

Luckily that's easy to fix.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:32:45 +00:00
Andreas Tolfsen
37c8f955e6 bug 1570378: remote: add bc test helper setup() for empty documents r=remote-protocol-reviewers,jdescottes
For many browser-chrome (bc) tests is does not matter what the
document is, as long as it is does not cause state to bleed over
from the previous test.

For these cases this patch introduces a shorthand, setup(), which
calls setupForURL(url) with an empty document generated by toDataURL("").

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:43:58 +00:00
Andreas Tolfsen
53d0ddbba2 bug 1570378: remote: avoid URI terminology r=remote-protocol-reviewers,jdescottes
Per the URL standard, we should avoid talking about URIs (and indeed
URI, URN, et al.) since the term only serves to mislead.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:43:51 +00:00
Nicolas Chevobbe
e63b4ee826 Bug 1570320 - Rename hudservice into browser-console-manager. r=ochameau.
The file only manages the browser console, so we're
making its name reflect what it does.

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

--HG--
rename : devtools/client/webconsole/hudservice.js => devtools/client/webconsole/browser-console-manager.js
extra : moz-landing-system : lando
2019-08-05 11:40:58 +00:00
Cosmin Sabou
65c951c952 Bug 1567819 - Disable damp on windows 7 shippable due to frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40577

--HG--
extra : moz-landing-system : lando
2019-08-05 09:39:38 +00:00
Brindusan Cristian
d90b71c656 Backed out changeset 2d2938a3bee6 (bug 1533846) for bc failures at browser_asrouter_toolbarbadge.js. CLOSED TREE 2019-08-05 14:40:08 +03:00
Andrea Marchesini
01a1f139a1 Bug 1570971 - Enable all the annotation URL-Classifier features and remove their prefs, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40420

--HG--
extra : moz-landing-system : lando
2019-08-05 11:34:24 +00:00
Alexandre Poirot
8f0375b40d Bug 1569690 - Use target instead of thread as greatest common divisor. r=loganfsmyth,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39720

--HG--
extra : moz-landing-system : lando
2019-08-05 10:53:52 +00:00
Alexandre Poirot
c2d74f2aac Bug 1570692 - Do not restore focus for about:debugging toolboxes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40232

--HG--
extra : moz-landing-system : lando
2019-08-05 10:36:36 +00:00
Narcis Beleuzu
33918de9e6 Backed out 2 changesets (bug 1570378) for ESlint failure on browser_page_javascriptDialog_ . CLOSED TREE
Backed out changeset 412894c27fa2 (bug 1570378)
Backed out changeset adb3dec1090b (bug 1570378)
2019-08-05 13:42:46 +03:00
Narcis Beleuzu
d4ac89ee81 Backed out changeset 836310e3d3ee (bug 1570751) for bc failrues on browser_ext_popup_select.js . CLOSED TREE 2019-08-05 13:41:00 +03:00
Xidorn Quan
c03de203a9 Bug 1541573 - Round coordinate passed to pointerMove. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40541

--HG--
extra : moz-landing-system : lando
2019-08-05 10:11:53 +00:00
Andreas Tolfsen
e27f8cd92f bug 1570378: remote: add bc test helper setup() for empty documents r=remote-protocol-reviewers,jdescottes
For many browser-chrome (bc) tests is does not matter what the
document is, as long as it is does not cause state to bleed over
from the previous test.

For these cases this patch introduces a shorthand, setup(), which
calls setupForURL(url) with an empty document generated by toDataURL("").

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

--HG--
extra : moz-landing-system : lando
2019-08-02 16:29:35 +00:00
Andreas Tolfsen
c0923e6186 bug 1570378: remote: avoid URI terminology r=remote-protocol-reviewers,jdescottes
Per the URL standard, we should avoid talking about URIs (and indeed
URI, URN, et al.) since the term only serves to mislead.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 16:28:42 +00:00
Andreas Tolfsen
ebaff7b547 bug 1563533: remote: update bc tests to use document inlining; r=remote-protocol-reviewers,jdescottes
Some local adaptions have been made, but this is mostly functionally
equivalent.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 12:52:21 +00:00
Andreas Tolfsen
c4d142e772 bug 1563533: remote: add toDataURL document inlining helper; r=remote-protocol-reviewers,jdescottes
Introduces helper function, toDataURL(), that takes a document
extract and produces a data URL with the necessary properties for
Gecko to recognise it as an HTML document with the correct media type.

This has the benefit that HTML fragments and tags such as < and > are
encoded correctly, which is an obvious safety-win, and subsequently
that documents can be created on-the-fly with minimal code.

It will be possible to extend this function for other document types,
such as XHTML, XML, and even binary formats, as needed in the future.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 16:26:01 +00:00
Tim Huang
5b9298bf28 Bug 1570248 - Change the color of the separator after the shield icon. r=johannh
The patch changes the color of the separator after the shield to use
variable '--urlbar-separator-color' instead of the variable
'--lwt-background-tab-separator-color'. And it removes the opacity.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 09:38:13 +00:00
Brindusan Cristian
c00617be71 Backed out 2 changesets (bug 1567434) for build bustages at nsWindow.cpp:3587:53. CLOSED TREE
Backed out changeset 10925a6df9b3 (bug 1567434)
Backed out changeset 1cd94e91245c (bug 1567434)
2019-08-05 12:23:04 +03:00
Andrei Oprea
2255219c63 Bug 1533846 - Clear WeakMap entries for Messaging System notifications r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D40432

--HG--
extra : moz-landing-system : lando
2019-08-05 08:50:22 +00:00
Martin Stransky
577c3ffca3 Bug 1567434 - [Wayland] Use dynamic popup hierarchy for tooltips/context menu only, r=jhorak
If the popup is a regular menu but GetParentMenuWidget() returns
nullptr, it's connected non-menu parent (bookmark toolbar for instance).

In this case use a parent given at nsWindow::Create() and don't attach it
to latest active popup as it has a real parent.

Depends on D39347

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

--HG--
extra : moz-landing-system : lando
2019-08-05 08:40:16 +00:00
Martin Stransky
99f4b257a1 Bug 1567434 - [Wayland] Don't use gtk_window_get_transient_for() to get parent toplevel window, r=jhorak
- gtk_window_get_transient_for() fails to return correct toplevel window as the toplevel window changes
when popup is moved in popup hierarchy. So store the toplevel given at nsWindow::Create() and
use it instead.

- Remove some redundat NS_WARNING() from wayland code
- Attach "moved-to-rect" signal handler to GdkWindow only once a update
  NativeMoveResizeWaylandPopupCallback() loging.
- Add more logging to Wayland popup related code.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 08:39:53 +00:00
David Teller
21161933e5 Bug 1568138 - Reverse order of Huffman keys;r=arai
In Context 0.1, Huffman keys are represented with a bit order that is the reverse of the bitstream. This
patch ensures that Huffman tables reverse the bit order of their keys upon initialization, so as to allow
fast comparison later in the code.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 14:38:56 +00:00
james
8aec1c40bf Bug 1549609 Remove browser.security.newcerterrorpage.mitm.enabled pref r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40478

--HG--
extra : moz-landing-system : lando
2019-08-05 07:13:26 +00:00
Johann Hofmann
d9aad9e6f2 Bug 1570751 - Avoid identity block flickering. r=Ehsan
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 07:08:58 +00:00
Paul Bone
e62c920f7f Bug 1568740 - (part 8) Add a test r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39993

--HG--
extra : moz-landing-system : lando
2019-08-05 07:02:32 +00:00
Paul Bone
0d29e7a21b Bug 1568740 - (part 7) Factor out a common assertion r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39473

--HG--
extra : moz-landing-system : lando
2019-07-31 04:09:00 +00:00
Paul Bone
283ec79122 Bug 1568740 - (part 6) Remove Nursery::chunkCountLimit() r=jonco
This method & the chunkCountLimit_ variable are unnecessary. The maximum
permitted nursery size is tracked in the GCSchedulingTunables class.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 06:49:43 +00:00
Paul Bone
12058087d6 Bug 1568740 - (part 5) Rename a variable r=jonco
The new variable, 'newMinNurseryBytes' is more in-line with the other
'newMaxNurseryBytes'.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 04:07:32 +00:00
Paul Bone
0d1158699a Bug 1568740 - (part 4) Use Nursery::roundSize() whenever setting the nursery size r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39283

--HG--
extra : moz-landing-system : lando
2019-08-05 06:48:33 +00:00
Paul Bone
53886c3d77 Bug 1568740 - (part 3) Nursery::roundSize should be a static member r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39282

--HG--
extra : moz-landing-system : lando
2019-07-31 04:07:04 +00:00
Paul Bone
2b9b4bfe01 Bug 1568740 - (part 2) Calculate the nursery's maximum size in bytes r=jonco
We used to calculate the nursery's maximum size in chunks, and track the
maximum number of chunks permitted. This could lead to some unexpected
behaviour with a larger nursery than requested. Calculating it in bytes is
simpler, avoids this problem, and is more in-line with other calculations.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 04:06:52 +00:00
Paul Bone
1c09017eaf Bug 1568740 - (part 1) Remove Nursery::exists r=nbp
Nursery::exists() behaved exactly the same as Nursery::isEnabled() so use
the latter.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 04:06:45 +00:00
Henri Sivonen
3623f75636 Bug 1562033. r=alchen
Differential Revision: https://phabricator.services.mozilla.com/D36361

--HG--
extra : moz-landing-system : lando
2019-07-08 07:33:59 +00:00
Paul Bone
f04afcd7ec Bug 1388701 - Remove the special nursery size of 0 r=jonco
Rather than make re-enabling the nursery work correctly (because there's
various ways to disable it and we'd need to make sure we're enabling it for
the right reason).  It's simplier just to not disable it for a
gcMaxNurseryBytes of 0, and instead return an error.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 06:37:55 +00:00
Paul Bone
172a9b8cb0 Bug 1570216 - Use minorgc() rather than gc() r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D40008

--HG--
extra : moz-landing-system : lando
2019-07-31 10:28:23 +00:00
Nicholas Nethercote
98864cc3ec Bug 1570212 - Convert media.video_stats.enabled to a static pref. r=jya
Also remove HTMLVideoElement::InitStatics(), which is no longer needed.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 12:35:01 +00:00
Nicholas Nethercote
581ca41a65 Bug 1570212 - Convert media.cloneElementVisually.testing to a static pref. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D40339

--HG--
extra : moz-landing-system : lando
2019-08-02 12:34:11 +00:00
Nicholas Nethercote
fcb4a59f7d Bug 1570212 - Convert layout.reflow.synthMouseMove to a static pref. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D40338

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:06 +00:00
Makoto Kato
79bf4210ee Bug 1565919 - Don't separate words by contextual-based character. r=Ehsan
Original regression was by bug 1362858, and bug 1418629 wasn't enough to fix.

By bug 1362858, we use `CHAR_CLASS_SEPARATOR` in additional to DOM word separator. But some characters such as single quote, `@` and etc are `CHAR_CLASS_SEPARATOR`, so we may check spell by incomplete word.

We shouldn't separate word by characters that is email part, URL part or conditional punctuation.

And I also update test cases for this situation. `<textarea>` is better for spell checking since it can has multiple anonymous text nodes.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 13:44:56 +00:00
Cosmin Sabou
6cfed116f3 Bug 1564229 - Disable sandbox-policies-in-allow-attribute.html for frequent failures. a=test-only 2019-08-05 03:03:03 +03:00
Nicholas Nethercote
28a0265183 Bug 1569864 - Enable PHC on Win64 Nightly builds. r=glandium
Depends on D39841

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

--HG--
extra : moz-landing-system : lando
2019-08-03 00:20:09 +00:00
sotaro
6abb9c3532 Bug 1570593 - Do not use ResourceCache::is_image_active() with multiple documents r=gw
Differential Revision: https://phabricator.services.mozilla.com/D40169

--HG--
extra : moz-landing-system : lando
2019-08-04 21:40:13 +00:00
Nicholas Nethercote
a3cf276f46 Bug 1570562 - Remove unnecessary checking in InitInitialObjects(). r=jya
Differential Revision: https://phabricator.services.mozilla.com/D40151

--HG--
extra : moz-landing-system : lando
2019-08-04 23:04:09 +00:00
Nicholas Nethercote
83f0e39a49 Bug 1570212 - Convert browser.tabs.remote.force-paint to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40162

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:06 +00:00