Log why XRSession was rejected
Logs a reason why the XRSession was rejected to the console. This aids developers in diagnosing what went wrong and (hopefully) how to fix it. Note that this is logged *only* to the console, and not part of the promise rejection. Also adds a couple of DVLOGs where there are very similar rejections. Also adds two new exception types where similar values were being re- used but weren't wholly accurate, and removes one that was no longer logged. Finally, renames mojom::ConsoleMessage* to mojom::blink::ConsoleMessage* due to presubmit warnings. Bug: 872316 Change-Id: I73a70ba702b80c5607ce1ce793422675d1d24686 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135985 Commit-Queue: Alexander Cooper <alcooper@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Klaus Weidner <klausw@chromium.org> Reviewed-by:
Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/master@{#756881}
Showing
Please register or sign in to comment