Bug
1666542 [wpt PR 25675] - sensors: Clean the iframe tests up some more., a=testonly
Automatic update from web-platform-tests
sensors: Clean the iframe tests up some more.
The Mac bots are occasionally timing out. Clean up the iframe tests a bit
more hoping it helps:
* Remove redundant call to 'reset_sensor_backend' that is already performed
by the test's cleanup function.
* Move the message handler to a separate function, so that we can then call
it from a catch-all try/catch statement and ensure we will always send a
reply. This also allows us to remove several try/catch blocks from the
handler itself.
Bug:
1073865
Change-Id: I9756c85ee401a78dabe5f283250ab68110decabb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2424248
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809638}
--
wpt-commits:
281f62f2d8ffe72128d848851ac1e8d823f608f6
wpt-pr: 25675