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
{{ message }}
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
// Single-shot error handler. Ensures we don't log more than once.
12
-
errorHandler(){
14
+
errorHandler(err){
13
15
// We've already "warned" the user. No need to do it again (mostly for backwards compatiability)
14
16
if(this.didLogError){
15
17
return;
16
18
}
17
19
18
20
this.didLogError=true;
19
-
// eslint-disable-next-line no-console
20
-
console.error('Failed to inject axe-core into one of the iframes!');
21
+
if(errinstanceofStaleElementReferenceError){
22
+
// eslint-disable-next-line no-console
23
+
console.error('Tried to inject into a removed iframe. This will not affect the analysis of the rest of the page but you might want to ensure the page has finished updating before starting the analysis.')
24
+
}else{
25
+
// eslint-disable-next-line no-console
26
+
console.error('Failed to inject axe-core into one of the iframes!');
0 commit comments