Commit Graph

703692 Commits

Author SHA1 Message Date
Timothy Nikkel
0eb02fa8dd Bug 1633121. Add crashtest for bug 1262549 and bug 1277397.
Differential Revision: https://phabricator.services.mozilla.com/D72524
2020-04-25 09:10:25 +00:00
Stefan Hindli
35cc4ea7d9 Bug 1578008 - Disabled browser_window_sizing.js on linux x64 and macos r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72520
2020-04-25 08:46:41 +00:00
Razvan Maries
b03c3ae11a Bug 1551615 - Disabled clearkey-mp4-playback-temporary-multikey-sequential-readyState.https.html and clearkey-mp4-update-disallowed-input.https.html on Linux. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72515
2020-04-25 08:50:18 +00:00
Andreea Pavel
950ecc7ea1 Bug 1626493 - update mac expectancy for mix-of-ids.https.html r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72073
2020-04-25 06:25:46 +00:00
Andreea Pavel
213a6f092a Bug 1629700 - Update expectancy for manifest-utf8-with-bom.https.html on mac r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72074
2020-04-25 06:16:04 +00:00
Matthew Noorenberghe
9c2d00ba62 Bug 1631879 - Workaround IsOS/OS_DOMAINMEMBER missing from mingw headers.
Differential Revision: https://phabricator.services.mozilla.com/D72510
2020-04-25 05:16:13 +00:00
Eitan Isaacson
57097f3b0c Bug 1632958 - Add await for addVisits async function call. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D72492
2020-04-25 05:21:41 +00:00
Jared Wein
39844dcb4e Bug 1631879 - Update the name of the osKeyStore log preference now that it has moved to toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D72427
2020-04-25 02:52:05 +00:00
Jared Wein
071bc1727c Bug 1631879 - Remove the domain portion of the username when testing for a blank password. r=MattN,cmartin
Differential Revision: https://phabricator.services.mozilla.com/D72425
2020-04-25 02:52:05 +00:00
Asumu Takikawa
6ba5ba6165 Bug 1608771 - Part 3, BigInt<>I64 conversion for inlined calls r=lth,wingo
This is part 3 of implementing the Wasm BigInt<>I64 conversion proposal for inlined Ion to Wasm calls.

This part adds changes needed in code generation and Wasm stubs for supporting the I64 arguments for
inlined Ion to Wasm calls.

Differential Revision: https://phabricator.services.mozilla.com/D65236
2020-04-24 23:35:10 +00:00
Andreea Pavel
6bebdc0ae6 Bug 1559033 - disable browser_computed_getNodeInfo.js on mac shippable opt r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72071
2020-04-25 05:43:37 +00:00
Matthew Noorenberghe
8fbf3e72dc Bug 1633102 - Fix linting from moving mozscreenshots b-c tests. a=bustage
Differential Revision: https://phabricator.services.mozilla.com/D72518
2020-04-25 08:27:06 +00:00
Matthew Noorenberghe
5925502703 Bug 1633102 - Fix PermissionPrompts.addonsNoWhitelist and trackingProtection* screenshots. a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D72517
2020-04-25 08:09:13 +00:00
Matthew Noorenberghe
ffdfae842d Bug 1633102 - Move mozscreenshots m-bc tests to their own subdirectory. a=test-only
Make them easier to run alone without running all the capture subdirectories.

Depends on D72513

Differential Revision: https://phabricator.services.mozilla.com/D72516
2020-04-25 08:04:43 +00:00
Matthew Noorenberghe
f9cba69137 Bug 1633102 - Change mozscreenshots croppingPadding to 0 to fix intermittents from other apps. a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D72513
2020-04-25 08:04:15 +00:00
Matthew Noorenberghe
ba7a42007c Bug 1633102 - Use disableNonTestMouseEvents to prevent false mouse hover or tooltips from affecting mozscreenshots a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D72512
2020-04-25 08:03:56 +00:00
Jared Wein
37fdb67321 Bug 1631879 - Remove unused 'save' variable. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D72424
2020-04-24 19:36:27 +00:00
Jared Wein
528ff5f8d2 Bug 1631879 - Only check for blank passwords if the OS is not on a domain. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D72423
2020-04-24 19:57:42 +00:00
Jared Wein
30a2acc855 Bug 1631879 - Use GetUserNameEx with NameSamCompatible to make sure that we are retrieving fully qualified usernames. r=MattN,cmartin
Importing security.h introduced namespace collisions so I removed the `using namespace mozilla;` and replaced it with specific names.

