WebKit/Safari 支持控制台对象,这类似于 Firebug 所做的.但究竟支持什么?有一个 Firebug 的控制台文档,但我在哪里可以找到 Safari/的控制台文档WebKit?
WebKit/Safari supports the console object, which is similar to what Firebug does. But what exactly is supported? There is a console documentation for Firebug, but where can I find the console documentation for Safari/WebKit?
支持的方法原来是:
console.log()console.error()console.warn()console.info()较新版本的 WebKit 还添加了以下方法,使 WebKit 控制台 API 几乎与 Firebug 的控制台 API 相同:
Newer versions of WebKit also add the following methods making the WebKit console API almost identical to Firebug's console API:
console.count()console.debug()console.profileEnd()console.trace()console.dir()console.dirxml()console.assert()console.time()console.profile()console.timeEnd()console.group()console.groupEnd()(基于 WebKit nightly build WebKit-SVN-r37126 的新信息,在撰写本文时这些方法在 Safari 中不可用)
(New information based on the WebKit nightly build WebKit-SVN-r37126, at the time of writing these methods aren't available in Safari)
这篇关于WebKit/Safari 的控制台 API 在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
在 Electron 渲染器进程中创建子窗口时如何修复How to fix BrowserWindow is not a constructor error when creating child window in Electron renderer process(在 Electron 渲染器进程中创建子窗口
mainWindow.loadURL("https://localhost:3000/") 在 EmainWindow.loadURL(quot;https://localhost:3000/quot;) show white screen on Electron app(mainWindow.loadURL(https://localhost:3000/) 在 Electron 应用程
Electron webContents executeJavaScript:无法在第二个 loaElectron webContents executeJavaScript : Cannot execute script on second on loadURL(Electron webContents executeJavaScript:无法在第二个 loadURL 上
如何在angular-cli的组件内使用电子浏览器窗口?how to use electron browser window inside components in angular-cli?(如何在angular-cli的组件内使用电子浏览器窗口?)
ElectronJS - 在 Windows 之间共享 redux 存储?ElectronJS - sharing redux store between windows?(ElectronJS - 在 Windows 之间共享 redux 存储?)
如何在电子应用程序中访问相机/网络摄像头?How to access camera/webcamera inside electron app?(如何在电子应用程序中访问相机/网络摄像头?)