Commit Graph

710281 Commits

Author SHA1 Message Date
Tom Tung
858e3093fb Bug 1601594 - P4 - Changes on window-similar-but-cross-origin-success.https.sub.html; r=annevk
We have window-domain-failure.https.sub.html so we don't need this test.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70350
2020-05-18 11:44:27 +00:00
Tom Tung
3ed464473c Bug 1601594 - P3 - Changes on window-iframe-messagechannel.https.html; r=annevk
Changes for using messagechannel to share the SharedArrayBuffer.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70349
2020-05-18 09:51:38 +00:00
Tom Tung
9eebac82a6 Bug 1601594 - P2 - Changes on window-domain-success.https; r=annevk
This test was used to verify that postMessaging to a same-origin-domain (but
not same-origin) iframe allows them to see each others' modification.

However, we now only allow same-origin to postMessage SharedArrayBuffer. And,
that means same-origin-domain are not allowed to do that. Therefore, this test
is rewrited to verify that postMessage SharedArrayBuffer from a
same-origin-domain iframe would result the receiver (parent) to get a message
error event.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70348
2020-05-18 09:41:31 +00:00
Tom Tung
ed2823830e Bug 1601594 - P1 - Using Origin as the key for DocGroup; r=farre,nika
Differential Revision: https://phabricator.services.mozilla.com/D70347
2020-05-25 12:51:29 +00:00
Tom Tung
839aba3410 Bug 1601594 - Move CrossOriginIsolated from nsGlobalWindowInner to BrowsingContext; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75131
2020-05-25 12:51:53 +00:00
Dale Harvey
ab8d86b7da Bug 1627545 - Update FormAutoFill to new Region.jsm api. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D76949
2020-05-27 20:16:48 +00:00
Valentin Gosu
d51967f492 Bug 1640872 - Add more TRR logging r=necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D76826
2020-05-28 06:58:04 +00:00
Florin Strugariu
346e44142a Bug 1633874 - Update taskcluster settings to the new raptor file structure r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72946
2020-05-27 15:55:46 +00:00
Florin Strugariu
f4f4a10d68 Bug 1633413 - split raptor test manifest by testwebsite r=perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72666
2020-05-27 15:55:21 +00:00
Florin Strugariu
e64e00f164 Bug 1633394 - Add option to run cold tests from command line r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72665
2020-05-27 15:52:21 +00:00
Martin Stransky
bce2082606 Bug 1552128 [Linux] Allow to use frame extents in CSD mode when system titlebar is on, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D77207
2020-05-28 06:25:55 +00:00
Noemi Erli
3aba303ff4 Backed out changeset 8c662017aa7c (bug 1639347) for causing failures in browser_masterpassword.js 2020-05-28 09:38:25 +03:00
Csoregi Natalia
b4ad19225c Backed out 10 changesets (bug 1641090) for asan bustage on ProtocolFuzzer.h. CLOSED TREE
Backed out changeset 9c5e95745919 (bug 1641090)
Backed out changeset df8809d1542b (bug 1641090)
Backed out changeset 92cde6ee6ade (bug 1641090)
Backed out changeset 23d5d734d0bd (bug 1641090)
Backed out changeset 6af841322f4d (bug 1641090)
Backed out changeset 2ce016edb6fc (bug 1641090)
Backed out changeset a513d47956f9 (bug 1641090)
Backed out changeset 48bc9ce7afeb (bug 1641090)
Backed out changeset 173a1c2e3e55 (bug 1641090)
Backed out changeset c915cb660411 (bug 1641090)
2020-05-28 08:51:13 +03:00
Gerald Squelart
315b834a0e Bug 1586939 - Remove "_BASE" from most Base Profiler env-vars - r=gregtatum a=reland CLOSED TREE
Now both profilers are controlled by the same environment variables, e.g.
"MOZ_PROFILER_STARTUP" to run both profilers at startup.

The only remaining Base Profiler-specific commands are:
- MOZ_BASE_PROFILER_HELP, because the Base Profiler doesn't have the same
  capabilities as Gecko, so it may display different available features.
- MOZ_BASE_PROFILER_LOGGING, because the Base Profiler doesn't have access to
  MOZ_LOG (both the env-var and the C++ macros).

