Commit Graph

10684 Commits

Author SHA1 Message Date
Masayuki Nakano
229b5deba5 Bug 1727185 - Add MOZ_DIAGNOSTIC_ASSERT to the constructors of DeleteNodeTransaction and SplitNodeTransaction and make their users return error before hitting it r=m_kato
On Thunderbird, we still have a bug to delete `<html>` and `<body>` elements
(bug 1727201).  However, it's hard to know where deletes the unexpected elements
from warning messages in the log.  Additionally, it's really serious bug
because editor and layout code rely on the basic structure of HTML document.
Therefore, we should block the worst scenario before deleting such nodes.

Differential Revision: https://phabricator.services.mozilla.com/D123418
2021-08-25 00:39:41 +00:00
Masayuki Nakano
8af22120f6 Bug 1726532 - part 3: Make TextServicesDocument check whether a sibling content is <br> or not when checking whether a block or inline r=m_kato
This is a regression of bug 1311934.  The traditional
`TextServicesDocument::IsBlockNode()` was wrong name, the users of the method
intent to check whether a word is not split by the found sibling.  Therefore,
the method returned `true` for `<br>` element.  However, of course,
`HTMLEditUtils::IsBlockElement()` is not so because of an inline element.

For making the callers clearer, this patch adds `<br>` element check into
each place.  Without this patch, the new test fails to replace a misspelled
word immediately after `<br>` element.

Depends on D123283

Differential Revision: https://phabricator.services.mozilla.com/D123284
2021-08-24 03:29:21 +00:00
Masayuki Nakano
922488424d Bug 1726532 - part 1: Make OffsetEntryArray::WillSetSelection() use offset in text node when it sets a DOM node point r=m_kato
This is a mistake at replacing the argument value `aOffset` to
`aOffsetInTextInBlock`.
https://searchfox.org/mozilla-central/diff/886c96059ef6408618040356017028621bc574b9/editor/spellchecker/TextServicesDocument.cpp#1662

And also make `mozSpellChecker::Replace()` stop replacing if
`TextServicesDocument` fails to set selection or insert text because if
`TextServicesDocument` succeeded to insert text, but failed to delete text,
the loop becomes an infinite loop.

Differential Revision: https://phabricator.services.mozilla.com/D123282
2021-08-24 03:29:21 +00:00
Masayuki Nakano
984b60a1b6 Bug 1727008 - HTMLEditor shouldn't strip <html> element nor <body> elements r=m_kato
The new editor utility method does not stop scanning editable elements even if
it reaches the document root nor the (primary) `<body>` element.  Of course,
they should stop there if scanning editable block.  And
`ScanEmptyBlockInclusiveAncestor()` shouldn't store the removable empty block
element to them.

Differential Revision: https://phabricator.services.mozilla.com/D123316
2021-08-23 10:05:32 +00:00
Andi-Bogdan Postelnicu
9945b94835 Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio
Updated with clang-format version 12.0.1 (taskcluster-dNZqCRqWRTqa6cZxPKxh7Q)

Differential Revision: https://phabricator.services.mozilla.com/D122814
2021-08-23 09:30:23 +00:00
Masayuki Nakano
0c5d9df685 Bug 1726064 - part 21: Make HTMLEditor::AdjustCaretPositionAndEnsurePaddingBRElement() use HTMLEditUtils::Get(Inclusive)AncestorElement() r=m_kato
I have no idea how to test this because this method is a clean up method
after handling everything.  This patch just adds same editing host check,
but the others are not changed.

Finally, the legacy APIs are not used anymore.  So, let's remove them!

Differential Revision: https://phabricator.services.mozilla.com/D123075
2021-08-23 06:39:39 +00:00
Masayuki Nakano
7895de5264 Bug 1726064 - part 20: Make HTMLEditor::RemoveBlockContainerElements() use HTMLEditUtils::GetAncestorElement() r=m_kato
Depends on D123073

