소스 검색

fixed issue #260

Former-commit-id: 212212dd30cdd9bdcadeff2a8262c2d38149a5eb
Gildas 6 년 전
부모
커밋
3b2ce51c84
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lib/hooks/content/content-hooks-frames-web.js
  2. 1 0
      lib/hooks/content/content-hooks-web.js

+ 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) {