[WebLayer] Guard call to isKnownProtocol() in NavigationTest.java
Navigation#isKnownProtocol() was added in 89, but I mistakenly added a call to it without guarding by version in NavigationTest.java. That call causes skew tests to break. This CL adds the guard, which necessitates making the inner class from which the method is called not a static class so that it can access the test's activity rule. Bug: 1155275 Change-Id: I14d02fc87bb1a5cbc54f2ea116b01c689e384a71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616230Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#841537}
Showing
Please register or sign in to comment