Differential Revision: https://phabricator.services.mozilla.com/D72422
2020-04-24 20:04:34 +00:00
Gijs Kruitbosch
f9a84945c2 Bug 1632544 - reinstate startup and script cache invalidation for build ID and minor version changes, r=mossop a=Aryx
Differential Revision: https://phabricator.services.mozilla.com/D72371
2020-04-24 15:47:19 +00:00
Tom Prince
07fa71e0fe Bug 1632688: [mozversioncontrol] Don't try to add files if none are provided; r=ahal,rstewart a=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D72414
2020-04-24 12:18:26 -06:00
Cosmin Sabou
383e319d00 Merge autoland to mozilla-central. a=merge 2020-04-24 19:27:38 +03:00
Bogdan Tara
74f4fb4295 Backed out 2 changesets (bug 1632097) for browser_entry_point_telemetry.js failures CLOSED TREE
Backed out changeset a935561f64d9 (bug 1632097)
Backed out changeset 264bfa5a76dd (bug 1632097)
2020-04-24 15:44:07 +03:00
Simon Fraser
77f877dd5f Bug 1632531 Remove spurious override of make_incremental_update.sh r=mtabara a=aryx
Differential Revision: https://phabricator.services.mozilla.com/D72358
2020-04-24 11:37:56 +00:00
Simon Fraser
75aa0c6d1b Bug 1632531 Remove spurious override of make_incremental_update.sh r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D72358
2020-04-24 11:37:56 +00:00
Tim Nguyen
2817e3268d Bug 1632097 - Add blank lines to browser_pageinfo_svg_image.js to make it easier to read. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D72361
2020-04-24 11:26:23 +00:00
Tim Nguyen
1a64adcc02 Bug 1632097 - Clean up pageInfo.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D71928
2020-04-24 11:21:33 +00:00
Mathieu Leplatre
e95ee4d2f4 Bug 1620186 - Fetch from changeset endpoint r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D71570
2020-04-24 09:15:43 +00:00
Mathieu Leplatre
3c64c7a3b2 Bug 1620186 - Upgrade kinto-client to 5.1.1 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D71569
2020-04-24 09:15:25 +00:00
Nicolas Silva
505c116b8f Bug 1612440 - Discard the SpatialTree's frame state after scene swap. r=gw
The information comes with SetDisplayList messages but was applied before scene building instead of during scene swap, which breaks the transaction model and looks like a bug.

Differential Revision: https://phabricator.services.mozilla.com/D71934
2020-04-23 20:39:35 +00:00
Tim Nguyen
5a254f3623 Bug 1632092 - Rename all XUL namespace variables to XUL_NS. r=Gijs,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D71913
2020-04-24 09:23:52 +00:00
Tom Schuster
3e14ed2678 Bug 1631920 - Warp: Support LoadTypedArrayElement. r=jandem
This supports in-bounds "regular" optimized typed array access for int32.
And the OOB variant for non-int32.

