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

726797 Коммитов

Автор SHA1 Сообщение Дата
Razvan Maries f4133af85c Backed out changeset 09f6522b2f48 (bug 1396399) for perma failures on test_ext_contentscript_activeTab.html. CLOSED TREE 2020-09-16 08:36:43 +03:00
Karl Tomlinson 6cea4e7ccb Bug 1646601 add crashtest with AudioContext after unload r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84300
2020-09-15 22:13:21 +00:00
Karl Tomlinson 8b05beadc1 Bug 1646601 throw InvalidStateError on (Offline)AudioContext construction when not fully active r=padenot
https://github.com/WebAudio/web-audio-api/pull/1425/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR2245

Differential Revision: https://phabricator.services.mozilla.com/D84302
2020-09-15 22:13:22 +00:00
Karl Tomlinson 9e13b21300 Bug 1646601 move fully active predicate to nsPIDOMWindowInner r=farre
Depends on D90216

Differential Revision: https://phabricator.services.mozilla.com/D90217
2020-09-15 22:13:22 +00:00
Karl Tomlinson 820dfc0a45 Bug 1646601 document as const some WindowContext members r=farre
Differential Revision: https://phabricator.services.mozilla.com/D90216
2020-09-15 22:13:22 +00:00
Randell Jesup 9a3ba1d1f1 Bug 1664961: check if child process when processing docshell Reload() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90200
2020-09-16 02:44:45 +00:00
Andrew Swan d6d39c34ba Bug 1396399: Test for content scripts and activeTab permission.
Differential Revision: https://phabricator.services.mozilla.com/D90333
2020-09-16 02:04:08 +00:00
Marc Streckfuss 94fafd9213 Bug 1665211 - Fix a define typo in MPRISServiceHandler. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D90323
2020-09-15 23:20:11 +00:00
Iain Ireland ee709e60f3 Bug 1664357: Refactor GetTemplateObjectForScripted r=jandem
Rewriting this code to make it obvious that we only attach specialized constructor stubs if we have enough information about `this` to inline.

Note: the old code used `skipAttach` in more cases, but after looking at it more closely, the new script analysis is the only case where it makes sense.

