Commit c4d66ac
Avoid crash for some special XPath queries by explicitly checking whether result nodeSet is empty or not
Summary:
Based on facebookarchive#403
Closes facebookarchive#404
Differential Revision: D4298605
Pulled By: marekcirkos
fbshipit-source-id: 44e9d91a26ceac42dc7f20e3ac0188f8013c07711 parent 78449f9 commit c4d66ac
File tree
2 files changed
+9
-0
lines changed- WebDriverAgentLib/Utilities
- WebDriverAgentTests/IntegrationTests
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
189 | 195 | | |
0 commit comments