Differential Revision: https://phabricator.services.mozilla.com/D72029
2020-04-24 09:27:51 +00:00
Bogdan Tara
bf26c739ee Backed out changeset 9e586758fa63 (bug 1625905) for browser_resources_error_messages.js failures CLOSED TREE 2020-04-24 12:55:17 +03:00
Mihai Tabara
505379c036 Bug 1628407 - Backed out changeset 91d0340d9856. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D72306
2020-04-24 09:02:41 +00:00
Timothy Nikkel
ae8f3fddd1 Bug 1632357. Add a pref to disable adding the WS_EX_LAYERED style to the compositor window. r=sotaro
On older machines it creates a blank window and we only need the pref to direct manipulation (which hasn't landed yet and will be preffed off by default when it lands).

Differential Revision: https://phabricator.services.mozilla.com/D72283
2020-04-24 08:58:16 +00:00
Nicolas Chevobbe
7c61100d6e Bug 1625905 - Use the ResourceWatcher API to fetch JS Errors. r=ochameau.
In this patch we add a new resource type for page errors.
We don't do anything specific for CSS Warnings yet, as they're going
to be handled as part of Bug 1625910.

A test is added (following devtools/shared/webconsole/test/chrome/test_page_errors.html
as an example).
A couple function that were used for the console-messages test
are moved into head.js as they're also used in the error-message test.

Differential Revision: https://phabricator.services.mozilla.com/D71955
2020-04-24 07:32:42 +00:00
Tom Schuster
aa51d86203 Bug 1632683 - Define @@toStringTag on miscellaneous objects. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D72247
2020-04-24 06:33:37 +00:00
Julien Cristau
b1c3df025a Bug 1623032 - upload flatpak in the "ship" phase, and push RCs to flathub beta. r=mtabara
Doing this in the ship phase instead of push lets us avoid shipping on
flathub before the actual release.

And, upload flatpaks for firefox release candidates to flathub's "beta"
channel so we can get feedback on them and QA can also get at them.

Differential Revision: https://phabricator.services.mozilla.com/D71919
2020-04-24 08:33:44 +00:00
Emilio Cobos Álvarez
e05d3b513e Bug 1612427 - Fix flaky browser_947914_button_zoomReset.js. r=Gijs
This is what I see when running the test:

console.log: Changing zoom for browser from 1 to 0.5
	set fullZoom@chrome://global/content/elements/browser-custom-element.js:812:19
	set fullZoom@chrome://browser/content/tabbrowser.js:526:7
	ZoomManager_setZoomForBrowser@chrome://global/content/viewZoomOverlay.js:60:7
	set zoom@chrome://global/content/viewZoomOverlay.js:49:10
	@chrome://mochitests/content/browser/browser/components/customizableui/test/browser_947914_button_zoomReset.js:26:5
	Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
	Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
	nextTest/<@chrome://mochikit/content/browser-test.js:904:14
	SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23

"FullZoomChange for browser"

PASS Zoom reset button exists in Panel Menu -

console.log: Changing zoom for browser from 0.5 to 1
	console.log: set fullZoom@chrome://global/content/elements/browser-custom-element.js:817:19
	ZoomManager_setZoomForBrowser@chrome://global/content/viewZoomOverlay.js:60:7
	FullZoom__applyPrefToZoom@chrome://browser/content/browser-fullZoom.js:479:19
	FullZoom_onLocationChange@chrome://browser/content/browser-fullZoom.js:247:14
	XWB_onUpdateCurrentBrowser@chrome://browser/content/browser.js:5419:16
	callListeners@chrome://browser/content/tabbrowser.js:820:31
	_callProgressListeners@chrome://browser/content/tabbrowser.js:834:22
	_callProgressListeners@chrome://browser/content/tabbrowser.js:5776:46
	onStateChange@chrome://browser/content/tabbrowser.js:6039:14
	_callProgressListeners@resource://gre/modules/RemoteWebProgress.jsm:75:31
	onStateChange@resource://gre/modules/RemoteWebProgress.jsm:88:10

Which is pretty broken (the zoom is reset way earlier than clicking the reset
button, by FullZoom.onLocationChange).

This seems to me was mostly passing by chance, but with my Fission changes
which made FullZoomChange events more async (and actually, not notify twice) it
started failing.

Wait to load a page before changing the zoom level so that the browser doesn't
reset it when navigating.

Differential Revision: https://phabricator.services.mozilla.com/D72208
2020-04-24 08:13:37 +00:00
Emilio Cobos Álvarez
b8fbb6ead5 Bug 1509418 - Collect ancestor hashes from single-length :is and :where selector lists. r=heycam,boris
We can only collect hashes from single-length selectors, as described in
the comment.

Differential Revision: https://phabricator.services.mozilla.com/D71458
2020-04-23 19:20:35 +00:00
Emilio Cobos Álvarez
f92b952261 Bug 1509418 - Handle disjoint selectors in the selector map. r=heycam,boris
This way, something like:

  *:where(.foo, .bar)

Will end up twice on the selector map, just as if you would've written
.foo, .bar.

But we're a bit careful to not be wasteful, so:

  .foo:where(div, span)

Will still end up using the .foo bucket.

It needs a bit of borrow-checker gymnastics to avoid cloning the entry
in the common path. It's a bit gross but not too terrible I think.

Differential Revision: https://phabricator.services.mozilla.com/D71457
2020-04-23 19:20:27 +00:00
Emilio Cobos Álvarez
844ccbee62 Bug 1509418 - Enable the feature in Nightly. r=heycam,boris
There are a bunch of missing tests, and there are some tests that don't
match the current spec text, that I need to write or fix before I enable the
feature everywhere.

But there are fairly complex invalidation tests, that we pass flawlessly :)

Differential Revision: https://phabricator.services.mozilla.com/D71424
2020-04-23 19:20:25 +00:00
Emilio Cobos Álvarez
7ff7bc8cc2 Bug 1509418 - Optimize invalidation by scanning the rightmost compound inside :where() and :is() with the outer visitor. r=heycam,boris
See the comment about why this is valuable. For a selector like:

    .foo:is(.bar) > .baz

