Граф коммитов

710295 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 41946bdc30 Bug 1641297 - Optimize Array.isArray in CacheIR and Warp. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D77125
2020-05-28 09:35:18 +00:00
Liang-Heng Chen 87e713f0c9 Bug 1637516 - part 3: update tests; r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D75550
2020-05-28 08:55:04 +00:00
Liang-Heng Chen 3a1dec80b2 Bug 1637516 - part 2: make first-party domain support site; r=baku,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D75549
2020-05-28 08:54:31 +00:00
Liang-Heng Chen 0fc88a67c1 Bug 1637516 - part 1: refine functions for further update; r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D75548
2020-05-28 08:53:13 +00:00
Daisuke Akatsuka 640c65ed86 Bug 1637641: Add test for the cache mechanism in ResourceWatcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77015
2020-05-28 09:07:17 +00:00
Daisuke Akatsuka 602691271c Bug 1637641: Make multiple listeners can receive proper cached resources. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D76447
2020-05-28 09:07:04 +00:00
Jan Varga 4acff3dff1 Bug 1621916 - Fix SimpleDB to ignore unknown files during initialization and usage calculation; r=dom-workers-and-storage-reviewers,ttung
SimpleDB files on disk now use a suffix, so unknown files can be filtered out.

Depends on D76700

Differential Revision: https://phabricator.services.mozilla.com/D76701
2020-05-25 15:57:54 +00:00
Jan Varga 6b9c3a93f9 Bug 1621916 - Extract profile creation from test_unknownFiles.js into make_unknownFiles.js and make it more sophisticated; r=dom-workers-and-storage-reviewers,ttung
A generated profile now matches real world profiles:
- contains directory metadata
- contains real quota client specific files
- contains unique non-empty unknown files (instead of empty foo.bar files)
- contains unique non-empty unknown directories (instead of empty foo dirs)

There's now only one origin directory which contains unknown files and
directories. All methods that take a principal are verified to work with the
origin direcrtory.

Depends on D76095

Differential Revision: https://phabricator.services.mozilla.com/D76700
2020-05-25 16:01:32 +00:00
Jan Varga 22dd0c4c8d Bug 1621916 - Update test_unknownFiles.js with unknown files for cache, sdb and ls quota client; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D76095
2020-05-28 08:34:06 +00:00
Jan Varga 7735eac323 Bug 1621916 - Enhance test_unknownFiles.js to cover initTemporaryStorage method; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D75952
2020-05-26 08:24:49 +00:00
Jan Varga 93f51d3a5d Bug 1621916 - Convert test_unknownFiles.js to use quasi subtests; r=dom-workers-and-storage-reviewers,sg
Depends on D75950

Differential Revision: https://phabricator.services.mozilla.com/D75951
2020-05-28 07:58:56 +00:00
Jan Varga ca29971168 Bug 1621916 - Convert test_unknownFiles.js to use async functions; r=dom-workers-and-storage-reviewers,sg
Depends on D75949

Differential Revision: https://phabricator.services.mozilla.com/D75950
2020-05-28 07:57:43 +00:00
Valentin Gosu 383d242cb2 Bug 1636891 - Move logging specifics from toolkit/library/rust/shared/lib.rs to the gecko_logger crate r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D76669
2020-05-28 07:46:40 +00:00
Mark Hammond 35a92088a5 Bug 1640791 - Expose allowSkippedRecord to a bridged engine and enable it for extension-storage. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76785
2020-05-27 02:12:53 +00:00
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