This version matches the corresponding pre-CacheIR call IC code (https://searchfox.org/mozilla-central/rev/3c073ca1ae02fd52fd6be584aa343b78999842fa/js/src/jit/BaselineIC.cpp#3509-3545).

Differential Revision: https://phabricator.services.mozilla.com/D90197
2020-09-16 00:07:38 +00:00
Iain Ireland cf3b84d68f Bug 1664357: Tweak thresholds for --fast-warmup r=jandem
To make sure we're testing recursive inlining, I've tweaked the thresholds to ensure that we can inline two levels deep without any loops. I've also made the inlining heuristics slightly more conservative, which prevents `check-earley-boyer` from timing out.

I've also included a few drive-by fixes. The change to `isRecursive` in `DoTrialInlining` only affects the jitspew message, because both ways of finding the `InliningRoot` are equivalent for the non-recursive case.

Differential Revision: https://phabricator.services.mozilla.com/D89875
2020-09-16 00:06:33 +00:00
Iain Ireland fbafb64811 Bug 1664357: Inline JSOp::Super r=jandem,anba
AFAICT, outside of the bytecode generator, there is no longer any difference between `JSOp::Super` and `JSOp::New` except for the expression decompiler.

Differential Revision: https://phabricator.services.mozilla.com/D89874
2020-09-16 00:06:21 +00:00
Iain Ireland 8a1c6c98ce Bug 1664357: Inline JSOp::New r=jandem
We already did the hard work to handle `this` creation for transpiling, so inlining is pretty straight-forward.

`patchInlinedReturn` needs to know whether we're calling a derived constructor to avoid repeated bailouts in `MReturnFromCtor`. I used a similar solution to what anba did here: https://phabricator.services.mozilla.com/D58785). Once Ion is gone, we could consider modifying `MReturnFromCtor` instead.

Differential Revision: https://phabricator.services.mozilla.com/D89873
2020-09-16 00:06:08 +00:00
Iain Ireland 2a7253d13a Bug 1664357: Store needsUninitializedThis in CallFlags r=jandem
Instead of storing a flag in GuardSpecificFunction, I reused the CallFlags that are already being stored in the call. This also lets us avoid a VM call in the baseline IC.

After Ion is gone, we can consider storing a ConstructorKind in CallFlags (with values `None`, `UninitializedThis`, `Template`, and `VMCall`) and moving the template object offset from `MetaTwoByte` into `CallScriptedFunction`.

Differential Revision: https://phabricator.services.mozilla.com/D89872
2020-09-16 00:05:50 +00:00
Brindusan Cristian 1f72b3f30e Backed out changeset 3895daa47180 (bug 1308101) for linux hazard bustages. CLOSED TREE 2020-09-16 04:01:37 +03:00
Brindusan Cristian 5cb053c42a Backed out changeset 309b64bd96a1 (bug 1396399) for mochitest failures at test_ext_contentscript_activeTab.html and ESlint failure at SpecialPowersParent.jsm. CLOSED TREE 2020-09-16 03:33:38 +03:00
Brindusan Cristian 09fafce1c6 Backed out changeset 6e3078121a13 (bug 1657676) for bc failures at browser_oneOffs_keyModifiers.js. CLOSED TREE 2020-09-16 03:18:05 +03:00
Mark Striemer 7249c61d14 Bug 1664565 - Immediately enter rendering state when requesting an updated preview r=emalysz
This avoids the sheet count being shown incorrectly when the destination
changes between PDF and non-PDF printers.

Differential Revision: https://phabricator.services.mozilla.com/D89971
2020-09-15 19:00:14 +00:00
Mark Striemer 8514fcf46f Bug 1662434 - Show correct sheet count for PDF printers when numCopies is set r=emalysz
Depends on D89796

Differential Revision: https://phabricator.services.mozilla.com/D89797
2020-09-15 19:00:10 +00:00
Gijs Kruitbosch bb7122d9fb Bug 1664949 - don't clear the active theme pref on startup so it gets synced wrong, r=zombie,mixedpuppy
Before bug 1660557, this was actually clearing an old migration pref, but now
it's clearing the actual theme pref used by Sync.

Differential Revision: https://phabricator.services.mozilla.com/D90194
2020-09-15 23:55:39 +00:00
Andrew Swan f56339c2d3 Bug 1396399: Test for content scripts and activeTab permission.
Differential Revision: https://phabricator.services.mozilla.com/D90333
2020-09-15 23:54:24 +00:00
Matt Woodrow 69ea94aefc Bug 1664948 - Remove content process interception from HttpChannelChild. r=asuth,dragana,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D90192
2020-09-15 23:44:58 +00:00
Molly Howell 8eb91f6860 Bug 1665195 - Also delete the UpdateLogs directory from the Firefox uninstaller. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D90317
2020-09-15 23:41:50 +00:00
Kris Maglione e4514ebf52 Bug 1658791: Fix red herring httpd.js error messages. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D89813
2020-09-15 23:21:55 +00:00
Jan-Erik Rediger 5a6eb68189 Bug 1659109 - Initiate shutdown of the dispatcher. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88840
2020-09-14 10:32:32 +00:00
Jan-Erik Rediger deace8ef7e Bug 1659109 - Launch an uploader if a ping was submitted successfully. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88839
2020-09-14 09:42:40 +00:00
Jan-Erik Rediger 73228aeca1 Bug 1659109 - Use global dispatcher in Counter metric. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88838
2020-09-14 13:44:00 +00:00
Jan-Erik Rediger 33a96c6eb0 Bug 1659109 - Add a dispatch queue for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88837
2020-09-14 09:42:35 +00:00
David Teller ffb3757f8d Bug 1661552 - In about:processes, sorting by name now sorts by origin;r=florian
Sorting by name used to work because we computed the display name of each process within aboutProcesses.js. These days, fluent does the job, so this doesn't work anymore.

This patch approximates sorting by name with sorting by origin.

Differential Revision: https://phabricator.services.mozilla.com/D89881
2020-09-17 14:06:31 +00:00
Andrew Osmond e89e30ca7f Bug 1665648 - Initialize GPU process config before WebRender. r=kats
We need to initialize the GPU process config before WebRender because we
have a dependency on the GPU process to enable WebRender. Without this
patch, it gives very confusing initialization failures, which it should
be clear that it was disabled because there is no GPU process. The GPU
process feature itself will then have a clear reason why it was
disabled, typically because Windows did not support remote windowing
(e.g. too old).

Differential Revision: https://phabricator.services.mozilla.com/D90564
2020-09-17 14:04:24 +00:00
David Teller 66ce04b383 Bug 1635494 - Test that nsIProcessToolsService::kill doesn't cause crash reports;r=gsvelto
nsIProcessToolsService::kill is designed to kill without causing crash reports.
Let's make sure it does not cause crash reports.

Depends on D82552

Differential Revision: https://phabricator.services.mozilla.com/D82553
2020-09-17 14:03:58 +00:00
David Teller d621561a4a Bug 1635494 - nsIProcessToolsService;r=lina
A small xpcom module implemented in Rust, designed to provide low-level tools to deal with processes
from JS. For the moment, the only notable feature is `kill()`, designed to be used from about:processes

Differential Revision: https://phabricator.services.mozilla.com/D82552
2020-09-17 14:03:41 +00:00
Masayuki Nakano 6551ca6994 Bug 1658702 - part 16: Implement `AutoBlockElementsJoiner::ComputeRangesToDeleteContentInRanges()` and `AutoBlockElementsJoiner::ComputeRangesToJoinBlockElementsInSameParent()` r=m_kato
They need to just call
`AutoDeleteRangesHandler::ComputeRangesToDeleteRangesWithTransaction()` because
their corresponding methods calls `EditorBase::DeleteRangesWithTransaction()`
and do additional different jobs after that, but the they don't affect the
ranges.

* https://searchfox.org/mozilla-central/rev/0c97a6410ff018c22e65a0cbe4e5f2ca4581b22e/editor/libeditor/HTMLEditSubActionHandler.cpp#4602,4627-4628,4639-4642
* https://searchfox.org/mozilla-central/rev/0c97a6410ff018c22e65a0cbe4e5f2ca4581b22e/editor/libeditor/HTMLEditSubActionHandler.cpp#4650,4669-4670,4676-4678,4685-4686

Depends on D90212

Differential Revision: https://phabricator.services.mozilla.com/D90213
2020-09-17 08:39:31 +00:00
Geoff Brown 1492a7168d Bug 1662894 - Expand fuzzy range for mix-blend-mode-and-filter.svg; r=kats
Update fuzzy range by +1 to avoid frequent intermittent failures in this test.

Differential Revision: https://phabricator.services.mozilla.com/D90507
2020-09-17 10:41:00 +00:00
Tom Tung fc951d200a Bug 1654531 - Remove the support for cache option from cache.match; r=dom-workers-and-storage-reviewers,webidl,asuth,baku
Fix the test cases for "Cache.match does not support cacheName option"

Depends on D84502

Differential Revision: https://phabricator.services.mozilla.com/D84503
2020-09-17 13:02:46 +00:00
Tom Tung 6f2d33d798 Bug 1654531 - Remove the unnecessary pref settings for wpt cache tests; r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D84502
2020-09-17 13:02:28 +00:00
Tom Tung 8993cde73d Bug 1665565 - Replace ToResultInvoke with MOZ_TO_RESULT_INVOKE_TYPED; r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90523
2020-09-17 13:17:58 +00:00
Tom Tung ecd6a4b573 Bug 1664770 - Use QM_TRY* for upgrade classes' base classes; r=dom-workers-and-storage-reviewers,janv,sg
Differential Revision: https://phabricator.services.mozilla.com/D90120
2020-09-17 12:55:21 +00:00
Tom Tung b17fa7a272 Bug 1664770 - Use QM_TRY* for metadata related functions; r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90119
2020-09-17 08:09:01 +00:00
Tom Tung c606d3c776 Bug 1664770 - Use QM_TRY* for GetBinaryInputStream and GetBinaryOutputStream; r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90118
2020-09-17 08:08:28 +00:00
Tom Tung 1f5fbe5f43 Bug 1664770 - Use QM_TRY* for storage initialization code; r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90094
2020-09-17 12:55:57 +00:00
Simon Giesecke d5657d9a4a Bug 1663924 - Use std::any_of/IDB_TRY in FactoryOp::DirectoryOpen. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D90270
2020-09-17 08:45:46 +00:00
Simon Giesecke e69ead5bff Bug 1663924 - Use std::find_if in ConnectionPool::IdleTimerCallback. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D90267
2020-09-17 08:45:38 +00:00
Simon Giesecke d7d69265f4 Bug 1663924 - Use IDB_TRY in ExecuteCachedStatement. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D90233
2020-09-17 08:45:15 +00:00
Simon Giesecke e01a865c1a Bug 1663924 - Use ExecuteCachedStatement where possible. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90232
2020-09-17 08:45:05 +00:00
Simon Giesecke 4f1ba76c89 Bug 1663924 - Add ScopedLogExtraInfo. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90112
2020-09-17 09:38:12 +00:00
Simon Giesecke db717b00e5 Bug 1664844 - Add DebugOnly::inspect member function. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D90133
2020-09-17 08:44:30 +00:00
Simon Giesecke e0ea61e4fe Bug 1663924 - Use CollectWhileHasResult at more places. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D89919
2020-09-17 08:44:17 +00:00
Simon Giesecke 7fc1c893da Bug 1663924 - Extract CollectWhileHasResult function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D89918
2020-09-17 08:44:10 +00:00
Simon Giesecke 11dc4992ab Bug 1663924 - Extract CreateAndExecuteSingleStepStatement function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D89913
2020-09-17 08:44:07 +00:00
Simon Giesecke 887e6b2658 Bug 1663924 - Use IDB_TRY* in CreateStorageConnection. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D89905
2020-09-17 09:27:44 +00:00