mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1928134
- [devtools] Wait for the right resource in browser_inspector_fission_frame_navigation.js. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D228407
This commit is contained in:
parent
446391bf9b
commit
017c39770e
@ -67,7 +67,7 @@ add_task(async function navigateFrameNotExpandedInMarkupView() {
|
||||
}
|
||||
|
||||
const { inspector } = await openInspectorForURL(TEST_ORG_URI);
|
||||
const resourceCommand = inspector.toolbox.resourceCommand;
|
||||
const { resourceCommand } = inspector.commands;
|
||||
|
||||
// At this stage the expected layout of the markup view is
|
||||
// v html (expanded)
|
||||
@ -117,6 +117,7 @@ async function navigateIframeTo(inspector, url) {
|
||||
resourceCommand.TYPES.ROOT_NODE,
|
||||
{
|
||||
ignoreExistingResources: true,
|
||||
predicate: resource => resource.targetFront.url === encodeURI(url),
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user