Commit Graph

672505 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
81918ac172 Bug 1582946 - Skip whole test cases in browser_deck_has_out_of_process_iframe.js if fission.autostart pref is locked. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D47031

--HG--
extra : moz-landing-system : lando
2019-09-25 21:17:51 +00:00
David Walsh
ab6c85987d Bug 1583924 - Make pseudo-class disc brighter in Inspector r=gl
Differential Revision: https://phabricator.services.mozilla.com/D47128

--HG--
extra : moz-landing-system : lando
2019-09-25 18:35:46 +00:00
Nick Alexander
3bf9f51b30 Bug 1575014 - Fix ./mach try --gecko-profile .... r=tomprince,ahal
An error crept in, resulting in:
```
[task ...] InterpreterError: InterpreterError: infix: [..] expects integer [..] integer
```

At some point, `suite` became a string name and not an object with a
string `name` member.  However, in the interim, the diversity of
`command` structures has made the template approach untenable.
Therefore, this commit converts `GeckoProfile` to a `TryConfig`.  The
existing test clearly wasn't helpful, and it doesn't really map to a
`TryConfig` test, so it was removed.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:18:17 +00:00
Oana Pop Rus
4b9792db7c Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Harry Twyford
a609266a08 Bug 1578436 - Handle enter keypresses and mouse clicks on tip buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46067

--HG--
rename : browser/components/urlbar/tests/browser/browser_tip_keyboard_selection.js => browser/components/urlbar/tests/browser/browser_tip_selection.js
extra : moz-landing-system : lando
2019-09-25 17:37:09 +00:00
Andreea Pavel
6b992d1869 Backed out changeset 76d03f0c306d (bug 1578750) to restore old bug annotations 2019-09-26 00:06:28 +03:00
Haik Aftandilian
445acf98e9 Bug 1565738 - Re-enable disabled WebRTC tests on macOS Mojave r=jib
Re-enable skipped webRTC tests on Mac which were disabled due to the macOS 10.14 permission prompts causing timeouts.

Don't trigger OS camera and microphone permission prompts for fake devices (used for tests).

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:43:46 +00:00
Andrew Halberstadt
fdc7d0afac Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00
James Graham
f6819f7712 Bug 1583603 - Set formatter defaults correctly for mozlog, r=maja_zf
Gecko was trying to pass formatter options in by default, which
doesn't work if the user overrides the formatter. Instead pass in the
default options explicitly using the designed mechanism, which
previously wasn't exposed in wpt.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:37:38 +00:00
Boris Zbarsky
7ccdf0a53c Bug 1574201. Remove support for IDL "implements" statements. r=edgar
A bunch of loop-detection, etc, complexity goes away because mixins are not
interfaces and the mixin syntax does not allow various things we had to guard
against in terms of maplikes and whatnot.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:59:00 +00:00
Emilio Cobos Álvarez
161cb16ca8 Bug 1551659 - Remove MVMContext::ResizeEventFlag and related code. r=botond,hiro
D46944 / bug 1583534 is what fixes the root cause of bug 1528052 by not
having the first call to ResizeReflow have a wrong old size of 0x0.

This removes the code that bug introduces to suppress resize events, which
fixes this bug. I think our behavior now is pretty sane.

In particular, consider the test-case:

<!doctype html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<a href="" target="_blank">Open me in a separate tab</a>
<pre id="log"></pre>
<script>
  // This shouldn't be needed, but otherwise Fenix doesn't show the tooltip on
  // longpress...
  document.querySelector("a").href = location.href;

  function logSize() {
    log.innerText += window.innerWidth + "x" + window.innerHeight + "\n";
  }
  logSize();
  onresize = logSize;
</script>

