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

715353 Коммитов

Автор SHA1 Сообщение Дата
Luca Greco a3c0ff4871 Bug 1642676 - Add test case to ensure we have test coverage for RemoteWorkerManager LaunchNewContentProcess and RegisterActor methods. r=dom-workers-and-storage-reviewers,asuth
Depends on D61708

Differential Revision: https://phabricator.services.mozilla.com/D63697
2020-06-26 16:05:53 +00:00
Luca Greco 634a0f15cf Bug 1642676 - Ensure remote workers are launched in a child process based on the expected remoteType. r=asuth,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D61708
2020-06-26 18:13:46 +00:00
Bert Peers b6fb32bf71 Bug 1648871 - debug draw crashes SWGL r=lsalzman
Guard against nullptr access of missing p.impl.
Also change LinkStatus so is_initialized is no longer true and calling
code can early out if bind_program fails.

Differential Revision: https://phabricator.services.mozilla.com/D81421
2020-06-27 00:17:33 +00:00
Mark Banner 0a4041b026 Bug 1647359 - Move SearchEngine fields to start of class for better clarity and documentation. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D80498
2020-06-29 16:36:30 +00:00
Mark Banner 8098e69f2f Bug 1647359 - Change definitions in SearchEngine to be classes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D80497
2020-06-29 16:36:22 +00:00
Mark Banner 39b66db125 Bug 1647359 - Preferences should only clone the parts of the search engine objects that it actually needs. r=jaws,preferences-reviewers
The clones appear to be so that access for the tree view in preferences is quick. However, they don't need to clone the entire engine object - they just need three fields.

Additionally, this fixes reloading icons which was attempting to use 'uri' but that isn't defined, and so icons would fail to load if preferences was opened when a search engine is added.

Differential Revision: https://phabricator.services.mozilla.com/D80496
2020-06-29 16:38:42 +00:00
Mark Banner cefccb3918 Bug 1647320 - Make the search cache responsible for listening to notifications of changes. r=daleharvey.
This patch additionally makes the search cache responsible for listening to notifications rather than being directly told by the search service to write the cache.

It also makes writes after init/reinit/maybeReloadEngines into delayed writes as they don't need to be immediate - the code already ensures we write any pending cache before reading, and that we write it before shutdown. Therefore, it doesn't matter if we wait a second or so.

Differential Revision: https://phabricator.services.mozilla.com/D80472
2020-06-29 16:36:10 +00:00
Simon Giesecke 017f9a1fc0 Bug 1648010 - Add user-defined string literals. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81125
2020-06-29 17:02:35 +00:00
Agi Sferro 44ccb4d7da Bug 1645907 - Recreate ExtensionPermission db on corrupt file. r=mixedpuppy
This patch makes it so whenever we encounter a corrupt database file we recrate
it and backup the corrupt file to a folder in the profile.

Differential Revision: https://phabricator.services.mozilla.com/D80051
2020-06-29 17:08:53 +00:00
Agi Sferro 2bb188747b Bug 1646451 - Clear rkv::get_or_create cache when an error occurs. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D80050
2020-06-29 17:08:53 +00:00
Nathan Froyd d862df6fa7 Bug 1648787 - remove MOZ_GUARD_OBJECT bits from RecursiveMutex; r=dmajor,xpcom-reviewers,nika
Apparently I added these in the initial commit for RecursiveMutex.  I'm
not quite sure what I was thinking, but we don't need them for the
RecursiveMutex itself.  (We have them on the corresponding `*Auto*Lock`
classes, which are also `MOZ_RAII`.)

Differential Revision: https://phabricator.services.mozilla.com/D81345
2020-06-29 15:37:21 +00:00
Itiel 8027e4ca15 Bug 1648417 - Fix the doorhanger icon for updating an autofilled form r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D81536
2020-06-29 16:38:39 +00:00
Vlad Filippov 4211a85668 Bug 1648180 - Support 'entrypoint', 'entrypoint_experiment', 'entrypoint_variation' parameters in FxA UITour. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D80961
2020-06-26 05:08:28 +00:00
Simon Giesecke 6d12f96928 Bug 1641598 - Added gtest test cases for ToLocaleAwareKey. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D78697
2020-06-29 10:55:07 +00:00
Simon Giesecke 7d203057ee Bug 1641598 - Fix defect in Key::LengthOfEncodedBinary. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D78696
2020-06-29 14:36:51 +00:00
Nicolas Chevobbe 269c35eaac Bug 1648875 - Fix stacktrace parsing when frame has multiple "@". r=loganfsmyth.
When parsing frames, we only need to retrieve the first "@" index to split
the frame string and get the function name on one side, and the location on the
other side.
This patch removes the regex-based search we were doing for a simpler character
search. A test is added to ensure this works as expected, and snapshots that were
highlighting the issue are updated.

