gecko-dev/dom/base/crashtests
Masayuki Nakano 235177bdeb Bug 1623918 - part 1: Make `nsINode::GetTextEditorRootContent()` handle `TextControlElement` after stopping climbing the DOM tree up r=smaug
It was designed for retrieving associated `TextEditor` and its root content
(anonymous `<div>` element) if the node is in native anonymous subtree in a
text editor or if the node itself is a `TextControlElement`.  Additionally,
`TextControlElement` cannot be nested.  Therefore, it can stop climbing up the
DOM tree when it meets a `TextControlElement`.

Then, we can rewrite this without a loop implemented by itself.  Instead,
it can use `GetClosestNativeAnonymousSubtreeRootParent()` when the node is
in native anonymous subtree.  Otherwise, it just needs to check whether it's
a `TextControlElement` or not.  Therefore, we can make it stop using
`InclusiveAncestorsOfType`.

Finally, it calls `TextControlElement::GetTextEditor()` which is marked as
`MOZ_CAN_RUN_SCRIPT`.  And I think that it may cause running selection
listeners (mutation event listeners won't run because changes occur only in
the native anonymous subtree).  Therefore, we should mark all callers of
it with `MOZ_CAN_RUN_SCRIPT` later.

Differential Revision: https://phabricator.services.mozilla.com/D92728
2020-10-09 02:36:30 +00:00
..
43040-1.html
90613-1.html
116848-1.html
149320-1.html
205225-1.html
231475-1.html
244933-1.html
275912-1.html
293388-1.html
325730-1.html
326618-1.html
326646-1.html
326865-1.html
327571-1.html
327694.html
327695-1.html
329481-1.xhtml
336381-1.xhtml
336715-1.xhtml
338391-1.xhtml
338674-1.xhtml
340733-1.html
343730-1.xhtml
343850-1.xhtml
343889-1.html
344434-1.xhtml
344882-1.html
345837-1.xhtml
346381-1.html
349355-1.html
359432-1.xhtml
360599-1.html
366200-1.xhtml
369219-1.xhtml
369413-1.html
371124-1-inner.html
371124-1.html
371124-2-inner.html
371124-2.html
371466-1.xhtml
372554-1.html
375399-1-inner.xhtml
375399-1.html
377360-1.xhtml
377960-1.html
377960-2.html
384663-1-inner.xhtml Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
384663-1.html Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
386000-1.html
386794-1.html
387460-1-inner.xhtml
387460-1.html
399712-1.html
400763-1.html
401993-1.xml
407818.html
410860-1.xml
411882-1.xhtml
416734-1.html Bug 1574994 part 1 - Remove/replace display:-moz-inline-grid and -moz-inline-stack in tests. r=emilio 2019-08-19 21:19:04 +00:00
417852-1.html
418928-1.html
420620-1.html
424276-1.html
426987-1.html
439206-1.html
443538-1.svg
448615-1.html
450383-1.html
450385-1.html
458637-1-inner.xhtml
458637-1.html
462947.html
467392.html
472593-1.html
474041-1.svg
476526.html
483818-1.html
490760-1.xhtml
493281-1.html
493281-2.html
494810-1.html
499006-1.html
499006-2.html
502617.html
504224.html Bug 1608071: part 2) Rename `nsContentUtils::GetCommonAncestor` and related methods. r=smaug 2020-01-13 10:29:44 +00:00
509536-1.html
522516-1.html
529670.html
535926-1.html
543645.html
551631-1.html
552651.html
552651.xml
554230-1.xhtml
558973.html
561981-1-iframe.xhtml
561981-1.html
561981-2-iframe.xhtml
561981-2.html
564079-1.html
564114.html
565125-1.html
575462.svg
582601.html
590395-1.html
593302-1.html
593302-2.html
595606-1.html
595606-2.html
601247.html
603531.html
604262-1.html
605672-1.svg
606729-1.html
607222.html
609560-1.xhtml
610571-1.html
612018-1.html
628599-1.html
637116.html
637214-1.svg
637214-2.svg
642022-1.html
646184.html
658845-1.svg
666869.html
667336-1.html
675516.xhtml
675621-1.html
677194.html
679459.html
679689-1.html
682463.html
693212.xhtml
693811-1.html
693811-2.html
693811-3.html
693894.html
695867.html
697643.html
698974-1.html
700090-1.html
700090-2.html
700512-worker.js
700512.html
706283-1.html
709384.html
709954.html
713417-1.html
713417-2.html
715056.html
729431-1.xhtml
741163-1.html
745495.html
752226-1.html
752226-2.html
766426.html
771639.html
786854.html
815043.html
815276.html
815477.html
815500.html
816253.html
819014.html
822723.html
824719.html
827190.html
828054.html
828903-iframe.html
828903.html
829428.html
830098.html
831287.html
832644.html
836890.html
838489-1.html
838489-2.html
841205.html
844404.html
845093-1.html
845093-2.html
847127.html
849601.html
849727.html
849732.html
851353-1.html
852381.html
863950.html
864448.html
886213.html
898906.html
930250.html
942979.html
973401.html
978646.html
1024428-1.html
1027461-1.html Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
1027461-inner.xhtml Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
1029710.html
1154598.xhtml
1157995.html
1158412.html
1181619.html
1228882.html Bug 1228882 - Add a crashtest based on the test case for the bug 2020-03-10 13:54:45 +00:00
1230422.html
1251361.html
1281715.html
1281745.html
1291535-iframe.html Bug 1291535 - Clear the list of dynamic import requests after cancelling them in ScriptLoader::ParsingComplete as we do for other requests r=bzbarsky 2020-01-14 11:47:21 +00:00
1291535.html Bug 1291535 - Clear the list of dynamic import requests after cancelling them in ScriptLoader::ParsingComplete as we do for other requests r=bzbarsky 2020-01-14 11:47:21 +00:00
1304437.html
1324209.html
1324463.html
1324500.html
1326194-1.html Bug 1593222: part 4) Move `nsNodeUtils::LastRelease` to `nsINode`. r=smaug 2019-11-05 14:06:13 +00:00
1326194-2.html
1332939.html
1341693.html
1352453.html
1353529-inner.html
1353529.xhtml Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
1368327-iframe.html
1368327.html
1369363.xhtml Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
1370072.html
1370737.html
1370968-inner.xhtml Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
1370968.html Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
1373750.html
1377826.html
1383478.html
1383780.html
1385272-1.html
1393806.html
1396466.html
1397795.html Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert 2019-09-05 21:32:05 +00:00
1400701.html
1403377.html
1405771.html
1406109-1.html
1411473.html
1413815.html
1419799.html
1419902.html Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug 2020-10-08 16:55:25 +00:00
1422883.html
1428053.html
1441029.html
1445670.html
1449601.html
1458016.html
1459688.html
1460794.html
1462548.html
1505811.html
1505875.html
1508845.html
1516289.html
1516560.html
1517025.html Bug 1527126 - Add crashtest with invalid URL r=kershaw 2020-09-23 20:42:55 +00:00
1528675.html
1529203-1.html Bug 1529203 - Add tests to check that the module map is cleared when using document.open r=bzbarsky 2020-05-26 14:06:28 +00:00
1529203-2.html Bug 1529203 - Add tests to check that the module map is cleared when using document.open r=bzbarsky 2020-05-26 14:06:28 +00:00
1529203-3.html Bug 1529203 - Add tests to check that the module map is cleared when using document.open r=bzbarsky 2020-05-26 14:06:28 +00:00
1555786.html
1566310.html Bug 1566310 - Nullcheck mWindowGlobalChild prior to notifying it of beforeunload listeners, r=nika 2019-07-16 18:35:25 +00:00
1577191.html Bug 1577191 - Crashtest. 2019-08-30 14:08:27 +00:00
1588259.html Bug 1605433: Close window opened by crashtest after a brief timeout. r=smaug 2019-12-20 22:50:16 +00:00
1611853.html Bug 1611853: part 2) Add crashtest. r=smaug 2020-02-06 16:38:29 +00:00
1619322.html Bug 1619322. Make sure to call DidMutate() when clearing the document on document.open. r=hsivonen 2020-03-04 07:39:19 +00:00
1623918.html Bug 1623918 - part 1: Make `nsINode::GetTextEditorRootContent()` handle `TextControlElement` after stopping climbing the DOM tree up r=smaug 2020-10-09 02:36:30 +00:00
1656925.html Bug 1656925 - DocumentChannel: Don't add download loads to load group. r=mattwoodrow 2020-08-10 15:10:31 +00:00
1665792.html Bug 1665792 - Null-check mTiming before clone. r=jwatt 2020-10-08 14:26:26 +00:00
crashtests.list Bug 1623918 - part 1: Make `nsINode::GetTextEditorRootContent()` handle `TextControlElement` after stopping climbing the DOM tree up r=smaug 2020-10-09 02:36:30 +00:00
eventSource_invalid_scheme_worker_shutdown-worker.js Bug 1619872 - Have a test to ensure EventSource works fine with invalid url in workers after shuting down; r=baku 2020-03-04 15:21:59 +00:00
eventSource_invalid_scheme_worker_shutdown.html Bug 1619872 - Have a test to ensure EventSource works fine with invalid url in workers after shuting down; r=baku 2020-03-04 15:21:59 +00:00
file_504224.html
module-with-syntax-error.js Bug 1529203 - Add tests to check that the module map is cleared when using document.open r=bzbarsky 2020-05-26 14:06:28 +00:00
structured_clone_container_throws.html
xhr-with-pagehide-1-helper.html
xhr-with-pagehide-1.html
xhr_empty_datauri.html
xhr_html_nullresponse.html