(Hosted at https://crisal.io/tmp/gecko-mobile-resize.html for convenience)

Right now on trunk, when you click the link from GVE or Fenix, we're only
getting an initial size of 0x0 (which is not great, btw), and only after first
paint we get the real device size, but content doesn't get a resize event.

This is obviously wrong, every time the layout viewport changes we should fire
resize events.

Pages that get opened in new tabs and get refreshed when resized may get an
extra reload with this approach, but this seems not avoidable unless widget sets
the viewport size right in advance (which from discussion with snorp and agi
doesn't seem possible in the general case).

What used to happen is that we were triggering a redundant resize reflow from
the initial paint which didn't update the layout viewport (because the content
viewer and co had the right viewport from the previous navigation).

Now that we optimize those away, I think our behavior should be correct.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:35:29 +00:00
Thomas Nguyen
d8374938eb Bug 1578750 - Mark correct expected result idlharness tests on different builds r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D46754

--HG--
extra : moz-landing-system : lando
2019-09-25 19:49:42 +00:00
Henrik Skupin
f0dd0f477a Bug 1580689 - [geckodriver] Build linux32 geckodriver binaries via toolchain build task. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47109

--HG--
extra : moz-landing-system : lando
2019-09-25 20:01:16 +00:00
Carolina
ec06983b79 Bug 1580455 - Uses normalizeToKebabCase in adjustCertInformation for the result labels.r=johannh,fluent-reviewers,flod
Depends on D46101

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:10:35 +00:00
Junior Hsu
4f580f8027 Bug 1583929 - remove unused skipResume in FTPChannelParent r=valentin
mSuspendedForDiversion is for the same purpose.
All function involved happened in the same thread.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:00:40 +00:00
Emilio Cobos Álvarez
848d89d65f Bug 1583534 - Further simplify PresShell::ResizeReflow. r=botond
In particular, not let ResizeReflow take the old and new size. Most of the
callers pass dummy values anyway.

Instead, use the old size of the layout viewport. This ensures we fire resize
events only if the layout viewport actually changes.

This is important because the first resize of the mobile viewport manager
after a navigation has an "old size" of 0x0, even though the layout viewport
is initialized on presshell initialization to the right size.

Thus, we fire resize events unnecessarily in that case, which is the root cause
for bug 1528052.

To do this, we need to shuffle a bit of code in nsDocumentViewer that deals with
delayed resizes, to set the visible area _and_ invalidate layout, rather than
setting the visible area and _then_ relying on doing a resize reflow.

Further cleanup is possible, though not required for my android resizing fix, so
will do separately.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:12:44 +00:00
Ryan VanderMeulen
b12c4363fb Bug 1577799 - Update OTS to 8.0.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44703

--HG--
rename : gfx/ots/src/cff_type2_charstring.cc => gfx/ots/src/cff_charstring.cc
rename : gfx/ots/src/cff_type2_charstring.h => gfx/ots/src/cff_charstring.h
rename : gfx/ots/tests/cff_type2_charstring_test.cc => gfx/ots/tests/cff_charstring_test.cc
extra : moz-landing-system : lando
2019-09-13 09:47:50 +00:00
Oana Pop Rus
71241555f6 Backed out changeset 6e13bb195ad1 (bug 1582802) for GTest failures on CLOSED TREE
--HG--
extra : amend_source : 9ee818042a5fe59d0b40e1e6f2c759f14d711664
2019-09-25 22:59:45 +03:00
James Graham
18b6b7a5db Bug 1583602 - Use a real colour for printing intermittent failures, r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D46999

--HG--
extra : moz-landing-system : lando
2019-09-25 18:57:47 +00:00
Julian Descottes
f1e794d6c5 Bug 1539462 - Remove the DevTools connect page r=ladybenko
Depends on D46704

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:50:24 +00:00
Julian Descottes
063e2dfc2f Bug 1539462 - Remove ZipUtils.jsm r=mossop
Depends on D46703. Was only used in WebIDE anymore.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:50:29 +00:00
Julian Descottes
5c1a679523 Bug 1539462 - Remove WebIDE r=ochameau,jryans,janerik,fluent-reviewers,flod
Per deprecation roadmap on https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#WebIDE_and_Connect_page

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:24:58 +00:00
Brian Grinstead
3055031260 Bug 1582786 - Append the devtools theme stylesheet sheet after global.css in document.head if it exists instead of using an XML ProcessingInstruction r=nchevobbe
Otherwise, what happens in documents like the webconsole is the theme file gets loaded before
global.css, which isn't the intended behavior and makes overriding the styles from global.css
more difficult. As an example, some buttons in the webconsole became stretched after Bug 1581914
changed some default styling in global.css. This patch restores the correct behavior by loading
the theme afer global.css.

global.css is currently loaded in devtools in docs that explicitly use XUL elements (such as storage inspector
and style editor), and in docs that need to be supported as top level windows (webconsole, toolbox, and
browser toolbox). Unless if we change how things like panels and context menus are styled, the latter
group will continue to need to load global.css even as XUL/XBL usage goes away (since they are styled
with global.css).

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:16:28 +00:00
Yura Zenevich
710d2ef14f Bug 1503084 - add additional event logging to e10s name tests. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D46972

--HG--
extra : moz-landing-system : lando
2019-09-25 18:24:59 +00:00
Geoff Brown
1364c26df3 Bug 1576480 - Skip test_setting_document.domain_idn.html on fission for frequent failures; r=kmag
Skip test on fission to avoid frequent intermittent failures. Although already
marked as failing, the way this test fails still causes task failures unless
the test is skipped.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:17:22 +00:00
Jamie Nicol
e4f61c40d0 Bug 1580129 - Add COMPOSITE_TIME metric for geckoview_streaming telemetry. r=Dexter,chutten
Differential Revision: https://phabricator.services.mozilla.com/D46920

--HG--
extra : moz-landing-system : lando
2019-09-24 22:13:49 +00:00
Tim Nguyen
b0d1ddb586 Bug 1581956 - Make search-textbox not use the <textbox> tag. r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D46219

--HG--
extra : moz-landing-system : lando
2019-09-25 19:12:48 +00:00
Oana Pop Rus
5310616a46 Backed out changeset 1cfaf7b5175f (bug 1583878) for mochitest failures in dom/canvas/test/webgl-mochitest/ensure-exts/test_common.html on a CLOSED TREE 2019-09-25 22:05:34 +03:00
Agi Sferro
5272281305 Bug 1580129 - Handle external metrics in TelemetryTest. r=snorp
Right now testOnTelemetryReceived assumes that only the test histograms will
fire during the test. This works because only the test histograms are enabled
for streaming telemetry and will break as soon as some other histogram is
enabled.

Instead of relying on this fact we just wait for the test histogram to fire and
ignore all the other unrelated ones.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:27:50 +00:00
alwu
10f0ef71d8 Bug 1582802 - enable new audio focus management on Android Nightly. r=sebastian
In bug 1565689, we have implemented new an audio focus management, which allows us to address audio competition even if those audio happens on different processes.

We can try to enable this new mechanism on Android Nightly first, where we have enabled managing audio competition by default.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:29:58 +00:00
Cosmin Sabou
0ded9a8ed4 Bug 1582948 - Disable test_storageSessionStorageEventCheckNoPropagation.html on fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47059

--HG--
extra : moz-landing-system : lando
2019-09-25 18:09:45 +00:00
Emilio Cobos Álvarez
54ad406f39 Bug 1581117 - Properly invalidate theme data from the media query change in LightweightThemeConsumer.jsm. r=kmag,dao
Just this._update() is not enough to update everything that changing the theme
implies. Instead, use the observer mechanism so all the pieces of code involved
update properly.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:33:12 +00:00
Shane Caraveo
f29cafa5d4 Bug 1580274 remove unused ip value from proxy schema r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D47121

--HG--
extra : moz-landing-system : lando
2019-09-25 18:01:33 +00:00
Andreea Pavel
3d9088e654 Bug 1581004 - disabled test_mozfiledataurl.html on fission r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46261

--HG--
extra : moz-landing-system : lando
2019-09-25 17:55:33 +00:00
Sebastian Hengst
292575a4d3 Backed out changeset 029511f2fefc (bug 1560808) for failing browser-chrome's browser_policies_notice_in_aboutpreferences.js and browser_policies_mistyped_json.js. CLOSED TREE 2019-09-25 20:10:38 +02:00
Kris Maglione
633ebf782d Bug 1582520: Part 5 - Test that named subframe properties are accessible in cross-origin-objects.html. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D46867

--HG--
extra : moz-landing-system : lando
2019-09-25 17:50:06 +00:00
Kris Maglione
7edcb6f3a3 Bug 1582520: Part 4 - Update cross-origin-objects web platform tests for cross-origin this objects. r=bzbarsky
Same origin native functions called with a compatible cross-origin `this`
object are meant to apply the same security checks as if a property getter for
the method had been called on the `this` object directly. Firefox has some
tests for this behavior, but the web platform test suite does not.

This patch adds comprehensive tests for all getters/setters/methods on Window
and Location objects for both the allowed and forbidden cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:54 +00:00
Kris Maglione
036cfced10 Bug 1582520: Part 3 - Fix RemoteObjectProxy immutable prototype implementation. r=bzbarsky
Cross-origin objects are supposed to have null prototypes, and throw when
attempting to set the prototype to any value other than null. Ordinary
cross-origin objects handle this correctly. RemoteObjectProxy has hooks which
are meant to give them the same behavior, but which are never actually
triggered, because the proxy objects are missing the required lazy prototype
flags.

Simply using the built-in prototype slot and setting it to immutable triggers
the desired behavior with much less implementation overhead.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:58 +00:00
Kris Maglione
d87cc493eb Bug 1582520: Part 2 - Fix RemoteObjectProxy hasOwnProperty hook behavior. r=bzbarsky
Object.hasOwnProperty called on a cross-origin object needs to return true for
any property returned by its property enumerator or get hook, and throw a
security error for anything else. Ordinary cross-origin objects currently
behave correctly, but RemoteObjectProxy objects return false for indexed
frame getters, and never throw security exceptions for inaccessible
properties.

This patch fixes both of those issues by removing the `hasOwn` hook and
falling back to the BaseProxyHandler implementation, which defers to the
`getOwnPropertyDescriptor` hook. This is slightly more expensive, since it
requires reifying property descriptors for every check, but it should be a
relatively uncommon operation on cross-origin objects, and should not be
particularly expensive for any properties of a RemoteObjectProxy.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:57 +00:00
Kris Maglione
2d72197609 Bug 1582520: Part 1 - Treat remote object proxies as opaque wrappers when unwrapping. r=peterv
We support calling WebIDL prototype methods on cross-compartment objects as
long as they're same-type and same-origin. Any attempt to call them on
cross-origin wrappers with security policies leads to a security error.

Remote object proxies look and behave like cross-origin objects, but are not
technically wrappers. This means that for non-cross-origin-accessible
method/getter calls, we just treat them as same-origin objects which do not
implement the correct interface. Aside from being confusing, this makes it
easy for web content to distinguish between remote and in-process objects with
the same interface, which they generally should not be able to do.

Treating remote object proxies as if they were opaque wrappers solves these
problems.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:48 +00:00
Aaron Klotz
ff13f9f2cc Bug 1583581: Make promise-based async senders generated by IPDL use std::move to pass its arguments to the callback-based sender; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46968

--HG--
extra : moz-landing-system : lando
2019-09-25 17:14:49 +00:00
Shane Caraveo
9bbc3b357a Bug 1443259 remove deprecated proxy APIs r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D46886

--HG--
rename : toolkit/components/extensions/ProxyScriptContext.jsm => toolkit/components/extensions/ProxyChannelFilter.jsm
rename : toolkit/components/extensions/test/xpcshell/test_proxy_scripts_results.js => toolkit/components/extensions/test/xpcshell/test_proxy_info_results.js
extra : moz-landing-system : lando
2019-09-25 10:32:33 +00:00
Thomas Wisniewski
3dafbad575 Bug 1583225 - Import WebCompat GoFaster 6.1.0 sources; r=miketaylr
Import WebCompat GoFaster 6.1.0 sources

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

--HG--
extra : moz-landing-system : lando
2019-09-24 13:08:42 +00:00
David Walsh
853a3f73c7 Bug 1580728 - Wire up backend of blocked URLs r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46671

--HG--
extra : moz-landing-system : lando
2019-09-25 16:23:38 +00:00
Daniel Varga
3e03bfc507 Backed out changeset f04641fbd147 (bug 1355389) for linting at /builds/worker/checkouts/gecko/mobile/android/components/FilePicker.js. On a CLOSED TREE
--HG--
extra : amend_source : 397f26bd1b1f0d1c331c22cf1d36ca60bfac9049
2019-09-25 19:29:08 +03:00
Jeff Gilbert
b420a037f3 Bug 1583878 - Expose WebGL OVR_multiview2. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D47104

--HG--
extra : moz-landing-system : lando
2019-09-25 16:00:37 +00:00
Brian Grinstead
b7788d49ec Bug 1581914 - Set default margins for html|input in global.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46531

--HG--
extra : moz-landing-system : lando
2019-09-25 16:20:19 +00:00
Peter
0b6ffc48f6 Bug 1355389 - Filepicker can now handle multiple files r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D46790

--HG--
extra : moz-landing-system : lando
2019-09-25 13:56:51 +00:00
Andrei Lazar
be3c96389f Bug 1572806 - Added profile_date parameter to Telemetry Activation Ping r=VladBaicu
Profile creation date (profile_date) is now embedded in Telemetry Activation Ping.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 15:24:34 +00:00
Michael Kaply
b57387dc4b Bug 1560808 - Don't activate policy engine if there are no policies. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D46973

--HG--
extra : moz-landing-system : lando
2019-09-25 16:06:12 +00:00