Differential Revision: https://phabricator.services.mozilla.com/D81519
2020-06-29 15:05:31 +00:00
caroline 61b38f0a41 Bug 1647920 - Part 3: Transpile Math.trunc in Warp. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D80992
2020-06-25 23:10:20 +00:00
caroline beacd1a290 Bug 1647920 - Part 2: Optimize Math.trunc in CacheIR. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D80991
2020-06-25 23:10:18 +00:00
caroline 2ec105888e Bug 1647920 - Part 1: Move trunc-to-int32 code into MacroAssembler. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D80990
2020-06-25 23:10:10 +00:00
Steve Fink c35c2006db Bug 1648646 - Add capability of searching from roots to shortestPaths() testing function r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D81251
2020-06-29 16:22:52 +00:00
Emma Malysz 392c9ed354 Bug 1648175, remove history and library panel views from the main panel and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80306
2020-06-29 15:41:43 +00:00
Peter Van der Beken 1bbd172984 Bug 1649133 - Remove unused nsISHEntry.expirationStatus. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D81518
2020-06-29 15:41:31 +00:00
Luca Greco 7a233cc08a Bug 1253129 - Prevent a logged warning from keeping the extension global alive after being destroyed. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D80936
2020-06-26 16:49:20 +00:00
Shane Caraveo e2f81589ab Bug 1253129 warn when using focused property with windows.create r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D76944
2020-06-26 16:49:20 +00:00
Dave Townsend 2d4a0f50de Bug 1642731: Turn excessive calls to document.l10n.formatValue to a single document.l10n.formatValues call. r=Gijs
Rather than sending the strings down to the content process and back up instead
have the content process just send the media type which when prefixed with
`media-` gives us the fluent ID for the string. Ideally this would allow us to
just set that as the `data-l10n-id` for the items but since this tree is
generated by a custom `nsITreeView` implementation that isn't an option so this
still caches the strings on load.

A single formatValues call will be more performant.

Differential Revision: https://phabricator.services.mozilla.com/D77897
2020-06-26 19:17:17 +00:00
Marco Bonardo 3a5412ba07 Bug 1647413 - Avoid a possible thread race in History::GetconstDBConn. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D80666
2020-06-26 12:43:00 +00:00
Mihai Alexandru Michis a8c809f53b Bug 1648667 - Update expectancies for secure_connection_start_non_zero.https.html on windows debug. a=test-only
DONTBUILD
2020-06-29 18:54:47 +03:00
yulia f608a0ce0f Bug 1644839 - fix return value of emitOptionalChain on failure; r=jandem
Optional Chain had two cases where, on failure, instead of returning false we were returning true. This patch fixes the issue.

Differential Revision: https://phabricator.services.mozilla.com/D79682
2020-06-23 00:31:20 +00:00
Ted Campbell dc0f2f597c Bug 1647309 - Account for closed generators in debugger stepperCount assert. r=loganfsmyth
Errors during async generator operations can close the generator but leave
entries in the Debugger::generatorFrames map. This trips up asserts in the
single-step code. Since a closed generator will not match the targettedScript
we simply ignore such entries while checking the assert.

Differential Revision: https://phabricator.services.mozilla.com/D81552
2020-06-29 15:51:00 +00:00
Andi-Bogdan Postelnicu 68409df6ba Bug 1648709 - run `Coverity Static Analysis` on `mozilla-central` once per day. r=sylvestre
Right now we are running `Coverity Static Analysis` for each merge to `mozilla-central`,
this is suboptimal since the resources required to do so are very expensive. It's
enough to run it once a day.