Differential Revision: https://phabricator.services.mozilla.com/D123074
2021-08-23 06:27:39 +00:00
Masayuki Nakano
4cca5d2f25 Bug 1726064 - part 19: Make HTMLEditor::SelectBRElementIfCollapsedInEmptyBlock() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
I have no idea how to write test for this kind of preparation method of
following range computation to do something.

Depends on D123072

Differential Revision: https://phabricator.services.mozilla.com/D123073
2021-08-23 05:50:43 +00:00
Masayuki Nakano
c23029f7d5 Bug 1726064 - part 18: Make HTMLEditor::HandleCSSIndentAtSelectionInternal() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
Depends on D123071

Differential Revision: https://phabricator.services.mozilla.com/D123072
2021-08-23 05:35:12 +00:00
Masayuki Nakano
2ac70cba92 Bug 1726064 - part 17: Make HTMLEditor::FormatBlockContainerWithTransaction() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
Depends on D123070

Differential Revision: https://phabricator.services.mozilla.com/D123071
2021-08-23 05:08:42 +00:00
Masayuki Nakano
60f1ec0712 Bug 1726064 - part 16: Make HTMLEditor::InsertParagraphSeparatorAsSubAction() use HTMLEditUtils::Get(Inclusive)AncestorElement() and HTMLEditUtils::IsSplittableNode() r=m_kato
Comparing found editable block with editing host does not make sense if
focused editing host has another editing host and selection is in the
child editing host since the child editing host should be compared with the
found block element.  Therefore, this patch makes it use `IsSplittableNode()`
instead of the comparing.

Depends on D123069

Differential Revision: https://phabricator.services.mozilla.com/D123070
2021-08-23 03:11:25 +00:00
Masayuki Nakano
d8027365e3 Bug 1726064 - part 15: Make HTMLEditor::EnsureCaretNotAfterPaddingBRElement() use HTMLEditUtils::Get(Inclusive)AncestorElement() r=m_kato
The method assumes two wrong things:
* The padding `<br>` element flag may not be set (another bug)
* There may be `<br>` element which is created by the web app

But its callers want to put caret at **invisible** `<br>` element if selection
is collapsed after it.  Therefore, this patch fixes the method for passing
the new tests and rename it.

And also this patch changes the expected result of some tests in `inserthtml.js`
because their expected result are based on Gecko, i.e., both Blink/WebKit
fail, but their result is better for keeping the invisible `<br>` element
visibility.
https://wpt.fyi/results/editing/run/inserthtml.html?run_id=5747864689967104&run_id=5201845715730432&run_id=5735315550502912&run_id=5763864667881472

Depends on D123068

Differential Revision: https://phabricator.services.mozilla.com/D123069
2021-08-22 21:38:20 +00:00
Masayuki Nakano
d543ed3a3b Bug 1726064 - part 14: Make AutoDeleteRangesHandler::ExtendRangeToIncludeInvisibleNodes() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
I have no idea how to test this without making unrealistic cases with legacy
mutation event listeners because now, Gecko ignores selection ranges which
crosses editing host boundaries when it tries to delete selection.
* https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/editor/libeditor/HTMLEditorDeleteHandler.cpp#1120
* https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/editor/libeditor/EditorUtils.cpp#137
* https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/editor/libeditor/EditorUtils.cpp#119-125

And invisible white-spaces appear end of a block or start of a block, i.e.,
both block parents in the range boundaries are always editable in normal cases.
So, such range should be ignored first.

Depends on D123067

Differential Revision: https://phabricator.services.mozilla.com/D123068
2021-08-22 21:32:21 +00:00
Andi-Bogdan Postelnicu
75ed803f7c Bug 1725145 - fixes for linking in the hybrid build env. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D122344
2021-08-22 10:21:56 +00:00
Masayuki Nakano
368e3f0587 Bug 1726064 - part 13: Make AutoEmptyBlockAncestorDeleter::ScanEmptyBlockInclusiveAncestor() use HTMLEditUtils::Get(Inclusive)AncestorElement() r=m_kato
Additionally, the given content may be in a nested editing host.  Then, this
method may delete a nested-block editing host if it's empty.  Therefore,
this patch get rid of `aEditingHost` and check same thing with
`HTMLEditUtils::IsRemovableFromParentNode()`.