Differential Revision: https://phabricator.services.mozilla.com/D54449
2020-05-28 03:39:32 +00:00
Gerald Squelart
26045e2d2c Bug 1586939 - Skip LoadLibraryEx if we're likely to hit the crash in nvd3d9wrap{,x}.dll - r=gregtatum a=reland CLOSED TREE
This is a port of bugs 1607574, 1617188, 1635823 to the Base Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D77014
2020-05-28 03:39:07 +00:00
Sam Foster
c7d245ef9a Bug 1639347 - Refactor the OSKeyStore reauthentication into a LoginHelper method, add canReauth method on OSKeyStore. r=MattN
* Move MP and OSKeyStore.ensureLoggedIn checks from AboutLoginParent to new requestReauth method on LoginHelper

Differential Revision: https://phabricator.services.mozilla.com/D67681
2020-05-28 05:10:46 +00:00
Razvan Maries
cfc05656e9 Backed out 2 changesets (bug 1586939) for build bustages on ProtocolFuzzer.h. CLOSED TREE
Backed out changeset 1f66a6a498e5 (bug 1586939)
Backed out changeset 6e1337767992 (bug 1586939)
2020-05-28 07:38:04 +03:00
Gerald Squelart
3f2fbaa757 Bug 1586939 - Remove "_BASE" from most Base Profiler env-vars - r=gregtatum
Now both profilers are controlled by the same environment variables, e.g.
"MOZ_PROFILER_STARTUP" to run both profilers at startup.

The only remaining Base Profiler-specific commands are:
- MOZ_BASE_PROFILER_HELP, because the Base Profiler doesn't have the same
  capabilities as Gecko, so it may display different available features.
- MOZ_BASE_PROFILER_LOGGING, because the Base Profiler doesn't have access to
  MOZ_LOG (both the env-var and the C++ macros).

Differential Revision: https://phabricator.services.mozilla.com/D54449
2020-05-28 03:39:32 +00:00
Gerald Squelart
ff560ee2fd Bug 1586939 - Skip LoadLibraryEx if we're likely to hit the crash in nvd3d9wrap{,x}.dll - r=gregtatum
This is a port of bugs 1607574, 1617188, 1635823 to the Base Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D77014
2020-05-28 03:39:07 +00:00
Haik Aftandilian
0a19d8eeb2 Bug 1592416 - Right click opens context menu on wrong monitor or virtual desktop (mac OS Catalina) r=spohl
Add the NSWindowCollectionBehaviorMoveToActiveSpace behavior to nsCocoaWindow
popups so that they override the "Assign To" space setting and display on the
active space.

This also addresses bug 1589893 where, when "Assign To" space is used, popup
menus are not visible in full screen mode.

With mutiple displays, recreate the popup widget each time it is displayed
to workaround a problem where the re-shown popup appears on the "Assign To"
display instead of the current display.

Differential Revision: https://phabricator.services.mozilla.com/D75419
2020-05-28 04:00:02 +00:00
Axel Hecht
1343d506c0 Bug 1641184, use only the merge dir for repacks, r=nalexander
l10n-merge creates a full merge dir for a while now, let's
simplify the build logic to only read from that directory
during repacks and langpacks.

Differential Revision: https://phabricator.services.mozilla.com/D77023
2020-05-27 17:04:06 +00:00
alwu
889760fd05 Bug 1641154 - fix macro error. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D77115
2020-05-27 17:49:56 +00:00
Razvan Maries
b65c634b01 Backed out changeset 6c865ed1f998 (bug 1641389) for perma failures on test_animation_operators.html. CLOSED TREE 2020-05-28 05:43:40 +03:00
Kartikaya Gupta
7aa4fa01c1 Bug 1627012 - Add a mochitest. r=botond
Depends on D76815

Differential Revision: https://phabricator.services.mozilla.com/D76816
2020-05-27 22:11:20 +00:00
Kartikaya Gupta
e6e5e3357e Bug 1627012 - Move promiseOneEvent to apz_test_utils.js and generalize it slightly. r=botond
This is a useful function for non-fission tests too.

Depends on D76814

