Closed The-Compiler closed 5 years ago
This would be incredibly useful for blocking scripts, I think it would be OK to just define a special value when it can't be populated (eg: qtwebkit).
I agree, using something like ResourceType.Unavailable
(or theUnknown
which QtWebEngine already has) seems fine. OTOH, maybe QtWebKit support is dropped by the time I get around to doing this :laughing:
https://doc.qt.io/qt-5/qwebengineurlrequestinfo.html has some additional info (especially
ResourceType
) which we should probably expose.