forked from bluesmoon/boomerang
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
01-beacon-type/0123: Disable sendBeacon so we can inspect ResourceTim…
…ing for the correct type
- Loading branch information
Showing
5 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<script> | ||
// 2017-09-22: Disables sendBeacon() because the entries don't show up in | ||
// ResourceTiming (which is used to validate some tests) | ||
if (navigator && navigator.sendBeacon) { | ||
navigator.sendBeacon = undefined; | ||
} | ||
</script> |
1 change: 1 addition & 0 deletions
1
tests/page-templates/01-beacon-type/00-resourcetiming-disabled.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/page-templates/01-beacon-type/01-resourcetiming-enabled-browser-supports-under-2k.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/page-templates/01-beacon-type/02-resourcetiming-enabled-browser-unsupported.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/page-templates/01-beacon-type/03-resourcetiming-enabled-browser-supports-over-2k.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters