A PDF, on Chrome, is solely ever loaded into PDFJS. In the standard browser chrome, this is rendered as a file: schema-prefixed URI. In the ECMAScript console, it’s rendered in the title bar as a chrome-extension: URI. Perhaps you’re indeed correct to focus on this, because chrome-extension: URIs don’t appear to permit cross-origin invocations either.
Thanks, but that just uses the standard browser chrome. It also breaks PDFJS, which is another bug I can’t be bothered to report (yet):
google-chrome-canary --window-size=600,400 --password-store=basic 'file:///home/RokeJulianLockhart/Documents/@%7B'Name'='Common'%7D%23.dir/@%7B'Name'='Curriculum%20Vit%C3%A6'%7D%23.PDF' Fontconfig error: Cannot load default config file: No such file: (null) Created TensorFlow Lite XNNPACK delegate for CPU. Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor). [783620:783620:0319/161038.432379:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 1 times! [783620:783620:0319/161114.505561:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 2 times! [783620:783620:0319/161116.821150:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 3 times! [783560:783591:0319/161133.379902:ERROR:content/browser/browser_main_loop.cc:278] GLib: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
Just reloading the page remediates it. How ridiculous.



