gecko-dev/editor/libeditor/tests
Masayuki Nakano ef60f67cc9 Bug 1103374 - Add simple automoated test for arrow key navigation in vertical editable content r=jfkthame
Now, we can write a test for the situation with synthesized key events.

Differential Revision: https://phabricator.services.mozilla.com/D102882
2021-02-02 03:05:01 +00:00
..
browserscope Bug 1655389 - part 1: Move `HTMLEditor::HandleDeleteCollapsedSelectionAtCurrentBlockBoundary()` into `AutoBlockElementJoiner` r=m_kato 2020-08-04 11:42:55 +00:00
data
.eslintrc.js Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
browser.ini Bug 1642594 - part 5: Implement first version of new white-space normalizer which simulates Blink's one r=m_kato 2020-06-15 07:37:56 +00:00
browser_bug527935.js Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:16 +00:00
bug527935.html
bug527935_2.html
chrome.ini Bug 1642594 - part 5: Implement first version of new white-space normalizer which simulates Blink's one r=m_kato 2020-06-15 07:37:56 +00:00
file_bug289384-1.html
file_bug289384-2.html
file_bug549262.html
file_bug586662.html
file_bug611182.html
file_bug611182.sjs
file_bug635636.xhtml
file_bug635636_2.html
file_bug674770-1.html
file_bug795418-2.sjs
file_bug915962.html
file_bug966155.html
file_bug966552.html
file_sanitizer_on_paste.sjs Bug 1666300 test - Test SVG style sanitization on paste. r=smaug 2020-11-18 17:18:56 +00:00
file_select_all_without_body.html
green.png
mochitest.ini Bug 1103374 - Add simple automoated test for arrow key navigation in vertical editable content r=jfkthame 2021-02-02 03:05:01 +00:00
spellcheck.js
test_CF_HTML_clipboard.html Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
test_abs_positioner_appearance.html
test_abs_positioner_hidden_during_dragging.html Bug 1627924 - Make `HTMLEditor::HideGrabberInternal()` reset dragging state r=emilio 2020-10-16 02:34:15 +00:00
test_abs_positioner_positioning_elements.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_backspace_vs.html
test_bug46555.html
test_bug200416.html
test_bug289384.html Bug 1685491 - part 2: Fix all new oranges caused by the previous patch r=smaug 2021-02-02 03:02:53 +00:00
test_bug290026.html
test_bug291780.html
test_bug309731.html
test_bug316447.html
test_bug318065.html
test_bug332636.html
test_bug332636.html^headers^
test_bug358033.html
test_bug366682.html
test_bug372345.html
test_bug404320.html
test_bug408231.html
test_bug410986.html
test_bug414526.html
test_bug417418.html Bug 1643495 - Revert contextmenu change in test_bug417418 r=masayuki 2020-06-08 23:35:53 +00:00
test_bug426246.html
test_bug430392.html Bug 1609291 - Fix new failure of `test_bug430392.html` when `beforeinput` is enabled r=smaug 2020-10-01 09:15:06 +00:00
test_bug432225.html
test_bug439808.html
test_bug442186.html
test_bug449243.html
test_bug455992.html Bug 1642594 - part 5: Implement first version of new white-space normalizer which simulates Blink's one r=m_kato 2020-06-15 07:37:56 +00:00
test_bug456244.html
test_bug460740.html
test_bug471319.html
test_bug471722.html
test_bug478725.html
test_bug480647.html
test_bug480972.html
test_bug483651.html
test_bug484181.html
test_bug489202.xhtml Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
test_bug490879.html
test_bug502673.html Bug 1612477 - part 2: Remove `nsIDocumentStateListener.NotifyDocumentCreated()` r=m_kato 2020-02-04 06:19:55 +00:00
test_bug514156.html
test_bug520189.html Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
test_bug525389.html Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
test_bug537046.html
test_bug549262.html Bug 1667612. Factor waitToClearOutAnyPotentialScrolls out from various tests and put it in apz_test_utils.js. r=kats 2020-10-03 15:58:16 +00:00
test_bug550434.html
test_bug551704.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug552782.html
test_bug567213.html
test_bug569988.html
test_bug570144.html
test_bug578771.html
test_bug586662.html
test_bug587461.html
test_bug590554.html
test_bug592592.html
test_bug596001.html
test_bug596333.html Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
test_bug596506.html Bug 1685491 - part 2: Fix all new oranges caused by the previous patch r=smaug 2021-02-02 03:02:53 +00:00
test_bug597331.html
test_bug597784.html
test_bug599322.html
test_bug599983.html
test_bug599983.xhtml Bug 1540043 - part 1: Move all constants and methods of `nsIPlaintextEditor` to `nsIEditor` and make `nsIPlaintextEditor` inherit `nsIEditor` r=m_kato 2020-01-24 08:33:42 +00:00
test_bug600570.html
test_bug602130.html
test_bug603556.html Bug 1636855 - Disallow to paste longer text than `maxlength` value except in Nightly channel and early Beta r=emilio 2020-06-07 21:29:48 +00:00
test_bug604532.html
test_bug607584.html
test_bug607584.xhtml Bug 1656292 - Enable remaining ESLint rules on editor/libeditor/tests/*.xhtml files. r=masayuki 2020-07-31 23:58:46 +00:00
test_bug611182.html
test_bug612128.html
test_bug612447.html
test_bug616590.xhtml Bug 1656292 - Enable remaining ESLint rules on editor/libeditor/tests/*.xhtml files. r=masayuki 2020-07-31 23:58:46 +00:00
test_bug620906.html
test_bug622371.html Bug 1601585 - Add a WPT to test selection in a `contenteditable` element with changing `designMode` r=smaug 2020-02-15 08:18:20 +00:00
test_bug625452.html
test_bug629172.html Bug 1689871 - Ensure non-native resizers are loaded in test_bug629172.html r=masayuki 2021-02-01 02:36:41 +00:00
test_bug629845.html
test_bug635636.html
test_bug636465.html
test_bug638596.html
test_bug641466.html
test_bug645914.html
test_bug646194.html
test_bug668599.html
test_bug674770-1.html
test_bug674770-2.html
test_bug674861.html
test_bug676401.html
test_bug677752.html
test_bug681229.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug686203.html
test_bug692520.html
test_bug697842.html
test_bug725069.html
test_bug735059.html
test_bug738366.html
test_bug740784.html
test_bug742261.html
test_bug757371.html
test_bug757771.html
test_bug767684.html
test_bug772796.html Bug 1664109 - Fix `!=` operator of `EditorDOMRangeBase` r=m_kato 2020-09-16 02:17:33 +00:00
test_bug773262.html
test_bug780035.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug780908.xhtml Bug 1656292 - Enable remaining ESLint rules on editor/libeditor/tests/*.xhtml files. r=masayuki 2020-07-31 23:58:46 +00:00
test_bug787432.html
test_bug790475.html
test_bug795418-2.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug795418-3.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug795418-4.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug795418-5.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug795418-6.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug795418.html Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
test_bug795785.html
test_bug796839.html
test_bug830600.html Bug 1540043 - part 1: Move all constants and methods of `nsIPlaintextEditor` to `nsIEditor` and make `nsIPlaintextEditor` inherit `nsIEditor` r=m_kato 2020-01-24 08:33:42 +00:00
test_bug832025.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug850043.html
test_bug857487.html
test_bug858918.html
test_bug915962.html Bug 1667612. Factor waitToClearOutAnyPotentialScrolls out from various tests and put it in apz_test_utils.js. r=kats 2020-10-03 15:58:16 +00:00
test_bug966155.html
test_bug966552.html
test_bug974309.html
test_bug998188.html
test_bug1026397.html
test_bug1053048.html Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to `NativeKeyBindings` r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
test_bug1068979.html
test_bug1094000.html Bug 1644313 - part 4: Make `WSRunScanner::GetRangeInTextNodesTo*From()` available with non-white-space characters r=m_kato 2020-07-29 22:13:46 +00:00
test_bug1100966.html
test_bug1102906.html
test_bug1109465.html
test_bug1130651.html
test_bug1140105.html
test_bug1140617.html
test_bug1151186.html Bug 1611360 - part 2: Change `test_bug1151186.html` to mochitest-plain r=smaug 2020-02-11 11:47:03 +00:00
test_bug1153237.html
test_bug1154791.html
test_bug1162952.html
test_bug1181130-1.html
test_bug1181130-2.html
test_bug1186799.html
test_bug1230473.html Bug 1669133 - Get rid of pref to disable `text` event in the default group and telemetry for it r=smaug 2020-10-05 11:17:17 +00:00
test_bug1247483.html
test_bug1248128.html
test_bug1248185.html
test_bug1250010.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug1257363.html
test_bug1258085.html Bug 1649980 - part 2: Move `WSRunScanner::GetEditableBlockParentOrTopmotEditableInlineContent()` to `HTMLEditUtils` r=m_kato 2020-07-10 12:38:56 +00:00
test_bug1268736.html
test_bug1270235.html
test_bug1306532.html
test_bug1310912.html Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
test_bug1314790.html
test_bug1315065.html
test_bug1316302.html
test_bug1318312.html
test_bug1328023.html
test_bug1330796.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug1332876.html Bug 1601532 - Make `test_bug1332876.html` synthesizes on `<span>` element in the `<iframe>` rather than on the `<iframe>` r=smaug 2020-02-16 14:54:11 +00:00
test_bug1352799.html
test_bug1355792.html
test_bug1358025.html
test_bug1361008.html
test_bug1361052.html
test_bug1368544.html
test_bug1385905.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug1386222.xhtml Bug 1597752, rename .xul files in editor/ to .xhtml r=masayuki 2019-11-19 23:40:10 +00:00
test_bug1390562.html
test_bug1394758.html
test_bug1397412.xhtml Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_bug1399722.html
test_bug1406726.html
test_bug1409520.html
test_bug1425997.html Bug 1664109 - Fix `!=` operator of `EditorDOMRangeBase` r=m_kato 2020-09-16 02:17:33 +00:00
test_bug1497480.html
test_bug1543312.html
test_bug1568996.html Bug 1568996 - Flush layout before calling nsFrameSelection::MoveCaret. r=masayuki 2019-10-07 08:18:33 +00:00
test_bug1574596.html
test_bug1581337.html Bug 1581337 - Make `HTMLEditor::DeleteMostAncestorMailCiteElementIfEmpty()` do nothing if found mail-cite element is not empty r=m_kato 2019-09-18 11:38:35 +00:00
test_bug1619852.html Bug 1619852 - Fix the mistake in `HTMLEditor::HandleDeleteCollapsedSelectionAtTextNode()` r=m_kato 2020-03-04 06:22:23 +00:00
test_bug1620778.html Bug 1620778 - Fix interaction of up/down keys with autocomplete and <input type=number>. r=masayuki,smaug 2020-03-16 15:50:31 +00:00
test_bug1649005.html Bug 1649005 - fix crash when rewrapping an empty message via mozilla::HTMLEditor::InsertTextWithQuotationsInternal. r=masayuki 2020-10-14 12:55:00 +00:00
test_bug1659276.html Bug 1659276 - Make `AutoPlaceholderBatch` choose whether do or do not `ScrollSelectionIntoView` r=m_kato 2020-08-24 06:39:50 +00:00
test_caret_move_in_vertical_content.html Bug 1103374 - Add simple automoated test for arrow key navigation in vertical editable content r=jfkthame 2021-02-02 03:05:01 +00:00
test_cmd_fontFace_with_tt.html Bug 1622231 - Make `HTMLEditor::SetInlinePropertyAsAction()` override property if it's called for XUL `cmd_fontFace` with a magic value "tt" r=m_kato 2020-05-11 07:30:47 +00:00
test_composition_event_created_in_chrome.html
test_contenteditable_focus.html
test_contenteditable_text_input_handling.html Bug 1649980 - part 7: Redesign `WSRunObject::MaybeReplaceInclusiveNextNBSPWithASCIIWhiteSpace()` r=m_kato 2020-07-13 08:31:51 +00:00
test_cut_copy_delete_command_enabled.html
test_cut_copy_delete_command_enabled.xhtml Bug 1597752, rename .xul files in editor/ to .xhtml r=masayuki 2019-11-19 23:40:10 +00:00
test_cut_copy_password.html
test_documentCharacterSet.html
test_dom_input_event_on_htmleditor.html Bug 1663793 - part 7: Make `runTest()` automatically handle editor value check in the case canceling `beforeinput` r=m_kato 2020-10-27 09:10:05 +00:00
test_dom_input_event_on_texteditor.html Bug 1663793 - part 7: Make `runTest()` automatically handle editor value check in the case canceling `beforeinput` r=m_kato 2020-10-27 09:10:05 +00:00
test_dragdrop.html Bug 1636747 - Backout the 1st patch of bug 503838 r=m_kato 2020-05-13 09:09:32 +00:00
test_execCommandPaste_noTarget.html
test_handle_new_lines.html Bug 1540043 - part 1: Move all constants and methods of `nsIPlaintextEditor` to `nsIEditor` and make `nsIPlaintextEditor` inherit `nsIEditor` r=m_kato 2020-01-24 08:33:42 +00:00
test_htmleditor_keyevent_handling.html Bug 1685491 - part 2: Fix all new oranges caused by the previous patch r=smaug 2021-02-02 03:02:53 +00:00
test_inlineTableEditing.html
test_inline_style_cache.html
test_insertParagraph_in_inline_editing_host.html
test_keypress_untrusted_event.html
test_label_contenteditable.html Bug 1582398 - Remove user-select: all for editable labels. r=masayuki 2019-10-23 09:30:03 +00:00
test_middle_click_paste.html Bug 1669963: factor some constants and functions for testing the clipboard out. r=ahal 2020-11-17 20:28:48 +00:00
test_nsIEditorMailSupport_insertAsCitedQuotation.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsIEditor_insertLineBreak.html Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin 2020-06-22 19:09:49 +00:00
test_nsIHTMLEditor_getElementOrParentByTagName.html Bug 1624007 - Don't check `IsSelectionRangeContainerNotContent()` for/in `GetElementOrParentElement*()` r=m_kato 2020-04-09 10:10:36 +00:00
test_nsIHTMLEditor_getParagraphState.html Bug 1625531 - Make `HTMLEditor::GetParagraphState()` not check selection r=m_kato 2020-04-03 00:49:43 +00:00
test_nsIHTMLEditor_getSelectedElement.html Bug 1632425 - Part 3: Triple click to select anchors r=masayuki 2020-06-03 23:47:55 +00:00
test_nsIHTMLEditor_removeInlineProperty.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsIHTMLEditor_selectElement.html
test_nsIHTMLEditor_setBackgroundColor.html Bug 1671556 - part 3: Make `HTMLEditor::SetHTMLBackgroundColorWithTransaction()` stop using `HTMLEditor::Get(First|Next)SelectedTableCellElement()` r=m_kato 2020-10-24 04:12:51 +00:00
test_nsIHTMLEditor_setCaretAfterElement.html
test_nsIHTMLObjectResizer_hideResizers.html
test_nsITableEditor_deleteTableCell.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsITableEditor_deleteTableCellContents.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsITableEditor_deleteTableColumn.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsITableEditor_deleteTableRow.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsITableEditor_getCellAt.html
test_nsITableEditor_getCellDataAt.html
test_nsITableEditor_getCellIndexes.html
test_nsITableEditor_getFirstRow.html
test_nsITableEditor_getFirstSelectedCellInTable.html
test_nsITableEditor_getSelectedCells.html Bug 1671556 - part 2: Replace `nsITableEditor.getFirstSelectedCell()` and `nsITableEditor.getNextSelectedCell()` with `nsITableEditor.getSelectedCells()` r=m_kato 2020-10-24 04:12:38 +00:00
test_nsITableEditor_getSelectedCellsType.html Bug 1671556 - part 11: Make `HTMLEditor::GetSelectedCellsType()` stop using `HTMLEditor::Get(First|Next)SelectedTableCellElement()` r=m_kato 2020-10-26 05:06:59 +00:00
test_nsITableEditor_getSelectedOrParentTableElement.html
test_nsITableEditor_getTableSize.html
test_nsITableEditor_insertTableCell.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsITableEditor_insertTableColumn.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_nsITableEditor_insertTableRow.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_password_input_with_unmasked_range.html
test_password_paste.html Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
test_password_per_word_operation.html Bug 1599947 - Make test_password_per_word_operation.html compute click position from editor root element rect and its text node rect r=smaug 2019-12-27 15:49:36 +00:00
test_password_unmask_API.html
test_pasteImgTextarea.html
test_pasteImgTextarea.xhtml Bug 1597752, rename .xul files in editor/ to .xhtml r=masayuki 2019-11-19 23:40:10 +00:00
test_pasting_table_rows.html Bug 1669963: factor some constants and functions for testing the clipboard out. r=ahal 2020-11-17 20:28:48 +00:00
test_pasting_text_longer_than_maxlength.html Bug 1636855 - Disallow to paste longer text than `maxlength` value except in Nightly channel and early Beta r=emilio 2020-06-07 21:29:48 +00:00
test_resizers_appearance.html
test_resizers_resizing_elements.html Bug 1662313: Add a wait on a selectionchange event to test_resizers_resizing_elements to prevent race condition in test; r=masayuki DONTBUILD 2020-09-01 04:46:04 +00:00
test_root_element_replacement.html
test_sanitizer_on_paste.html Bug 1666300 test - Test SVG style sanitization on paste. r=smaug 2020-11-18 17:18:56 +00:00
test_select_all_without_body.html
test_selection_move_commands.html Bug 1667612. Factor waitToClearOutAnyPotentialScrolls out from various tests and put it in apz_test_utils.js. r=kats 2020-10-03 15:58:16 +00:00
test_setting_value_longer_than_maxlength_with_setUserInput.html Bug 1636855 - Disallow to paste longer text than `maxlength` value except in Nightly channel and early Beta r=emilio 2020-06-07 21:29:48 +00:00
test_spellcheck_pref.html
test_state_change_on_reframe.html
test_textarea_value_not_include_cr.html Bug 1540043 - part 1: Move all constants and methods of `nsIPlaintextEditor` to `nsIEditor` and make `nsIPlaintextEditor` inherit `nsIEditor` r=m_kato 2020-01-24 08:33:42 +00:00
test_texteditor_keyevent_handling.html Bug 1685491 - part 2: Fix all new oranges caused by the previous patch r=smaug 2021-02-02 03:02:53 +00:00
test_typing_at_edge_of_anchor.html Bug 1357365 - part 7: Make `TypeInState::OnSelectionChange` stop keeping link style for new inserting content after content around a link edge is deleted r=m_kato 2021-01-13 01:56:05 +00:00
test_undo_after_spellchecker_replaces_word.html Bug 1607131 - Make `beforeinput` event for `MozEditableElement.setUserInput()` not cancelable by default r=smaug 2020-10-20 00:13:43 +00:00
test_undo_redo_stack_after_setting_value.html Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug 2020-03-03 03:41:16 +00:00
test_undo_with_editingui.html Bug 1663638 - Don't use edit transaction for editing UI. r=masayuki 2020-09-14 05:10:08 +00:00