alandmoore / admbrowser

A Web browser for kiosks and digital signage, based on Python, PyQt, and Blink
35 stars 22 forks source link

Custom 404 and Network error don't work #8

Open alandmoore opened 5 years ago

alandmoore commented 5 years ago

Currently no way to make the custom 404 and network error pages display, because the value passed into QtWebEngineView.loadFinished is unreliable and has many false negatives. There is also no way to inspect the reasons why loading apparently failed, or to hook into the HTTP process to view response codes, etc.

Looking for a reasonable workaround