Depends on D123066

Differential Revision: https://phabricator.services.mozilla.com/D123067
2021-08-21 21:28:52 +00:00
Masayuki Nakano
125fa92a05 Bug 1726064 - part 12: Make HTMLEditor::CanMoveOrDeleteSomethingInHardLine() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
I have no idea how to test this, but I believe that checking non-editable
block element must be correct here because it checks whether the block is
empty or not for merging lines.

Depends on D123029

Differential Revision: https://phabricator.services.mozilla.com/D123066
2021-08-21 21:28:52 +00:00
Masayuki Nakano
ebe0fb97bc Bug 1726064 - part 11: Make AutoBlockElementsJoiner::PrepareToDeleteNonCollapsedRanges() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
I have no idea how to test this without making unrealistic cases with legacy
mutation event listeners because now, Gecko ignores selection ranges which
crosses editing host boundaries when it tries to delete selection.
* https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/editor/libeditor/HTMLEditorDeleteHandler.cpp#1120
* https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/editor/libeditor/EditorUtils.cpp#137
* https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/editor/libeditor/EditorUtils.cpp#119-125

So, `aRangesToDelete.FirstRangeRef()` shouldn't be in different editing host.

Depends on D122948

Differential Revision: https://phabricator.services.mozilla.com/D123029
2021-08-21 06:55:16 +00:00
Masayuki Nakano
b5c52e9e20 Bug 1726064 - part 10: Make the constructor of AlignStateAtSelection use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
The "state" is not limited by editing host nor editable nodes.  Therefore, it
should keep scanning ancestor block element without checking editable state.

Differential Revision: https://phabricator.services.mozilla.com/D122948
2021-08-20 22:17:02 +00:00
Masayuki Nakano
593b780331 Bug 1726064 - part 9: Make TextServicesDocument::HasSameBlockNodeParent() use HTMLEditUtils::GetAncestorElement() r=m_kato
For keeping current behavior, the options should be set to
`HTMLEditUtils::ClosestEditableBlockElement`, but it may cause returning
`nullptr` if the text node is in an inline editing host, and also cause
returning true from the method even when the text nodes are in different
inline editing hosts.  Therefore, this patch uses
`HTMLEditUtils::ClosestEditableBlockElementOrInlineEditingHost` instead.

Differential Revision: https://phabricator.services.mozilla.com/D122947
2021-08-20 11:12:08 +00:00
Masayuki Nakano
357aed8e64 Bug 1726064 - part 8: Make HTMLEditor::HTMLWithContextInserter::InsertContents() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122946
2021-08-20 08:52:28 +00:00
Masayuki Nakano
b7b4e78c71 Bug 1726064 - part 7: Make HTMLEditor::SetCSSBackgroundColorWithTransaction() use HTMLEditUtils::Get(Inclusive)AncestorElement() r=m_kato
This patch fixes a bug of setting background color of block parent.  It should
not work with `contenteditable` in the comm-central applications, but we should
make it modify only editable block parent.

Differential Revision: https://phabricator.services.mozilla.com/D122945
2021-08-20 06:37:14 +00:00
Masayuki Nakano
f5c84ad9eb Bug 1726064 - part 6: Make HTMLEditor::RemoveEmptyInclusiveAncestorInlineElements() use HTMLEditUtils::GetAncestorElement() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122944
2021-08-20 02:20:21 +00:00
Masayuki Nakano
f26a93d0a1 Bug 1726064 - part 5: Make HTMLEditor::GetCSSBackgroundColorState() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
With the new tests, I see the implementation is completely broken.  It tries
to return block level element's background color, but it assumes that inline
elements are never parent of block elements.  Therefore, this patch fixes the
bug too.

