@@ -237,7 +237,7 @@ public function window()
237237 return call_user_func_array (array ($ this , 'legacyWindow ' ), func_get_args ());
238238 }
239239
240- return new Window ($ this ->w3c , $ this -> url . '/window ' );
240+ return new Window ($ this ->url . '/window ' , $ this -> w3c );
241241 }
242242
243243 /**
@@ -267,7 +267,7 @@ public function legacyWindow()
267267 }
268268
269269 // chaining
270- return new LegacyWindow ($ this ->w3c , $ this -> url . '/window ' , $ arg );
270+ return new LegacyWindow ($ this ->url . '/window ' , $ arg, $ this -> w3c );
271271 }
272272
273273 /**
@@ -314,7 +314,7 @@ public function frame()
314314 }
315315
316316 // chaining
317- return new Frame ($ this ->w3c , $ this -> url . '/frame ' );
317+ return new Frame ($ this ->url . '/frame ' , $ this -> w3c );
318318 }
319319
320320 /**
@@ -347,7 +347,7 @@ public function timeouts()
347347 }
348348
349349 // chaining
350- return new Timeouts ($ this ->w3c , $ this -> url . '/timeouts ' );
350+ return new Timeouts ($ this ->url . '/timeouts ' , $ this -> w3c );
351351 }
352352
353353 /**
@@ -358,7 +358,7 @@ public function timeouts()
358358 */
359359 public function ime ()
360360 {
361- return new Ime ($ this ->w3c , $ this -> url . '/ime ' );
361+ return new Ime ($ this ->url . '/ime ' , $ this -> w3c );
362362 }
363363
364364 /**
@@ -383,7 +383,7 @@ public function activeElement()
383383 */
384384 public function touch ()
385385 {
386- return new Touch ($ this ->w3c , $ this -> url . '/touch ' );
386+ return new Touch ($ this ->url . '/touch ' , $ this -> w3c );
387387 }
388388
389389 /**
@@ -394,7 +394,7 @@ public function touch()
394394 */
395395 public function local_storage ()
396396 {
397- return Storage::factory ('local ' , $ this ->url . '/local_storage ' );
397+ return Storage::factory ('local ' , $ this ->url . '/local_storage ' , $ this -> w3c );
398398 }
399399
400400 /**
@@ -405,7 +405,7 @@ public function local_storage()
405405 */
406406 public function session_storage ()
407407 {
408- return Storage::factory ('session ' , $ this ->url . '/session_storage ' );
408+ return Storage::factory ('session ' , $ this ->url . '/session_storage ' , $ this -> w3c );
409409 }
410410
411411 /**
@@ -416,7 +416,7 @@ public function session_storage()
416416 */
417417 public function application_cache ()
418418 {
419- return new ApplicationCache ($ this ->w3c , $ this -> url . '/application_cache ' );
419+ return new ApplicationCache ($ this ->url . '/application_cache ' , $ this -> w3c );
420420 }
421421
422422 /**
@@ -444,7 +444,7 @@ public function log()
444444 }
445445
446446 // chaining
447- return new Log ($ this ->w3c , $ this -> url . '/log ' );
447+ return new Log ($ this ->url . '/log ' , $ this -> w3c );
448448 }
449449
450450 /**
@@ -455,7 +455,7 @@ public function log()
455455 */
456456 public function alert ()
457457 {
458- return new Alert ($ this ->w3c , $ this -> url . '/alert ' );
458+ return new Alert ($ this ->url . '/alert ' , $ this -> w3c );
459459 }
460460
461461 /**
@@ -474,7 +474,7 @@ public function execute()
474474 return $ result ['value ' ];
475475 }
476476
477- return new Execute ($ this ->w3c , $ this -> url . '/execute ' );
477+ return new Execute ($ this ->url . '/execute ' , $ this -> w3c );
478478 }
479479
480480 /**
0 commit comments