Differential Revision: https://phabricator.services.mozilla.com/D81510
2020-06-29 12:44:51 +00:00
Razvan Maries 96853b352d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-06-29 18:48:34 +03:00
Razvan Maries f317705b7f Merge autoland to mozilla-central a=merge 2020-06-29 18:45:19 +03:00
Mozilla Releng Treescript f6180a922b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-06-29 15:15:46 +00:00
Mozilla Releng Treescript 8669c4eaff No bug - tagging 4c7e22cb6a476089657b971f2ebe333c5649a4a9 with FIREFOX_NIGHTLY_79_END a=release DONTBUILD CLOSED TREE 2020-06-29 15:15:37 +00:00
Mozilla Releng Treescript 934c765169 No bug - tagging 921a30cac33b6d0760f318b6f1a2e3ce1bd687cc with FIREFOX_BETA_79_BASE a=release DONTBUILD CLOSED TREE 2020-06-29 14:38:12 +00:00
Marco Bonardo d606440481 Bug 1646928 - Bogus scheme typo correction in URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D81329
2020-06-29 14:06:06 +00:00
Jonathan Kew a02ceb7081 Bug 1649073 - Bail out of InitSharedFontListForPlatform if we fail to get the dwrite system font collection. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D81494
2020-06-29 14:29:54 +00:00
Itiel f682de0a62 Bug 1648961 - Position the warning icon for the experiments section in the right place for RTL r=jaws,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81445
2020-06-29 14:54:03 +00:00
Mihai Alexandru Michis 3e115816f2 Backed out changeset d1416483de0d (bug 1648010) for causing bustages in nsTLiteralString.h
CLOSED TREE
2020-06-29 17:53:38 +03:00
Francesco Lodolo (:flod) 97ea589052 Bug 1647687 - Remove Fluent migration recipes for Firefox 77, r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D80636
2020-06-29 09:59:50 +00:00
longsonr 5a4aaccb28 Bug 386713 - Mark text-font-weight-01.svg passing on linux r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D81453
2020-06-28 23:40:18 +00:00
James Teh c598f2c2a3 Bug 1647666: test_doc_busy.html: Log a11y events to help debug the intermittent timeout. r=MarcoZ
It seems the window location isn't the issue here at all.
Rather, we never get the expected a11y events.
So, let's try to find out what events we *do* get.

Differential Revision: https://phabricator.services.mozilla.com/D81478
2020-06-29 05:26:59 +00:00
James Teh bb33c7f919 Bug 1648341: Handle eHasValueMinMaxIfFocusable correctly in Accessible::Value. r=MarcoZ
Previously, this returned a value if the ARIA value rule was not eNoValue, which covered eHasValueMinMaxIfFocusable.
However, eHasValueMinMaxIfFocusable needs the focusable state to be checked.
Rather than checking the value rule directly, just use HasNumericValue(), which already knows how to handle this.

Differential Revision: https://phabricator.services.mozilla.com/D81483
2020-06-29 05:22:00 +00:00
Nicolas Chevobbe 0398ff5ec9 Bug 1648795 - Fix devtools/shared/resources/tests/browser_resources_several_resources.js. r=jdescottes.
We were only checking a number of received resources, and as we're listening to
the parent process, any error messages emitted by the platform would hinder the
test. This patch changes the test to expect specific resources instead.

Differential Revision: https://phabricator.services.mozilla.com/D81354
2020-06-29 05:18:17 +00:00
Aaron Klotz f1974f10ad Bug 1648086: Fix namespace issue that was breaking builds when a11y is disabled in build config; r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D81169
2020-06-28 23:28:23 +00:00
Glenn Watson e8fefd230e Bug 1623792 - Store tile cache instances separately from picture primitives. r=Bert,nical
This is a partial step towards a larger change. The goal of this and the
follow up patches is to move the tile cache instances to be stored in
the render backend, rather than inside the picture / primitive tree.

This will allow better caching of dependency and visibility state
across both frame and scene builds for primitives. This has the potential
to significantly reduce or eliminate the amount of work we do per-frame
to track per-primitive visibility, clip-chain state and tile assignments.

A longer term goal is to allow correlating up-to-date tile caches with
pipeline display lists that haven't changed. This would allow WR to
skip scene building for content display lists that haven't changed, if
only the outer pipeline content has changed.

Differential Revision: https://phabricator.services.mozilla.com/D81284
2020-06-28 21:46:37 +00:00
Glenn Watson 1628e0582a Bug 1647862 - Fix panic when casting large rects to i32. r=Bert
In various parts of the picture and mask code, we were casting
the `clipped` rect to i32 (after rounding out). However, this
can cause overflow panics when the origin of the rect is too big.

Instead, treat the origin as f32 (which it was generally being
converted to anyway), and only cast the size part to be i32 as
required. This is safe since we know that the size has been
clipped to the visible screen, so will always be safe to cast
to i32.

Differential Revision: https://phabricator.services.mozilla.com/D80968
2020-06-28 22:00:56 +00:00
Mike Hommey f64e5ea826 Bug 1648651 - Fix building with --disable-compile-environment. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D81263
2020-06-28 23:43:18 +00:00
chocos 1f1b95669d Bug 1648959 - Done internal linking in docs in Browser Directory.r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D81475
2020-06-28 20:49:34 +00:00
Magnus Melin 3ece3e66ca Bug 1648773 - don't fail test_module_LoginStoreTelemetry.js for Thunderbird. r=MattN
Thunderbird is not in the collected products, but the test runs. Avoid the failure by collecting data during the test.

Differential Revision: https://phabricator.services.mozilla.com/D81450
2020-06-28 15:51:35 +00:00