Note that this feature (retrieving only block level background color) is
Gecko specific and not available from the web.  Therefore, it tests this change
with XPCOM interfaces directly.

Differential Revision: https://phabricator.services.mozilla.com/D122943
2021-08-19 22:05:18 +00:00
Masayuki Nakano
ffacdefc1d Bug 1726064 - part 4: Make HTMLEditor::HandleKeyPressEvent() use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122942
2021-08-19 12:40:51 +00:00
Gijs Kruitbosch
d90c0bb57f Bug 1724718 - skip some XUL-y tests on android, r=emilio,agi
Depends on D122663

Differential Revision: https://phabricator.services.mozilla.com/D122664
2021-08-19 12:13:01 +00:00
Masayuki Nakano
11ff3c8e0d Bug 1726064 - part 3: Make HTMLEditor::MaybeCollapseSelectionAtFirstEditableNode() use HTMLEditUtils::GetAncestorElement() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122941
2021-08-19 10:39:44 +00:00
Masayuki Nakano
2a6f988711 Bug 1726064 - part 2: Get rid of HTMLEditUtils::GetInclusiveAncestorBlockElementExceptHRElement r=m_kato
It does not check whether it meets a non-editable parent or not.  Therefore,
it may cross another editing host boundary when `aContent` is in a nested
editing host.

So, this patch fixes some edge cases when editing hosts are nested and
scanning from inner editing host.

Differential Revision: https://phabricator.services.mozilla.com/D122940
2021-08-19 06:55:13 +00:00
Masayuki Nakano
15cd88ce28 Bug 1726064 - part 1: Redesign HTMLEditUtils::ClosestEditableBlockElementOrEditingHost() with enum class r=m_kato
There are a lot of ancestor scanners in `HTMLEditUtils`.  This is good thing
for the performance, but it makes us hard to maintain.  Therefore, we should
merge them as far as possible.

Differential Revision: https://phabricator.services.mozilla.com/D122939
2021-08-19 05:39:16 +00:00
Masayuki Nakano
60811c73f8 Bug 1726080 - Make TextServicesDocument and OffsetEntryArray use raw pointer of OffsetEntry instead of reference to UniquePtr r=m_kato
If array size grows up, the array data may be reallocated.  Therefore, after
getting a reference of an array item, we shouldn't modify array.

This makes them use raw pointer if they need to modify the array.  Otherwise,
keep using the reference, but adds a stack class to detect the bug only in debug
build.

Differential Revision: https://phabricator.services.mozilla.com/D122920
2021-08-18 11:49:50 +00:00
Masayuki Nakano
6a5aa08b3c Bug 1725930 - Make TextServicesDocument::HasSameBlockNodeParent refer 2nd text node as expected r=m_kato
This is just a simple mistake, but I'm not sure how this break the callers.
Therefore, I don't have a testcase for this.

Differential Revision: https://phabricator.services.mozilla.com/D122705
2021-08-17 09:39:13 +00:00
Masayuki Nakano
13e75af6ad Bug 1725291 - part 3: Make WhiteSpaceVisibilityKeeper::MergeFirstLineOf(Right|Left)BlockElementIntoDescendant(Left|Right)BlockElement() abort handling it if joining elements become non-editable r=m_kato
They clean up the tail of descendant block first.  At this time, running script
may change one of or both of the left block element and the right block element.
In such situation, they should stop handling to join the blocks because of
unexpected case.

Depends on D122562

Differential Revision: https://phabricator.services.mozilla.com/D122565
2021-08-17 00:45:45 +00:00
Masayuki Nakano
0fb8b7b602 Bug 1725291 - part 2: Make HTMLEditor::OnEndHandlingTopLevelEditSubActionInternal() guarantee that WhiteSpaceVisibilityKeeper::NormalizeVisibleWhiteSpacesAt() is called with editable point r=m_kato
If the point is not editable, white-spaces around it shouldn't be normalized.

