Closed qiaojingx closed 6 years ago
This is a regression issue. When running sample/WebUSB.js on arduino101, 426:(ERROR) error calling listener will be thrown.
426:(ERROR) error calling listener
WebUSB.js;
Arduino101: 1. Comment out return in WebUSB.js 2. make JS=samples/WebUSB.js 3. make dfu
1. Comment out return in WebUSB.js
2. make JS=samples/WebUSB.js
3. make dfu
Error is thrown like below pic.
No error.
Verified with commit 3d4a43c in master. This issue is not reproducible. Close.
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.
Expected Result
No error.
Test Builds
Additional Information