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

724512 Коммитов

Автор SHA1 Сообщение Дата
Emil Farisan 7a87d13818 Bug 1661434 - made content changes to some of the pages. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88727
2020-08-31 11:50:47 +00:00
Emil Farisan d68985630c Bug 1661434 - added debugging and taskcluster pages from MDN to in-tree. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88580
2020-08-31 11:16:52 +00:00
Emilio Cobos Álvarez 4953377ea0 Bug 1661137 - Decrement the document viewer's destroy blocker earlier. r=bobowen
Do it as soon as we're done printing, rather than waiting until the
print timer dies.

Differential Revision: https://phabricator.services.mozilla.com/D88569
2020-08-31 10:44:19 +00:00
Emilio Cobos Álvarez 07eda2fd53 Bug 1661867 - Create the print preview browser with the right userContextId. r=jwatt
This was a pre-existing bug that my patch uncovered it.

Co-Authored-By: Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D88772
2020-08-31 10:41:40 +00:00
Mihai Alexandru Michis e0f7ab5885 Backed out changeset bacd9a2d26c1 (bug 1658702) for causing hazard bustages in HTMLEditSubActionHandler.cpp
CLOSED TREE
2020-08-31 13:29:36 +03:00
Olli Pettay 907f39a20b Bug 1661753 - Don't return early from nsDocShell::UpdateURLAndHistory when only session-history-in-parent related code is running, r=peterv
Depends on D88450

Differential Revision: https://phabricator.services.mozilla.com/D88630
2020-08-30 16:35:11 +00:00
Olli Pettay 7d2b65e50b Bug 1661317 - Make loading session history entries for iframes work when session history lives in the parent process (step 1.5), r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D88450
2020-08-31 10:05:53 +00:00
Olli Pettay b07cfb3c72 Bug 1661317 - Make loading session history entries for iframes work when session history lives in the parent process (step 1), r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D88312
2020-08-28 16:50:58 +00:00
Emilio Cobos Álvarez 534c76762a Bug 1658302 - Don't reframe for changes to the placeholder attribute value. r=masayuki
We still reframe for additions / removals of the attribute because that
makes us create the placeholder <div>. We could avoid it if we created
it independently of the presence of the attribute but that seems like it
could regress perf for the case where there's no placeholder attribute,
which is probably common enough.

Differential Revision: https://phabricator.services.mozilla.com/D88724
2020-08-31 07:46:56 +00:00
Marcos Cáceres 2428a9d35d Bug 1661174 - restrict schemes supported by Web Share API r=mt
Restrict to "loadable" URLs. Also exclude blob URLs.

Differential Revision: https://phabricator.services.mozilla.com/D88371
2020-08-27 06:11:54 +00:00
Sylvestre Ledru 9c192aa9ca Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D88713
2020-08-31 09:23:02 +00:00
Noemi Erli 4d0b6a4061 Merge mozilla-central to autoland. a=merge CLOSED TREE 2020-08-31 12:24:15 +03:00
Noemi Erli 0c682c4f01 Backed out changeset db52cf052477 (bug 1660342) for causing Bug 1661364 a=backout 2020-08-31 12:15:29 +03:00
sotaro d97a94eb95 Bug 1661189 - Make directly texture bounded buffers are not held by AsyncImagePipelineManager::mTexturesInUseByGPU on Android r=mattwoodrow
For android SurfaceTexture and AndroidHardwareBuffer, GPU/hardware task end could be checked by android fence. Then their TextureHost do not need to be held by AsyncImagePipelineManager::mTexturesInUseByGPU.

Differential Revision: https://phabricator.services.mozilla.com/D88239
2020-08-30 04:41:24 +00:00
Olivier Tilloy f300a8180b Bug 1661715 - Move GTK function stubs to the correct section. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D88588
2020-08-30 23:15:30 +00:00
Jonathan Kew 8746e16a2f Bug 1533462 - Run font-info loader immediately for WPT tests, for more consistent behavior. r=jwatt
Depends on D88545

