Remove rougue import

This commit is contained in:
Gabe Kangas 2022-03-16 17:42:39 -07:00
parent babbcecc9c
commit 689b6feef2
No known key found for this signature in database
GPG key ID: 9A56337728BC81EA
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,10 @@
async function listenForErrors(browser, page) {
const ignoredErrors = ['ERR_ABORTED', 'MEDIA_ERR_SRC_NOT_SUPPORTED', '404'];
const ignoredErrors = [
'ERR_ABORTED',
'MEDIA_ERR_SRC_NOT_SUPPORTED',
'404',
'JSHandle@error',
];
// Emitted when the page emits an error event (for example, the page crashes)
page.on('error', (error) => {

View file

@ -4,7 +4,6 @@ import videojs from '/js/web_modules/videojs/dist/video.min.js';
import { getLocalStorage, setLocalStorage } from '../utils/helpers.js';
import { PLAYER_VOLUME, URL_STREAM } from '../utils/constants.js';
import PlaybackMetrics from '../metrics/playback.js';
import LatencyCompensator from './latencyCompensator.js';
const VIDEO_ID = 'video';