Commit aeff192
committed
[Merge m67][Extensions Bindings] Tweak messaging argument parsing
There was a bug where if the ID were passed as null or undefined (rather
than completely omitted), the message would fail to parse. Fix this, and
add a unittest.
Bug: 828664
TBR=rdevlin.cronin@chromium.org
(cherry picked from commit 7c723eb)
Change-Id: I92b0f071a1627322e12e8eaf0f5787ccd0793138
Reviewed-on: https://chromium-review.googlesource.com/1012601
Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#550718}
Reviewed-on: https://chromium-review.googlesource.com/1015412
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/branch-heads/3396@{#50}
Cr-Branched-From: 9ef2aa8-refs/heads/master@{#550428}1 parent 76b3dbf commit aeff192
File tree
2 files changed
+24
-6
lines changed- extensions/renderer
2 files changed
+24
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | | - | |
| 282 | + | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| 287 | + | |
285 | 288 | | |
286 | 289 | | |
287 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
257 | 272 | | |
258 | 273 | | |
259 | 274 | | |
| |||
0 commit comments