(element)
| 66 | } |
| 67 | |
| 68 | function redirectToControl(element) { |
| 69 | var $row = $(element).closest("tr"); |
| 70 | var $udid = $row.find(".udid").text(); |
| 71 | const selectedDevice = devices.find((device) => device.udid == $udid); |
| 72 | const newWindow = window.open("/device.html", "_blank"); |
| 73 | newWindow.addEventListener("load", () => { |
| 74 | newWindow.postMessage(selectedDevice, "*"); |
| 75 | }); |
| 76 | } |
nothing calls this directly
no outgoing calls
no test coverage detected