gecko-dev/editor/libeditor/crashtests
Masayuki Nakano 0b16be82cb Bug 1525481 - part 2: Make `EditorBase::DoSplitNode()` return error if split nodes are moved/removed unexpectedly r=m_kato
We should stop handling splitting nodes if mutation event listeners move or
remove the split nodes unexpectedly because the post processors may not be
able to keep handling the nodes.  For example, if a node is moved to outside
of editing host, we shouldn't touch it anymore due to non-editable.

This patch makes `EditorBase::DoSplitNode()` return new error for making
any parent callers stop their job, but note that the following patch makes
any public methods expose the new error as exception for compatibility with
Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D20810

--HG--
extra : moz-landing-system : lando
2019-02-25 08:29:38 +00:00
..
336081-1.xhtml Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
336104.html
382527-1.html Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
382778-1.html Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
402172-1.html
403965-1.xhtml Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru 2014-08-18 20:59:37 -04:00
407074-1.html
407079-1.html
407256-1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
407277-1.html
414178-1.html
418923-1.html
420439.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
428489-1.html
429586-1.html Bug 429586 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
430624-1.html Bug 1377492 - fix mochitest-1 failure in docshell when data: URI is a unique origin. r=smaug 2017-07-12 10:35:54 +08:00
431086-1.xhtml
448329-1.html
448329-2.html
448329-3.html
456727-1.html
456727-2.html
459613-iframe.html
459613.html
467647-1.html
475132-1.xhtml
499844-1.html
503709-1.xhtml
513375-1.xhtml
535632-1.xhtml
574558-1.xhtml
580151-1.xhtml Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru 2014-08-18 20:59:37 -04:00
582138-1.xhtml
612565-1.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
615015-1.html
615450-1.html
633709.xhtml
636074-1.html
639736-1.xhtml
643786-1.html
650572-1.html Bug 650572 - Add crashtest. 2015-10-30 19:41:17 -04:00
667321-1.html Bug 667321 - Add crashtest. 2015-10-25 00:06:23 -04:00
682650-1.html
713427-1.html
713427-2.xhtml Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
716456-1.html
759748.html
761861.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
762183.html
766305.html
766360.html
766387.html
766413.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
766795.html
766845.xhtml
767169.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
768748.html
768765.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
769008-1.html
769967.xhtml
771749.html
772282.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
776323.html
793866.html
1057677.html Bug 1057677 - Crash in nsHTMLEditor::DoInsertHTMLWithContext; r=ehsan 2014-08-26 16:13:22 +03:00
1128787.html Bug 1128787 part.1 Add test r=ehsan 2015-04-21 15:27:09 +09:00
1134545.html Bug 1134545 - Insufficient null check. r=ehsan 2015-03-25 13:52:56 -04:00
1158452.html Bug 1158452. Pass in the right node when messing with font sizes in editor. r=ehsan 2015-04-27 15:29:22 -04:00
1158651.html Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc 2015-04-27 21:13:10 -04:00
1244894.xhtml Bug 1244894: Steal the failed nsresult when bailing early. r=bz 2016-02-05 10:12:25 -08:00
1264921.html Bug 1264921 - Crashtest. 2016-11-21 00:26:37 +01:00
1272490.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
1274050.html Bug 1274050 - Add crashtest. r=me 2017-10-12 22:41:14 -04:00
1317704.html Bug 1317704 - Part 2. Add test. r=masayuki 2016-12-15 15:02:10 +09:00
1317718.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
1324505.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
1343918.html Bug 1343918 - Add crash test for document.execCommand('italic'). r=masayuki 2017-06-20 14:46:28 +09:00
1344097.html Bug 1344097 - Add crashtest. r=me 2017-10-20 08:36:12 -04:00
1345015.html Bug 1345015 - Part 3. Add crash test. r=masayuki 2017-06-19 16:52:05 +09:00
1348851.html Bug 1348851 - Part 2. Add crash test. r=masayuki 2017-03-21 14:36:52 +09:00
1350772.html Bug 1350772 - Part 2. Add test. r=masayuki 2017-03-27 14:41:21 +09:00
1364133.html Bug 1364133 - Part 2. Add test. r=masayuki 2017-10-11 17:59:02 +09:00
1366176.html Bug 1366176 part 2 - Crashtest. 2017-05-23 19:09:26 +02:00
1375131.html Bug 1375131 - Part 2. Add crash test. r=masayuki 2017-06-23 16:45:50 +09:00
1381541.html Bug 1381541 - queryCommandState should consider that parent node of selection is null. r=masayuki 2017-08-18 14:48:39 +09:00
1383747.html Bug 1383747 - Add crashtest. r=me 2017-10-11 19:54:08 -04:00
1383755.html Bug 1383755 - Part 2. Add crash test for object resizer. r=masayuki 2017-07-27 18:21:27 +09:00
1383763.html Bug 1383763 - Add crashtest. r=me 2017-10-11 19:54:09 -04:00
1384161.html Bug 1384161 - Add crashtest. r=me 2017-10-11 19:54:09 -04:00
1388075.html Bug 1388075 - Add crashtest. r=me 2017-10-11 11:52:40 -04:00
1393171.html Bug 1393171 - Add crashtest. r=me 2017-10-11 19:54:10 -04:00
1402196.html Bug 1411345 - HTMLEditRules::GetHighestInlineParent() shouldn't return editing host even when it's the highest inline parent of aNode r=m_kato 2017-10-31 01:14:58 +09:00
1402469.html Bug 1402469 - Part 2. Add crash test. r=masayuki 2017-09-25 14:11:29 +09:00
1402526.html Bug 1402526 - Add crashtest. r=me a=test-only 2018-01-15 14:27:45 +09:00
1402904.html Bug 1402904 - Part 2. Add crash tests. r=masayuki 2017-10-05 14:23:12 +09:00
1405747.html Bug 1467794 - Split TextEditor::DeleteSelectionAsAction() to itself and TextEditor::DeleteSelectionAsSubAction() r=m_kato 2018-06-29 20:16:50 +09:00
1405897.html Bug 1405897 - Move assertion before setting resizer attribute. r=masayuki 2018-06-29 04:47:21 +00:00
1408170.html Bug 1408170 - Set child correctly in HTMLEditRules::GetPromotedPoint(); r=masayuki 2017-10-13 02:23:12 -04:00
1414581.html Bug 1414581 - Part 2. Add crashtest. r=masayuki 2017-11-06 17:06:09 +09:00
1415231.html Bug 1415231 - Add crash tests for a regression of bug 1406482 which has been fixed by bug 1415509 r=m_kato 2017-11-10 10:58:33 +09:00
1423767.html Bug 1423767 - Splitting node might be orphan. r=masayuki 2018-05-16 16:54:20 +09:00
1423776.html Bug 1423776 - Return error when splitted node might be orphan. r=masayuki 2018-06-04 16:31:38 +09:00
1424450.html Bug 1424450 - Don't set selection on ClearStyle. r=masayuki 2018-04-18 16:13:24 +09:00
1425091.html Bug 1425091 - Part 2. Add crashtest. r=masayuki 2017-12-15 10:51:53 -06:00
1441619.html Bug 1441619 - Add crashtest. r=masayuki 2018-12-18 15:09:52 +09:00
1443664.html Bug 1443664 - Form control might not have non-chrome only content. r=smaug 2018-03-20 16:22:39 +09:00
1444630.html Bug 1451503 Move most reftest resources from chrome: to resource: r=kmag 2018-09-06 16:01:39 -07:00
1446451.html Bug 1446451: GetPropertyValue can indeed not return an integer if the node is not displayed. r=masayuki 2018-03-16 18:07:33 +01:00
1464251.html Bug 1464251 - SplitNodeDeepWithTransaction might create orphan node. r=masayuki 2018-08-09 08:22:50 +00:00
1470926.html Bug 1470926 - Null-check mBoundFrame after calling SetSelectionRange on it. r=TYLin 2019-02-21 00:18:15 +00:00
1525481.html Bug 1525481 - part 2: Make `EditorBase::DoSplitNode()` return error if split nodes are moved/removed unexpectedly r=m_kato 2019-02-25 08:29:38 +00:00
crashtests.list Bug 1525481 - part 2: Make `EditorBase::DoSplitNode()` return error if split nodes are moved/removed unexpectedly r=m_kato 2019-02-25 08:29:38 +00:00