You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs consistently on Safari 11 and 12, but only when the browser's cache is disabled. It appears to be triggered by rendering the controls UI of <audio> and <video> elements in an SVG. (If the controls attribute is removed or the element is rendered in the context of an HTML document, no error occurs.)
I discovered this while researching discrepancies between results from the Bocoup's Mac Mini and the Azure Pipelines environment. The runtime error is consistently reported to the developer's console, but the uncaught exception only triggers the window's error handler (and only causes a harness error) if the browser has not previously rendered one of these elements during the current session. This explains why the bug is reported from the Mac Mini and not Azure Pipelines: the two setups differ in the sequence they execute tests.
I was hopeful that this would be the root cause of every discrepancy and I could take the rest of the week off. Unfortunately, the offending markup appears in just one test:
The shadow DOM for the controls of Safari's media elements throw a runtime exception in some circumstances, and this can trigger a harness error.
Test:
svg/interact/scripted/tabindex-focus-flag.svg
This occurs consistently on Safari 11 and 12, but only when the browser's cache is disabled. It appears to be triggered by rendering the controls UI of
<audio>
and<video>
elements in an SVG. (If thecontrols
attribute is removed or the element is rendered in the context of an HTML document, no error occurs.)I discovered this while researching discrepancies between results from the Bocoup's Mac Mini and the Azure Pipelines environment. The runtime error is consistently reported to the developer's console, but the uncaught exception only triggers the window's error handler (and only causes a harness error) if the browser has not previously rendered one of these elements during the current session. This explains why the bug is reported from the Mac Mini and not Azure Pipelines: the two setups differ in the sequence they execute tests.
I was hopeful that this would be the root cause of every discrepancy and I could take the rest of the week off. Unfortunately, the offending markup appears in just one test:
Though it's possible that other UI elements also cause uncaught exceptions.
@burg could you check if this is tracked in Radar?
@gsnedders @jgraham any ideas for a workaround?
The text was updated successfully, but these errors were encountered: