When browsing a content containing a PDF file, this message is shown in the UI: "Content is too large to be displayed (size is greater than 1.0 MB).", as expected (although the limit seems a bit low).
But the JS code also raises an uncaught error: SWH-WEBAPP-36B