Răsfoiți Sursa

fixed issue #260

Former-commit-id: 212212dd30cdd9bdcadeff2a8262c2d38149a5eb
Gildas 6 ani în urmă
părinte
comite
3b2ce51c84

+ 1 - 0
lib/hooks/content/content-hooks-frames-web.js

@@ -55,6 +55,7 @@
 	const Blob = window.Blob;
 	const requestAnimationFrame = window.requestAnimationFrame;
 	const cancelAnimationFrame = window.cancelAnimationFrame;
+	const console = window.console;
 
 	const observers = new Map();
 	const observedElements = new Map();

+ 1 - 0
lib/hooks/content/content-hooks-web.js

@@ -34,6 +34,7 @@
 	const fetch = window.fetch;
 	const addEventListener = window.addEventListener;
 	const pushState = history.pushState;
+	const console = window.console;
 
 	let warningDisplayed;
 	history.pushState = function (state, title, url) {