Before this patch we'd generate an Dependency for .bar like this:

    Dependency {
        selector: .bar,
        offset: 0,
        parent: Some(Dependency {
            selector: .foo:is(.bar) > .baz,
            offset: 1, // Pointing to the `>` combinator.
            parent: None,
        }),
    }

After this patch we'd generate just:

    Dependency {
        selector: .foo:is(.bar) > .baz,
        offset: 1, // Pointing to the `>` combinator.
        parent: None,
    }

This is not only less memory but also less work. The reason for that is that,
before this patch, when .bar changes, we'd look the dependency, and see there's
a parent, and then scan that, so we'd match `.bar` two times, one for the
initial dependency, and one for .foo:is(.bar).

Instead, with this we'd only check `.foo:is(.bar)` once.

Differential Revision: https://phabricator.services.mozilla.com/D71423
2020-04-23 19:20:17 +00:00
Emilio Cobos Álvarez
2975274c6b Bug 1509418 - Make Invalidation work in terms of a dependency, not a selector. r=heycam,boris
That way we can look at the parent dependency as described in the previous
patch. An alternative would be to add a:

    parent_dependency: Option<&'a Dependency>

on construction to `Invalidation`, but this way seems slightly better to avoid
growing the struct. It's not even one more indirection because the selector is
contained directly in the Dependency struct.

Differential Revision: https://phabricator.services.mozilla.com/D71422
2020-04-23 19:20:10 +00:00
Emilio Cobos Álvarez
40a0b1a6d6 Bug 1509418 - Keep track of nested dependencies for :where() and :is(). r=heycam,boris
The tricky part of :is() and :where() is that they can have combinators inside,
so something like this is valid:

  foo:is(#bar > .baz) ~ taz

The current invalidation logic is based on the assumption that you can
represent a combinator as a (selector, offset) tuple, which are stored in the
Dependency struct. This assumption breaks with :is() and :where(), so we need
to make them be able to represent a combinator in an "inner" selector.

For this purpose, we add a `parent` dependency. With it, when invalidating
inside the `:is()` we can represent combinators inside as a stack.

The basic idea is that, for the example above, when an id of "bar" is added or
removed, we'd find a dependency like:

    Dependency {
        selector: #bar > .baz,
        offset: 1, // pointing to the `>` combinator
        parent: Some(Dependency {
            selector: foo:is(#bar > .baz) > taz,
            offset: 1, // Pointing to the `~` combinator.
            parent: None,
        })
    }

That way, we'd start matching at the element that changed, towards the right,
and if we find an element that matches .baz, instead of invalidating that
element, we'd look at the parent dependency, then double-check that the whole
left-hand-side of the selector (foo:is(#bar > .baz)) actually changed, and then
keep invalidating to the right using the parent dependency as usual.

This patch only builds the data structure and keeps the code compiling, the
actual invalidation work will come in a following patch.

Differential Revision: https://phabricator.services.mozilla.com/D71421
2020-04-23 19:20:03 +00:00
Mike Hommey
631e3b46ff Bug 1632727 - Remove use of deprecated Error::description. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D72285
2020-04-24 05:23:32 +00:00
Jean-Yves Avenard
e48b5b0393 Bug 1607984 - P14-2. Correct preference check. r=mattwoodrow
The test became invalid with the preference introduced in P17.

Differential Revision: https://phabricator.services.mozilla.com/D72288
2020-04-24 05:22:16 +00:00
Daisuke Akatsuka
3380bd0143 Bug 1604211: Add test of target-switching for inspectedWindow. r=rpl
Depends on D67438

Differential Revision: https://phabricator.services.mozilla.com/D67439
2020-04-24 04:37:05 +00:00
Daisuke Akatsuka
1c0e943acf Bug 1604211: Introduce target-switching mechanism for devtools inspectedWindow. r=rpl,ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66736
2020-04-24 04:35:51 +00:00
Cosmin Sabou
dacaa0fa0b Backed out 6 changesets (bug 1509418) for causing dt failures on several files. CLOSED TREE
Backed out changeset 0de514478e3c (bug 1509418)
Backed out changeset 859910d9fee2 (bug 1509418)
Backed out changeset 0abf5d38ab61 (bug 1509418)
Backed out changeset f572e241c626 (bug 1509418)
Backed out changeset 6398c8f1b4d4 (bug 1509418)
Backed out changeset ebef9346b5b1 (bug 1509418)
2020-04-24 08:38:05 +03:00