Differential Revision: https://phabricator.services.mozilla.com/D122562
2021-08-17 00:04:16 +00:00
Masayuki Nakano
b3793d04e4 Bug 1725291 - part 1: Make HTMLEditor::AutoDeleteRangesHandler::DeleteUnnecessaryNodesAndCollapseSelection() try to delete same text node twice r=m_kato
It tries to delete a text node if it's invisible both selection start and
selection end.  However, the selection range may be in a text node.  If it's
an invisible, the node is deleted at first call of
`DeleteNodeIfInvisibleAndEditableTextNode()`, but it keep trying to remove
again with same method.

Differential Revision: https://phabricator.services.mozilla.com/D122561
2021-08-16 13:04:21 +00:00
Masayuki Nakano
2b288fd8d0 Bug 1636541 - Add reported testcase into the tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122548
2021-08-13 12:16:33 +00:00
Masayuki Nakano
8f7d5cd728 Bug 1626002 - Add reported testcase into the tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122547
2021-08-13 12:16:32 +00:00
Masayuki Nakano
ba5f5f3c5d Bug 1623166 - Add reported testcase into the tree r=m_kato
The test causes different assertion count between platforms.  As the comment in
crashtests.list, the difference is whether "removeList" command enabled check
is run at getting focus or not.  Perhaps, the difference is caused by whether
HTML commands are initialized before or after executing "indent" command.

Differential Revision: https://phabricator.services.mozilla.com/D122546
2021-08-13 12:16:32 +00:00
Masayuki Nakano
e7e6a469c6 Bug 1725323 - Make HTMLEditor::MaybeCollapseSelectionAtFirstEditableNode() not use WSRunScanner::ScanNextVisibleNodeOrBlockBoundary() for searching editable content r=m_kato
`WSRunScanner::ScanNextVisibleNodeOrBlockBoundary()` is designed for scanning
editable content so that it's wrong to use it for scanning first editable leaf
node.

Differential Revision: https://phabricator.services.mozilla.com/D122479
2021-08-13 07:39:13 +00:00
Masayuki Nakano
91fed01266 Bug 1723895 - Make WhiteSpaceVisibilityKeeper::ReplaceText() call GetInclusiveNextNBSPPointIfNeedToReplaceWithASCIIWhiteSpace with end of the replacing range instead of start of it r=m_kato
It tries to replace a following NBSP with an ASCII white-space if there is.
However, it calls the scan method with start of the replacing range.  Therefore,
the assertion in `GetInclusiveNextNBSPPointIfNeedToReplaceWithASCIIWhiteSpace()`
detects this bug.

Note that this occurs only when updating composition string because it's
called with non-collapsed range only for doing it.  Otherwise, selected range
has already been deleted by `HTMLEditor::DeleteSelectionAsSubAction()`.

Unfortunately, I don't have how to make this bug appear.  It seems that the
path does nothing in the wild because it tries to replace a first character
of composition string from an NBSP to a normal white-space, but it'll be
replaced with new composition string anyway.  Therefore, this patch does not
have new tests.

Differential Revision: https://phabricator.services.mozilla.com/D122182
2021-08-10 23:41:19 +00:00
Gijs Kruitbosch
3355c934ef Bug 1724718 - forget AddTask.js ever existed as bug 1544051 already removed it, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D122166
2021-08-10 22:33:06 +00:00
Makoto Kato
a6944a1428 Bug 1719110 - Add nsIEditorSpellCheck.suggest to get rid of PRemoteSpellcheckEngine.CheckAndSuggest. r=masayuki
When getting suggestions from spellchecker's result, we use sync IPC
(`PRemoteSpellcheckEngine.CheckAndSuggest`). This is used by showing context
menu only on Gecko. So I think that we can remove this IPC if we add async API
to get spellchecker suggestions.

And in comm-central's code, `CheckCurrentWord` and `GetSuggestedWord` seems to
use on spellchecker dialog (content/dialogs/EdSpellCheck.js in mail and suite)
that runs on parent process. So c-c won't use this IPC method.

