From 8ca8fd69628129370fdd97e77d63ce96787659b8 Mon Sep 17 00:00:00 2001 From: Brad Werth Date: Fri, 4 Sep 2020 13:15:08 +0000 Subject: [PATCH] Bug 1661283 Part 5: Add a test of GetOverflowingChildrenOfElement on the body element. r=gl Differential Revision: https://phabricator.services.mozilla.com/D88682 --- devtools/server/tests/chrome/chrome.ini | 1 + .../tests/chrome/test_overflowing-body.html | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 devtools/server/tests/chrome/test_overflowing-body.html diff --git a/devtools/server/tests/chrome/chrome.ini b/devtools/server/tests/chrome/chrome.ini index 6c656b535280..2ef1d8385b9f 100644 --- a/devtools/server/tests/chrome/chrome.ini +++ b/devtools/server/tests/chrome/chrome.ini @@ -88,6 +88,7 @@ support-files = [test_memory_gc_01.html] [test_memory_gc_events.html] [test_overflowing-children.html] +[test_overflowing-body.html] [test_preference.html] [test_styles-applied.html] [test_styles-computed.html] diff --git a/devtools/server/tests/chrome/test_overflowing-body.html b/devtools/server/tests/chrome/test_overflowing-body.html new file mode 100644 index 000000000000..1fe52e00115f --- /dev/null +++ b/devtools/server/tests/chrome/test_overflowing-body.html @@ -0,0 +1,42 @@ + + + + + +Test InspectorUtils.GetOverflowingChildrenOfElement on the body element + + + + + +
+ +