<!-- This file is a sub-test file for the Resource Timing and Performance Timeline APIs. These tests are focused on the iframe corner case. The first step is to check that the image from this document was added as an entry to this window.performance object. The second step is to check that this iframe was not added as an entry to its own window.performance object. As a final step, we do a double checking: no ifrmes were added as entries to this window.performance object.
-->
// Check that there are no iframes added as entries var resources = window.performance.getEntriesByType("resource");
for (var i = 0 ; i < resources.length; i++) { var entry = resources[i];
if (entry.initiatorType === "iframe") {
ok(false, "unexpected iframe " + entry.name);
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.