Differential Revision: https://phabricator.services.mozilla.com/D88546
2020-08-30 06:22:50 +00:00
Jonathan Kew b7d6067688 Bug 1533462 - Run font-info loader immediately for accessiblecaret and forms tests, for more consistent behavior. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D88545
2020-08-30 22:59:57 +00:00
Jonathan Kew 84a6685131 Bug 1533462 - Execute the deferred font-info loader immediately when running spell-check and animation mochitests, to avoid intermittent issues. r=jwatt
Depends on D87194

Differential Revision: https://phabricator.services.mozilla.com/D87195
2020-08-30 22:59:57 +00:00
Valentin Gosu 85ab52a052 Bug 1626486 - Use structured field value parser for COOP and COEP r=kershaw,annevk,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D88003
2020-08-25 14:27:34 +00:00
Masayuki Nakano a43b290e4e Bug 1658702 - part 2: Make `AutoDeleteRangesHandler::ComputeRangesToDelete()` handle the case deleting empty ancestor(s) r=m_kato
This patch implements computation of target ranges for this part:
https://searchfox.org/mozilla-central/rev/73a14f1b367948faa571ed2fe5d7eb29460787c1/editor/libeditor/HTMLEditSubActionHandler.cpp#3099-3141

This patch adds some utility methods for computing the ranges.  Currently,
it's not yet standardized, but the other browser engines look for leaf content
of another block when blocks are joined (or a block is deleted like this case).
Therefore, we follow the behavior basically, but different from the other
browsers, we should include invisible white-spaces into the range when they
are included.  That avoids the invisible white-spaces become visible when
web apps do something instead of us.  Note that utility methods have the code,
but this patch does not use it because in this case, we just delete a empty
block ancestor, not join it with previous/next block.

Differential Revision: https://phabricator.services.mozilla.com/D88377
2020-08-31 08:33:14 +00:00
Julian Descottes 4d4be17fbc Bug 1662058 - Add fallback to get pref devtools.overflow.debugging.enabled from server r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D88767
2020-08-31 08:37:13 +00:00
Noemi Erli 701f312bbc Backed out 3 changesets (bug 1649595, bug 1649596, bug 1649593) for causing failures in ExtensionParent.jsm
Backed out changeset ff93a88d2de2 (bug 1649596)
Backed out changeset df182a7545bb (bug 1649595)
Backed out changeset 75df9f571169 (bug 1649593)
2020-08-31 11:17:27 +03:00
Mihai Alexandru Michis 261d01524b Backed out changeset d0f173a90792 (bug 1519636) for causing bustages.
CLOSED TREE
2020-08-31 10:14:58 +03:00
Sylvestre Ledru 86c0cc26c0 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D88714
2020-08-31 06:51:29 +00:00
Sylvestre Ledru 939dd426e6 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D88713
2020-08-31 06:51:21 +00:00
Mark Hammond 7bd59b04db Bug 1658498 - Untangle bookmark engine tests to make removal of the legacy engine easier. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D86684
2020-08-31 06:39:55 +00:00
Makoto Kato 21e3ca0fea Bug 1661621 - Add more emoji reftests for keycap and skintone. r=jfkthame
This is follow up issue of bug 1371386.

After landing it, some reftests for keycap and skintone are successful.

Differential Revision: https://phabricator.services.mozilla.com/D88539
2020-08-31 04:46:17 +00:00
Ting-Yu Lin a4ceb26acb Bug 1641085 Part 7 - Simplify the definition of FrameListPropertyDescriptor. r=mats
It's easier to jump to the definition of FrameListPropertyDescriptor in editors
without too many indirections.

