@@ -73,8 +73,7 @@ const getFieldValuesTextContent = async () => {
7373describe ( 'The Application Tab' , ( ) => {
7474 // Update and reactivate when the whole FrameDetailsView is a custom component
7575 it . skip ( '[crbug.com/1519420]: shows details for a frame when clicked on in the frame tree' , async ( ) => {
76- const { target} = getBrowserAndPages ( ) ;
77- await navigateToApplicationTab ( target , 'frame-tree' ) ;
76+ await navigateToApplicationTab ( 'frame-tree' ) ;
7877 await click ( '#tab-resources' ) ;
7978 await navigateToFrame ( 'top' ) ;
8079
@@ -98,8 +97,7 @@ describe('The Application Tab', () => {
9897
9998 it ( 'shows stack traces for OOPIF' , async ( ) => {
10099 expectError ( 'Request CacheStorage.requestCacheNames failed. {"code":-32602,"message":"Invalid security origin"}' ) ;
101- const { target} = getBrowserAndPages ( ) ;
102- await navigateToApplicationTab ( target , 'js-oopif' ) ;
100+ await navigateToApplicationTab ( 'js-oopif' ) ;
103101 await waitForFunction ( async ( ) => {
104102 await navigateToFrame ( 'top' ) ;
105103 await navigateToFrame ( 'iframe.html' ) ;
@@ -126,8 +124,7 @@ describe('The Application Tab', () => {
126124 it ( 'stack traces for OOPIF with ignore listed frames can be expanded and collapsed' , async ( ) => {
127125 expectError ( 'Request CacheStorage.requestCacheNames failed. {"code":-32602,"message":"Invalid security origin"}' ) ;
128126 await setIgnoreListPattern ( 'js-oopif.js' ) ;
129- const { target} = getBrowserAndPages ( ) ;
130- await navigateToApplicationTab ( target , 'js-oopif' ) ;
127+ await navigateToApplicationTab ( 'js-oopif' ) ;
131128 await waitForFunction ( async ( ) => {
132129 await navigateToFrame ( 'top' ) ;
133130 await navigateToFrame ( 'iframe.html' ) ;
@@ -190,7 +187,7 @@ describe('The Application Tab', () => {
190187
191188 it ( 'shows details for opened windows in the frame tree' , async ( ) => {
192189 const { target, frontend} = getBrowserAndPages ( ) ;
193- await navigateToApplicationTab ( target , 'frame-tree' ) ;
190+ await navigateToApplicationTab ( 'frame-tree' ) ;
194191 await click ( '#tab-resources' ) ;
195192 await navigateToFrame ( 'top' ) ;
196193
@@ -226,7 +223,7 @@ describe('The Application Tab', () => {
226223 it ( 'shows dedicated workers in the frame tree' , async ( ) => {
227224 expectError ( 'Request CacheStorage.requestCacheNames failed. {"code":-32602,"message":"Invalid security origin"}' ) ;
228225 const { target} = getBrowserAndPages ( ) ;
229- await navigateToApplicationTab ( target , 'frame-tree' ) ;
226+ await navigateToApplicationTab ( 'frame-tree' ) ;
230227 await navigateToFrame ( 'top' ) ;
231228 // DevTools is not ready yet when the worker is being initially attached.
232229 // We therefore need to reload the page to see the worker in DevTools.
@@ -252,8 +249,7 @@ describe('The Application Tab', () => {
252249
253250 it ( 'shows service workers in the frame tree' , async ( ) => {
254251 expectError ( 'Request CacheStorage.requestCacheNames failed. {"code":-32602,"message":"Invalid security origin"}' ) ;
255- const { target} = getBrowserAndPages ( ) ;
256- await navigateToApplicationTab ( target , 'service-worker-network' ) ;
252+ await navigateToApplicationTab ( 'service-worker-network' ) ;
257253 await navigateToFrameServiceWorkers ( 'top' ) ;
258254 void pressKey ( 'ArrowDown' ) ;
259255
0 commit comments