Commit Graph

723193 Commits

Author SHA1 Message Date
Dão Gottwald
1a98db68a2 Bug 1660448 - Rename sendTopSiteAttributionRequest, TOP_SITES_ATTRIBUTION for consistency with PartnerLinkAttribution.jsm. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D87856
2020-08-21 15:15:35 +00:00
Emilio Cobos Álvarez
dc89881853 Bug 1660501 - Fix a typo in browser-custom-element.js. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87883
2020-08-21 16:20:54 +00:00
Narcis Beleuzu
cb798e0f9e Backed out 2 changesets (bug 1659376) for dt failures on browser_dbg-content-script-sources.js. CLOSED TREE
Backed out changeset 61e3dea03a62 (bug 1659376)
Backed out changeset 86e77b35c75d (bug 1659376)
2020-08-21 20:47:02 +03:00
Sam Foster
c5953d1c1a Bug 1659757 - Part 1: Add string for paper-size picker. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D87821
2020-08-21 16:17:09 +00:00
Tooru Fujisawa
ac1d47e35d Bug 1659852 - Properly report error in dumpStencil with smoosh + module. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D87515
2020-08-21 16:13:54 +00:00
Tooru Fujisawa
50f13a4125 Bug 1659304 - Update opcode for bug 1435826. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D87591
2020-08-21 16:13:24 +00:00
Andrew Osmond
a21edf6883 Bug 1659965 - Initialize the profiler before CodeCoverageHandler. r=mstange
CodeCoverageHandler relies upon CrossProcessMutex. On Linux this is
implemented using shared memory. In bug 1658847, we used to the
profiler's "thread sleep" mechanism to resolve the signal interrupts in
posix_fallocate, which requires the profiler to be initialized. As such,
CodeCoverageHandler now needs to be initialized after.

Differential Revision: https://phabricator.services.mozilla.com/D87747
2020-08-21 15:53:58 +00:00
Ryan VanderMeulen
58471989b3 Bug 1660483 - Update pdf.js to version 2.6.276. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D87879
2020-08-21 15:55:16 +00:00
Jonathan Kew
e58849d935 Bug 1660296 - Implement Get/SetNumCopies in the macOS print settings backend. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87880
2020-08-21 15:47:04 +00:00
Morgan Reschenberg
a37d79921f Bug 1658832: Add AXArticleSearchKey to MOXSearchInfo class. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D86869
2020-08-14 23:03:50 +00:00
Jonathan Kew
6e8e9ebce7 Bug 1660218 - Ensure consistent handling of portrait/landscape dimension swapping in nsPrintSettingsX. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87863
2020-08-21 14:24:25 +00:00
Emma Malysz
d7312180a8 Bug 1653389, show clearer error message if the start range is greater than the end range r=fluent-reviewers,mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D87676
2020-08-21 15:10:21 +00:00
Andrew Osmond
ec5b11d8c7 Bug 1660453 - Rollout WebRender to AMD Evergreen on early beta. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D87858
2020-08-21 15:09:40 +00:00
Mihai Alexandru Michis
3e266b539c Backed out changeset 80e6be24260d (bug 1654962) for causing bc failures in browser_modal_print.js
CLOSED TREE
2020-08-21 17:47:07 +03:00
Andrei Oprea
0d84d6441b Bug 1660201 - Don't try to access node on domwindowclosed in ToolbarPanelHub.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87758
2020-08-21 12:16:35 +00:00
Nicolas Chevobbe
0cd6331277 Bug 1659376 - Fix Browser Toolbox inspector when print preview is displayed.r=rcaliman.
The issue was that the getHighlighter request for the about:printpreview
target never settled. It appears that the document always stays in an
unitialized readyState, which was causing trouble.
Instead of relying only on readyState, we now call isDocumentReady, which
also checks if the document is loading.

Differential Revision: https://phabricator.services.mozilla.com/D87756
2020-08-21 11:56:51 +00:00
Nicolas Chevobbe
f9dc6cb44b Bug 1659376 - Extract isDocumentReady from WalkerActor to inspector utils file. r=rcaliman.
Differential Revision: https://phabricator.services.mozilla.com/D87755
2020-08-21 11:56:48 +00:00
Stephen A Pohl
f6a573510f Bug 1657743: Fix reftests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D86721
2020-08-21 14:01:44 +00:00
Stephen A Pohl
5f4dc8c6b3 Bug 1657743: Add ability to enable the new non-native theming on Android. r=emilio,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D86268
2020-08-21 14:01:44 +00:00
Mark Striemer
223bb33a6c Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-21 13:55:15 +00:00
James Graham
1d97269c5e Bug 1657876 - Improve parsing of the Firefox version string, r=marionette-reviewers,webdriver-reviewers,whimboo
This adds explicit support for esr versions. It also moves support for
parsing the `firefox --version` output in mozversion, so that geckodriver
isn't reimplementing part of the logic itself.

Differential Revision: https://phabricator.services.mozilla.com/D86346
2020-08-21 13:53:53 +00:00
Sebastian Hengst
0f2aef673e Backed out changeset 809409c1751f (bug 1623856) due to behavior change of feature widely used by developers.
See bug 1659473 for more discussion.
2020-08-21 15:51:50 +02:00
James Graham
8a9972eda9 Bug 1653294 - Ensure HTTP connections are closed in websocket tests, r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D87494
2020-08-19 11:27:12 +00:00
Andreas Pehrson
c77570b7c6 Bug 1660174 - Allow for some fuzziness in testing the same-frame timer. r=dminor
So far in bug 1660174 (5 failures tagged on Windows 7), the shortest duration
we have observed for the 1-second timer is 999.9ms. To be on the safe side I'm
allowing durations down to 999.5ms.

Differential Revision: https://phabricator.services.mozilla.com/D87798
2020-08-21 13:14:02 +00:00
Andreas Pehrson
0ae3dd912f Bug 1660144 - On disabling VideoFrameConverter, take a path that actually turns the frame black. r=jib
Depends on D87790

Differential Revision: https://phabricator.services.mozilla.com/D87791
2020-08-21 12:50:32 +00:00
Andreas Pehrson
ad66d3999a Bug 1660144 - Test video frame blackness in VideoFrameConverter gtests. r=dminor
This would have caught bug 1660144 before we landed bug 1652884.

Differential Revision: https://phabricator.services.mozilla.com/D87790
2020-08-20 19:31:28 +00:00
Andrew Osmond
e1c4e3d4a3 Bug 1640564 - Delete the blob commands when we delete the blob image template. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D87794
2020-08-21 13:11:29 +00:00
Honza Bambas
2bc91fef35 Bug 1657974 - MOZ_LOG schedule and run of FrameRequestCallback, r=froydnj
Depends on D86740

Differential Revision: https://phabricator.services.mozilla.com/D86741
2020-08-13 14:41:16 +00:00
Honza Bambas
b8311edfda Bug 1657968 - MOZ_LOG schedule and run of mFrameLoaderFinalizers, r=froydnj
Depends on D86739

Differential Revision: https://phabricator.services.mozilla.com/D86740
2020-08-13 14:41:16 +00:00
Honza Bambas
3135c5c5f9 Bug 1657961 - MOZ_LOG NotifyOffThreadScriptLoadCompletedRunnable dispatch and run spanning the JS helper thread off-main-thread parsing, r=froydnj
Depends on D86738

Differential Revision: https://phabricator.services.mozilla.com/D86739
2020-08-13 14:41:16 +00:00
Honza Bambas
13026539fa Bug 1657960 - MOZ_LOG schedule and run of mStyleFlushObservers and mLayoutFlushObservers, r=froydnj
Depends on D86737

Differential Revision: https://phabricator.services.mozilla.com/D86738
2020-08-13 14:41:15 +00:00
Honza Bambas
8c06001afd Bug 1657941 - Log the first paint in PresShell::Paint, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D86737
2020-08-13 14:39:45 +00:00
pctopgs
8a45fc2a0d Bug 1265275 - Removed using namespace mozilla::ipc; from PresentationIPCService.cpp r=smaug
Depends on D87720

Differential Revision: https://phabricator.services.mozilla.com/D87722
2020-08-21 11:37:17 +00:00
pctopgs
e4ee963b51 Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationIPCService.cpp. r=smaug
.

Differential Revision: https://phabricator.services.mozilla.com/D87720
2020-08-21 11:36:44 +00:00
Dão Gottwald
27e11b5285 Bug 1653944 - Support url_urlbar_override from top sites remote setting. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D87848
2020-08-21 10:14:49 +00:00
Jan Varga
094129f698 Bug 1659929 - QM_TRY/QM_TRY_VAR should use *CUSTOM_RET_VAL* instead of *CUSTOM_RET_VAR* internal macros; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D87566
2020-08-21 09:49:51 +00:00
Simon Giesecke
f77f8fd84c Bug 1659674 - Change BulkWrite to return mozilla::Result. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87419
2020-08-21 09:54:48 +00:00
André Bargull
5a605fed3d Bug 1659694 - Part 5: MLoadElementAndUnbox and MSpectreMaskIndex don't need MKeepAliveObject. r=jandem
Neither MLoadElementAndUnbox nor MSpectreMaskIndex can GC, so we don't need a
MKeepAliveObject instruction.

