Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 495 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 495 Bytes

Reproducer for WebKit issue 280970

This repository illustrates a bug in Safari on iOS 18 where getting video track settings appears to return stale values for the torch constraint (flashlight on smartphones).

The value returned for the torch constraint appears to be "stale" in the sense that it does not reflect the current value. After setting the torch constraint to true, getSettings() returns it as false. Setting it back to false causes getSettings() to return it as true.