So I would like to add the promise version of getting spellchecker's
suggestion.

Differential Revision: https://phabricator.services.mozilla.com/D119936
2021-08-10 03:55:25 +00:00
Masayuki Nakano
53bef623bf Bug 1717760 - Stop using KeyEvent.initKeyEvent in our tests r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121028
2021-08-10 03:51:37 +00:00
Emilio Cobos Álvarez
baf18c5198 Bug 1723921 - Throw on invalid pseudo-elements in getComputedStyle() as per spec. r=dholbert,layout-reviewers
I need to update tests, try incoming.

Depends on D121705

Differential Revision: https://phabricator.services.mozilla.com/D121706
2021-08-07 09:55:55 +00:00
Emilio Cobos Álvarez
2d0a072174 Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame
This will make implementing the new behavior behind a pref
really straight-forward, and is generally nicer.

Depends on D121858

Differential Revision: https://phabricator.services.mozilla.com/D121705
2021-08-07 09:47:15 +00:00
Kagami Sascha Rosylight
948c17135b Bug 1724225 - Part 1: Replace dragexit with dragleave in editor/libeditor/ r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D121193
2021-08-07 09:29:18 +00:00
Geoff Brown
1bc378075c Bug 1724296 - Remove many skip-if(verify) test annotations (reftest-plain); r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121920
2021-08-06 13:25:49 +00:00
Masayuki Nakano
1d519835ab Bug 1722748 - Make TextServicesDocument::OffsetEntryArray::RemoveInvalidElements() adjust selection indexes when middle of the selection start and end entry is removed r=m_kato
It handles selection indexes really roughly since it does it only when
start index is same or greater then removing index.  So, only end index
may be greater than the removing index, and if the start index is 0, it
sets `-1` to selection start.

I don't find any other issues around setting selection indexes.  However,
for detecting wrong selection index management, this patch adds
`MOZ_DIAGNOSTIC_ASSERT` to every setter.

Differential Revision: https://phabricator.services.mozilla.com/D121592
2021-08-04 04:40:38 +00:00
Masayuki Nakano
6122a660a0 Bug 1723125 - Ignore normal selection when updating composition string r=m_kato
Web apps can modify normal selection even during IME composition and no
browsers stop composition by it.  However, our editor tries to delete
non-collapsed selected range before updating composition.  Therefore,
we need additional state at handling inserting text whether selection
should be deleted or ignored.

Depends on D121371

Differential Revision: https://phabricator.services.mozilla.com/D121372
2021-08-02 08:23:50 +00:00
Masayuki Nakano
c177665684 Bug 1722535 - Make HTMLEditor call HTMLEditUtils::GetBetterInsertionPoint() with an editing host which is not limited in the <body> r=m_kato
Previously, `HTMLEditor::GetBetterInsertionPoint()` didn't check whether
given point is in an editing host or not.  However, now
`HTMLEditUtils::GetBetterInsertionPoint()` does it with editing host which
is returned by `HTMLEditor::GetActiveEditingHost(LimitInBodyElement::No)`.
However, the old behavior is exactly same as
`HTMLEditor::GetActiveEditingHost(LimitInBodyElement::Yes)` if editing host
is outside the `<body>` element.

For taking back the original behavior, we should call the method with the
result of the latter.

Differential Revision: https://phabricator.services.mozilla.com/D121370
2021-08-02 08:23:49 +00:00
Andrew Osmond
6f3d06c7cb Bug 1722726 - Move Linux tsan tests to WebRender. r=jmaher
autoland

