blob: 37ceb00d2cdde930bb16a6e6401660aafc621724 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function() {
TestRunner.addResult(`Tests that oopif iframes are rendered inline.\n`);
await TestRunner.loadModule('elements_test_runner');
await TestRunner.showPanel('elements');
// Save time on style updates.
Elements.StylesSidebarPane.prototype.update = function() {};
Elements.MetricsSidebarPane.prototype.update = function() {};
await TestRunner.navigatePromise('resources/page-error.html');
ElementsTestRunner.expandElementsTree(() => {
ElementsTestRunner.dumpElementsTree();
TestRunner.completeTest();
});
})();