Skip to content

Commit 38a7d96

Browse files
Andrii MorozAndrii Moroz
authored andcommitted
Fixed unimplemented commands handling
1 parent 84035d4 commit 38a7d96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/chrome/test/webdriver/webdriver_server.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ void InitCallbacks(Dispatcher* dispatcher,
265265
dispatcher->Add<AppCacheStatusCommand>("/session/*/application_cache/status");
266266

267267
// HTML5 functions.
268-
dispatcher->Add<HTML5LocationCommand>("/session/*/location");
268+
// dispatcher->Add<HTML5LocationCommand>("/session/*/location");
269+
dispatcher->SetNotImplemented("/session/*/location");
269270
dispatcher->Add<LocalStorageCommand>("/session/*/local_storage");
270271
dispatcher->Add<LocalStorageSizeCommand>("/session/*/local_storage/size");
271272
dispatcher->Add<LocalStorageKeyCommand>("/session/*/local_storage/key/*");

0 commit comments

Comments
 (0)