Suppress “Failed to load resource: net::ERR_FILE_NOT_FOUND” in Chrome Packaged App

后端 未结 1 1164
春和景丽
春和景丽 2021-01-19 07:33

I get the message \"Failed to load resource: net::ERR_FILE_NOT_FOUND\" in the console when a webview in a Chrome Packaged App tries to load a non-existent local file. This i

相关标签:
1条回答
  • 2021-01-19 07:54

    Yes, you can turn this off:

    Click on the filter icon at the top of the console, and tick "Hide network messages".

    You can't, however, prevent this error from happening at all: it's not generated by an uncaught exception in JS but is reported from the network stack of Chrome.

    0 讨论(0)
提交回复
热议问题