summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html')
-rw-r--r--testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html b/testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html
new file mode 100644
index 0000000000..02aafbb5c7
--- /dev/null
+++ b/testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html>
+
+<head>
+ <meta charset="utf-8">
+ <title>The navigation_id Detached iframe Page.</title>
+</head>
+
+<body>
+ <script>
+ window.addEventListener("load", () => {
+ setTimeout(() => {
+ const container = window.frameElement;
+ container.remove();
+ }, 10);
+ performance.mark('mark-window-detached-frame');
+ });
+ </script>
+</body>
+
+</html> \ No newline at end of file