Differential Revision: https://phabricator.services.mozilla.com/D87564
2020-08-21 08:40:24 +00:00
André Bargull
5184229ee8 Bug 1659694 - Part 4: Transpile StoreDenseElementHole. r=jandem
`MStoreElement` with `needsHoleCheck=false` matches the Baseline implementation
of `StoreDenseElementHole`. `MStoreElementHole` handles more cases than the
Baseline (and Ion) implementation of StoreDenseElementHole`, namely it also
allows to set elements for `index > initializedLength`.

The `index > initializedLength` restriction for `StoreDenseElementHole` may be
lifted in the future when it's no longer necessary to call `noteHasDenseAdd()`
for Ion.

Differential Revision: https://phabricator.services.mozilla.com/D87563
2020-08-21 08:20:33 +00:00
André Bargull
d32cb99115 Bug 1659694 - Part 3: Transpile LoadDenseElementExistsResult. r=jandem
Using `MLoadElement` with `needsHoleCheck=true` to trigger a bailout when a
hole is encountered was slightly slower than the new `MGuardElementNotHole`
instruction from this patch, even though the `MLoadElement` from a `JSOp::In`
can be merged with a subsequent `MLoadElement` from a `JSOp::GetElem`. This
sequence happens for the common pattern of `if (i in array) val = array[i]`.

The magic value check in `LGuardElementNotHole` works without unboxing the
value, so it's possible using separate instructions leads to fewer register
dependencies (when compared to merging the `MLoadElement`), which helps
speculative execution. And because the loaded value may still be in a cache,
it doesn't matter to load it repeatedly.

Differential Revision: https://phabricator.services.mozilla.com/D87562
2020-08-21 08:20:29 +00:00
André Bargull
2dc6e4a5ff Bug 1659694 - Part 2: Change OperatorInI function to take int32 instead of uint32. r=jandem
The code generator uses a signed value and the value is implicitly coerced to
`int32_t` anyway (via `Int32Value`), so we might as well directly use `int32_t`
for that function.

Differential Revision: https://phabricator.services.mozilla.com/D87561
2020-08-21 08:14:26 +00:00
André Bargull
fe22407910 Bug 1659694 - Part 1: Replace non-writable array length failure paths with assertions. r=jandem
`StoreDenseElementHole` and `ArrayPush` are both preceded by shape guards and
are only attached when the object has a writable array length. That means the
generated code doesn't actually need to test `NONWRITABLE_ARRAY_LENGTH`,
because it's implied by the shape guard: Changing the array length to
non-writable through either `js::ArraySetLength` or `js::SetIntegrityLevel`
already changes the shape and thus invalidates the shape guard.

The same applies to the non-extensible bits, so we can assert that, too.

Drive-by change:
Remove the `thisarray->lengthIsWritable()` assertion in `tryAttachArrayPush`
because it's tested just a few lines earlier.

Differential Revision: https://phabricator.services.mozilla.com/D87560
2020-08-21 08:13:28 +00:00
Jan Varga
b7ae478543 Bug 1659693 - Support additional cleanup function in QM_TRY/QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D87431
2020-08-21 08:11:25 +00:00
Nicolas Chevobbe
f09694c73f Bug 1657310 - Attach target and thread from TargetList. r=jdescottes,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D85398
2020-08-21 09:22:48 +00:00
DesWurstes
041dc6bfcd Bug 1020254 - PDFParent should set the find clipboard. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D85140
2020-08-21 07:37:19 +00:00
Nicolas Chevobbe
ff0cbaa5e0 Bug 1660418 - Add context-fill to globe-small.svg. r=Honza.
This fixes the icon in the EvaluationContextSelector in dark mode.

Differential Revision: https://phabricator.services.mozilla.com/D87839
2020-08-21 07:38:44 +00:00
Jan Varga
64d2674507 Bug 1659689 - QM: Change return type of LoadCacheVersion to Result<int32_t, nsresult>; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D87430
2020-08-21 05:44:19 +00:00
Jan Varga
ee8d613f32 Bug 1659689 - QM: Change return type of LoadLocalStorageArchiveVersion to Result<int32_t, nsresult>; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D87429
2020-08-21 05:11:14 +00:00
Jan Varga
2d14cadbbe Bug 1659689 - QM: Change return type of IsLocalStorageArchiveInitialized to Result<bool, nsresult>; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D87428
2020-08-21 05:11:11 +00:00
Jan Varga
d238a70396 Bug 1659683 - QM: Record first initialization attempt directly in UpgradeStorageFrom* functions; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D87426
2020-08-21 05:11:03 +00:00