--- target_task_set@32af9322f9bf
+++ target_task_set@ao_ci_linux_tsan
-test-linux1804-64-tsan/opt-crashtest-e10s
-test-linux1804-64-tsan/opt-mochitest-a11y-1proc
-test-linux1804-64-tsan/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-tsan/opt-mochitest-media-e10s
-test-linux1804-64-tsan/opt-mochitest-media-fis-e10s
-test-linux1804-64-tsan/opt-mochitest-media-fis-gli-e10s
-test-linux1804-64-tsan/opt-mochitest-media-gli-e10s
-test-linux1804-64-tsan/opt-mochitest-media-spi-e10s
-test-linux1804-64-tsan/opt-mochitest-plain-e10s
-test-linux1804-64-tsan/opt-mochitest-plain-fis-e10s
-test-linux1804-64-tsan/opt-reftest-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-fis-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-reftest-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-reftest-fis-e10s
-test-linux1804-64-tsan/opt-xpcshell-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-noqr-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-swr-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-a11y-1proc
+test-linux1804-64-tsan-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-fis-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-fis-gli-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-gli-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-spi-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-plain-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-plain-fis-e10s
+test-linux1804-64-tsan-qr/opt-reftest-e10s
+test-linux1804-64-tsan-qr/opt-reftest-noqr-e10s
+test-linux1804-64-tsan-qr/opt-reftest-swr-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-fis-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-reftest-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-reftest-fis-e10s
+test-linux1804-64-tsan-qr/opt-xpcshell-e10s

mozilla-central

--- target_task_set@32af9322f9bf
+++ target_task_set@ao_ci_linux_tsan
-test-linux1804-64-tsan/opt-crashtest-e10s
-test-linux1804-64-tsan/opt-mochitest-a11y-1proc
-test-linux1804-64-tsan/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-tsan/opt-mochitest-media-e10s
-test-linux1804-64-tsan/opt-mochitest-media-fis-e10s
-test-linux1804-64-tsan/opt-mochitest-media-fis-gli-e10s
-test-linux1804-64-tsan/opt-mochitest-media-gli-e10s
-test-linux1804-64-tsan/opt-mochitest-media-spi-e10s
-test-linux1804-64-tsan/opt-mochitest-plain-e10s
-test-linux1804-64-tsan/opt-mochitest-plain-fis-e10s
-test-linux1804-64-tsan/opt-reftest-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-fis-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-reftest-e10s
-test-linux1804-64-tsan/opt-web-platform-tests-reftest-fis-e10s
-test-linux1804-64-tsan/opt-xpcshell-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-noqr-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-swr-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-a11y-1proc
+test-linux1804-64-tsan-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-fis-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-fis-gli-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-gli-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-media-spi-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-plain-e10s
+test-linux1804-64-tsan-qr/opt-mochitest-plain-fis-e10s
+test-linux1804-64-tsan-qr/opt-reftest-e10s
+test-linux1804-64-tsan-qr/opt-reftest-noqr-e10s
+test-linux1804-64-tsan-qr/opt-reftest-swr-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-fis-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-reftest-e10s
+test-linux1804-64-tsan-qr/opt-web-platform-tests-reftest-fis-e10s
+test-linux1804-64-tsan-qr/opt-xpcshell-e10s

mozilla-release

--- target_task_set@32af9322f9bf
+++ target_task_set@ao_ci_linux_tsan
-test-linux1804-64-tsan/opt-crashtest-e10s
-test-linux1804-64-tsan/opt-reftest-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-noqr-e10s
+test-linux1804-64-tsan-qr/opt-crashtest-swr-e10s
+test-linux1804-64-tsan-qr/opt-reftest-e10s
+test-linux1804-64-tsan-qr/opt-reftest-noqr-e10s
+test-linux1804-64-tsan-qr/opt-reftest-swr-e10s

Differential Revision: https://phabricator.services.mozilla.com/D121099
2021-07-30 12:23:36 +00:00
Masayuki Nakano
dbc4e0135e Bug 1721317 - part 2: Make _pasteToTargetElement() sync r=m_kato
The function tests whether `input` event whose `inputType` is `insertFromPaste`
or not and it waits the event until timeout.  This sometimes fails in my
environment, and `input` event should be fired synchronously in this case.
Therefore, it should just fail if the event isn't fired.

Depends on D120424

Differential Revision: https://phabricator.services.mozilla.com/D120425
2021-07-21 23:22:04 +00:00