Differential Revision: https://phabricator.services.mozilla.com/D76815
2020-05-28 01:55:48 +00:00
Kartikaya Gupta
1a1d27995a Bug 1627012 - Make pinchZoomInWithTouch an async function. r=botond
This is specifically needed because the new test I'm adding uses both
pinchZoomInWithTouch and forceLayerTreeToCompositor, and it seems hard/impossible
to make that work unless both are async functions or both are non-async generator
functions. And in general I think we want to move away from the generator-style
tests and towards async-style tests as they are cleaner and more flexible. So
this migrates helper_basic_zoom along with turning pinchZoomInWithTouch into
an async function.

Depends on D76813

Differential Revision: https://phabricator.services.mozilla.com/D76814
2020-05-27 21:59:59 +00:00
Kartikaya Gupta
5569a955f3 Bug 1627012 - Extract a couple of helper methods to make pinch-zooming easier in tests. r=botond
Depends on D76812

Differential Revision: https://phabricator.services.mozilla.com/D76813
2020-05-28 01:53:21 +00:00
Kartikaya Gupta
f6138147f4 Bug 1627012 - Update the APZC scroll offset to the main thread's visual scroll offset for new APZCs. r=botond
This is the main fix for the bug. When APZ is getting metrics from the main
thread "for the first time" it should accept the visual scroll offset in the
main thread metrics. Normally one would expect the isFirstPaint flag to be
set on this call to NotifyLayersUpdated, but that seems to only ever be set
on the very first paint of a presShell. In particular it is not set after a
tabswitch because the brower's async tab switching mechanism means that the
layer tree is already cached in the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D76812
2020-05-28 01:56:43 +00:00
Kartikaya Gupta
8183fac5b1 Bug 1627012 - Ensure NotifyLayersUpdated doesn't get called with bogus scrollable rects. r=botond
SetScrollableFrameMetrics uses a bogus scrollable rect (-1, -1, -1, -1) if none
is provided. With the next patch, we start using this bogus rect for clamping
the scroll offset on some calls to NotifyLayersUpdated, and causes the gtest
to fail. If we provide some sane rect it all works fine.

Depends on D76810

Differential Revision: https://phabricator.services.mozilla.com/D76811
2020-05-27 21:28:17 +00:00
Kartikaya Gupta
1aa4aa53ad Bug 1627012 - Add/improve logging around visual scroll offset. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D76810
2020-05-28 01:55:52 +00:00
Razvan Maries
42c461fb61 Backed out changeset 0dba60796753 (bug 1611204) for perma failures on isIntersecting-threshold.html. CLOSED TREE 2020-05-28 05:33:20 +03:00
Andrew McCreight
d76f77f616 Bug 1641090, part 10 - Remove base/hash_tables.h. r=nika
The remaining use is trivial, defining some hash functions that are never used.

Differential Revision: https://phabricator.services.mozilla.com/D76986
2020-05-27 22:07:47 +00:00
Andrew McCreight
c93adfb04f Bug 1641090, part 9 - Change IDMap into an alias for nsDataHashtable. r=nika
Now that IDMap is just a thin wrapper around an nsDataHashtable,
it is easy to convert it into an alias.

Differential Revision: https://phabricator.services.mozilla.com/D77169
2020-05-28 00:54:21 +00:00
Andrew McCreight
81acc5f0da Bug 1641090, part 8 - Convert IDMap to use nsDataHashtable internally. r=nika
This is more standard, and uses about 4kb less memory when almost empty,
which seems to be the common case in an idle content process. This should save
around 66kb per content process.

The next patch will get ride of this thin wrapper and use nsDataHashtable
directly.

Differential Revision: https://phabricator.services.mozilla.com/D76985
2020-05-27 23:59:41 +00:00
Andrew McCreight
be7c7206db Bug 1641090, part 7 - Rename IDMap::Lookup to Get. r=nika
This is to further match nsTHashtable's interface.

Differential Revision: https://phabricator.services.mozilla.com/D77168
2020-05-27 23:59:39 +00:00
Andrew McCreight
064fa8de6e Bug 1641090, part 6 - Make ReplaceWithID compatible with nsTHashtable's Put. r=nika
This method is the same as Put(), except that it asserts that the item
is not already present. It also puts the key second. Make it compatible
by hoisting out the assert and reversing the arguments. We can use the
definition of Put() defined in an earlier patch.