Differential Revision: https://phabricator.services.mozilla.com/D88461
2020-08-29 00:22:45 +00:00
Ting-Yu Lin 71a0063df5 Bug 1641085 Part 6 - Remove GetPropTableFrames() and RemovePropTableFrames() in nsContainerFrame. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D88460
2020-08-29 00:22:43 +00:00
Ting-Yu Lin a69c3e6644 Bug 1641085 Part 5 - Remove SetPropTableFrames() in nsContainerFrame. r=mats
We already use SetProperty() extensively for nsFrameList properties like
OutsideMarkerProperty(), BackdropProperty(), etc, so we can simplify the
interface by removing SetPropTableFrames().

Differential Revision: https://phabricator.services.mozilla.com/D88459
2020-08-29 00:22:41 +00:00
Ting-Yu Lin f6a350f66e Bug 1641085 Part 4 - Revise DrainAndMergeSelfOverflowList() so that it's free of explicit allocation and deletion of nsFrameList. r=mats,emilio
Because the frame property look-up is expensive, change the
SetOverflowFrames(), SetOverflowContainers(), and
SetExcessOverflowContainers() to return the frame list so that the
caller don't need to use Get methods to retrieve it again.

Differential Revision: https://phabricator.services.mozilla.com/D88458
2020-08-31 04:06:26 +00:00
Ting-Yu Lin 9cb3f93c40 Bug 1641085 Part 3 - Add APIs to manipulate excess overflow containers list. r=mats
This patch is similar to Part 2, but for adding APIs for
ExcessOverflowContainersProperty().

Differential Revision: https://phabricator.services.mozilla.com/D88457
2020-08-29 00:22:31 +00:00
Ting-Yu Lin 45b86ae08f Bug 1641085 Part 2 - Add APIs to manipulate overflow containers list. r=mats
Not all APIs added in this patch are used immediately, but for the sake of
completeness, they are all added.

Their document will be updated in Part 3 after adding the relevant APIs for
ExcessOverflowContainersProperty().

nsContainerFrame::DrainExcessOverflowContainersList() has several calls to set
OverflowContainersProperty() whose life cycle need special attention. We will
deal with them later in Part 4.

Differential Revision: https://phabricator.services.mozilla.com/D88456
2020-08-29 00:22:23 +00:00
Ting-Yu Lin 0076add365 Bug 1641085 Part 1 - Add move semantic to nsFrameList, and use it on SetOverflowFrames(). r=mats
It's useful to use `std::move()` to indicate the frames' ownership in one list
is transferred to the another list.

For a frame list managed by AutoFrameListPtr, after moving its frames to
another list, it can be automatically deleted when it is going out of
scope.

Differential Revision: https://phabricator.services.mozilla.com/D88455
2020-08-29 00:22:16 +00:00
Masayuki Nakano cb8cfd084a Bug 1658702 - part 1: Create a path to compute target ranges of deleting edit actions for `beforeinput` events on `HTMLEditor` r=m_kato
In strictly speaking, we should use same computed target ranges for any edit
actions which causes removing non-collapsed selection.  However, for now,
this patch makes only `DeleteSelectionAsAction()` because it's not so important
differences for shipping `beforeinput` in Nightly channel.

Differential Revision: https://phabricator.services.mozilla.com/D88376
2020-08-31 03:48:39 +00:00
Ting-Yu Lin e7a3e6870c Bug 1661874 Part 4 - Simplify the condition to set colData.mHasExcessBSize to true. r=heycam
nsColumnSetFrame's ComputedBSize() and ComputedMaxBSize() are always
NS_UNCONSTRAINEDSIZE.

Differential Revision: https://phabricator.services.mozilla.com/D88700
2020-08-31 03:45:38 +00:00
Ting-Yu Lin 7ffc02eb41 Bug 1661874 Part 3 - Reverse the meaning of skipIncremental and rename it. r=heycam
I feel skipIncremental is hard to reasoning. It's easier to list all the
possible reasons that the child needs to be reflowed again.

