-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ondevicechange event support to demo #1689
Conversation
Nice! |
(maybe reduce the console.log amount but... I like console.log) |
I tried the patched demo, with repository checked out and +1 on fixing lint failures otherwise lgtm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm % the automated comments (var -> let/const and spaces)
This seems broken for me:
I will fix manually instead. |
Yeah. If you call I updated it to avoid populating the dropdowns with dummy values, so permission is requested right away and then the dropdowns can get the true values. |
Okay, this should be ready for another look and a merge if there are no more comments. |
(something weird with webdriver these days, needs investigation) |
Demo does not use
devicechange
event to keep device selectors in sync with hotplug. This fixes the demo to do that.It also fixes some other issues:
console.log
will be removed before merging.