Differential Revision: https://phabricator.services.mozilla.com/D77167
2020-05-27 23:59:36 +00:00
Andrew McCreight
de620fecfb Bug 1641090, part 5 - Make IDMap::Remove match nsTHashtable's behavior. r=nika
nsTHashtable::Remove doesn't assert if the item isn't present. Match that
behavior by removing the assert and putting it at all of the call sites.

This just turns IDMap::Remove into RemoveIfPresent, so merge them.

Differential Revision: https://phabricator.services.mozilla.com/D77166
2020-05-27 23:59:34 +00:00
Andrew McCreight
4e909e4e75 Bug 1641090, part 4 - Make AddWithID compatible into Put. r=nika
This function is similar to the Put() method in nsTHashtable, but it lists the
key second and it asserts that the key is not already in the map. This patch
swaps the arguments and hoists the assertion out, where appropriate. Note that
there are a few places that were working around this assert, so for those places
don't include the assert.

Differential Revision: https://phabricator.services.mozilla.com/D77165
2020-05-27 23:59:32 +00:00
Andrew McCreight
35ea3b560b Bug 1641090, part 3 - Add and use a new Contains predicate. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D77164
2020-05-27 23:59:29 +00:00
Andrew McCreight
8b534e1748 Bug 1641090, part 2 - Inline IDMap::HasData. r=nika
It is only used in one place, so get rid of it. Also, iterate in a nicer way.

Differential Revision: https://phabricator.services.mozilla.com/D77163
2020-05-27 23:59:27 +00:00
Andrew McCreight
aaead092ca Bug 1641090, part 1 - Remove unused methods and an unused field from IDMap. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D77162
2020-05-27 23:59:25 +00:00
Razvan Maries
4dc27dd084 Backed out 2 changesets (bug 1638156) for perma failures on browser_pdfjs_preview.js. CLOSED TREE
Backed out changeset c5c3da72080f (bug 1638156)
Backed out changeset da0e27f7f17a (bug 1638156)
2020-05-28 05:01:13 +03:00
Gerald Squelart
fedbac274e Bug 1641149 - Add 'fileio', 'fileioall', 'noiostacks' to about:profiling - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D77013
2020-05-28 01:25:02 +00:00
Kartikaya Gupta
01892da471 Bug 1641246 - Remove unrelated stray function declaration. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D77112
2020-05-27 21:33:55 +00:00
Kartikaya Gupta
b0ee5dd871 Bug 1641246 - Remove nsDisplayResolution. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77111
2020-05-27 22:17:09 +00:00
Andrew Osmond
994485ee93 Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D77182
2020-05-28 01:39:01 +00:00
Boris Chiou
6685919b0d Bug 1640036 - Drop the guard of aUseMappedRatio for non-auto aspect-ratio case. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77191
2020-05-28 01:18:32 +00:00
Razvan Maries
a985167fa6 Backed out 7 changesets (bug 1638711) for perma failures on test_bug375314-2.html. CLOSED TREE
Backed out changeset 9643bf18ac31 (bug 1638711)
Backed out changeset 3d06b48e2e3a (bug 1638711)
Backed out changeset c2a1461890c3 (bug 1638711)
Backed out changeset 9eda9f6c5877 (bug 1638711)
Backed out changeset f776c30279f3 (bug 1638711)
Backed out changeset b34546384903 (bug 1638711)
Backed out changeset 47da03dd8365 (bug 1638711)
2020-05-28 04:25:38 +03:00
Makoto Kato
b8d216c8f6 Bug 1637553 - Reduce array copy in spell checker loop. r=masayuki
Actually, we always clone spell checker range array per IPC call into spell
check loop. But we can use `std::move` to reduce unnecessary copy.

Also, `mozInlineSpellWordUtil::GetNextWord` always returns NS_OK, so
this should use boolean value to know whether loop is done.

Differential Revision: https://phabricator.services.mozilla.com/D75111
2020-05-27 14:33:12 +00:00
Sam Foster
d39d9cbb00 Bug 1638156 - Make open downloaded file the default action in about:newtab download cards, and add key modifiers support. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D76575
2020-05-28 01:11:48 +00:00