Differential Revision: https://phabricator.services.mozilla.com/D88699
2020-08-31 03:45:23 +00:00
Ting-Yu Lin be1519920a Bug 1661874 Part 2 - Remove the support of ColumnSetFrame being an abs.pos container. r=heycam
The support of this was added in
https://hg.mozilla.org/mozilla-central/rev/fb0790d28846

After supporting column-span, ColumnSetFrame isn't the top-level
multicol container anymore, and is not served as an abs.pos container.
Thus, we can simply the reflow code a bit.

Differential Revision: https://phabricator.services.mozilla.com/D88698
2020-08-31 03:45:15 +00:00
Ting-Yu Lin 218e47c67f Bug 1661874 Part 1 - Rename mColMaxBSize to mColBSize in ReflowConfig. r=heycam
Rename so that its naming is consistent with ReflowConfig::mColISize,
and to avoid confusion with ColumnBalanceData::mMaxBSize.

Differential Revision: https://phabricator.services.mozilla.com/D88697
2020-08-31 03:45:13 +00:00
Keefer Rourke 715c10338f Bug 1649596: Use IOUtils instead of OS.File in CrashService.jsm r=barret,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87495
2020-08-28 15:51:04 +00:00
Keefer Rourke b26b303daf Bug 1649595: Use IOUtils instead of OS.File in CrashMonitor.jsm r=barret
Differential Revision: https://phabricator.services.mozilla.com/D87488
2020-08-28 15:50:56 +00:00
Keefer Rourke 4e01f4b54f Bug 1649593: Use IOUtils instead of OS.File in ExtensionParent.jsm r=barret,zombie
Differential Revision: https://phabricator.services.mozilla.com/D87483
2020-08-28 15:50:41 +00:00
Andrew Halberstadt 36bafe8efd Bug 1655750 - [tryselect] Handle --list/edit-presets even on selectors that don't support presets, r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D88645
2020-08-30 17:44:20 +00:00
Paul Bone d4a42076ec Bug 1661884 - Update link to DMD docs r=njn
Differential Revision: https://phabricator.services.mozilla.com/D88706
2020-08-31 01:23:59 +00:00
Jonathan Kew 936d5b55b1 Bug 1533462 - Execute the deferred font-info loader immediately when running reftests, to avoid intermittent issues due to async completion triggering an extra reflow mid-test. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87194
2020-08-21 14:28:50 +00:00
Jonathan Kew 755977bdb4 Bug 1533462 - Update expectations in mainthreadio.js for behavior when shared fontlist is enabled. r=jwatt
Depends on D87177

Differential Revision: https://phabricator.services.mozilla.com/D87178
2020-08-21 14:25:41 +00:00
Razvan Maries b16f595134 Backed out changeset b99610a6833f (bug 1661427) for Talos perma failures. 2020-08-30 21:13:42 +03:00
André Bargull 7144bdce89 Bug 1660599: Only StoreDenseElementHole with handleAdd=true guarantees writable array length. r=jandem
We can only assert that the array length is writable for the
`handleTrue = true` case. This also requires to reintroduce the writable array
length check to the Ion IC code.

Added tests to cover multiple scenarios where the StoreDenseElementHole IC is
used.

Differential Revision: https://phabricator.services.mozilla.com/D88031
2020-08-28 09:18:50 +00:00
Kartikaya Gupta bff55b334f Bug 1661745 - Defer calls to NotifyApzTransaction until all the metadata are built. r=mattwoodrow
There are cases where the code rebuilds the ScrollMetadata for a scrollframe
multiple times. This violates implicit assumptions in the NotifyApzTransaction
code that it will only be called after the ScrollMetadata is built for a particular
transaction. This patch moves the NotifyApzTransaction call to the end of the
metadata-building phase so that those assumptions are upheld.

Differential Revision: https://phabricator.services.mozilla.com/D88650
2020-08-30 05:11:38 +00:00
Philipp Fischbeck 7c1c23dbfc Bug 1622680 - Make dom/canvas flake8 compliant. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88734
2020-08-30 10:20:51 +00:00