node/test/fixtures/wpt/resource-timing/resources/iframe-setdomain.sub.html
legendecas 364c0e196c
perf_hooks: fix webperf idlharness
1. Enforce receiver checks on IDL interfaces.
2. Avoid prototype manipulation on constructing IDL interfaces with
   `ReflectConstruct`.
3. `defineReplaceableAttribute` should create IDL getter/setter.
4. Corrected `PerformanceResourceTiming` to inherit the public interface
   `PerformanceEntry` instead of the internal interface
   `InternalPerformanceResourceTiming`.
5. `detail` is not a specified attribute on `PerfomanceEntry`. Node.js
   specific extensions are moved to a subclass of `PerformanceEntry` as
   `PerformanceNodeEntry`.

PR-URL: https://github.com/nodejs/node/pull/44483
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2022-10-04 00:55:58 +08:00

14 lines
389 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>domain: {{domains[]}}</title>
</head>
<body>
<script>
// The purpose of this IFrame is to change the 'document.domain'
document.domain = "{{domains[]}}";
</script>
The resource-timings-level1.sub.html test loads this document into an IFrame to vet that setting
'document.domain' does not effect the timing allowed.
</body>
</html>