Commit b395d8e2 authored by Lan Wei's avatar Lan Wei Committed by Commit Bot

[ChromeDriver] Clean the unused code in checking with session action

In ProcessInputActionSequence function, we now check if both of the
actions' ids and types match with the ones in session, so we should
remove the check error for type.

Bug: 606367
Change-Id: Id6306433155ba3087212ec27437d1209a25d19c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627632Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662747}
parent a6b3ba4d
......@@ -1068,12 +1068,6 @@ Status ProcessInputActionSequence(
"pointer type");
}
}
std::string source_type;
source->GetString("type", &source_type);
if (source_type != type) {
return Status(kInvalidArgument,
"input state with same id has a different type");
}
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment