intel / zephyr.js

JavaScript* Runtime for Zephyr* OS
Other
180 stars 65 forks source link

[webusb] Error calling listener is thrown when running WebUSB.js #1859

Closed qiaojingx closed 6 years ago

qiaojingx commented 6 years ago

Description

This is a regression issue. When running sample/WebUSB.js on arduino101, 426:(ERROR) error calling listener will be thrown.

Test Code

WebUSB.js;

Steps to Reproduction

Arduino101: 1. Comment out return in WebUSB.js 2. make JS=samples/WebUSB.js 3. make dfu

Actual Result

Error is thrown like below pic. selection_082

Expected Result

No error. selection_083

Test Builds

Branch Commit Id Target Device Test Date Result
master 9db8f2b Arduino101 Mar.14, 2018 Fail
master e4e4c95 Arduino101 Mar.14, 2018 Pass

Additional Information

qiaojingx commented 6 years ago

Verified with commit 3d4a43c in master. This issue is not reproducible. Close.