You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affects Asciidoctor.js Live Preview 2.6.0.1 and previous 2.5.0 in Chromium-based web browsers.
Description
Using the include::file.adoc[] declaration in a document will trigger several warnings. It does not prevent proper display of the document.
Steps to reproduce
Try to preview a file that includes a different one
= My Documentinclude::file.adoc[]
Details
Error Message
Synchronous XMLHttpRequest on the main thread is deprecated
because of its detrimental effects to the end user's experience.
For more help, check https://xhr.spec.whatwg.org/.
Unfortunately, we cannot use an asynchronous XMLHttpRequest because the code of Asciidoctor.js is transpiled from Ruby and the code has to be synchronous.
This issue will most likely be fixed in the upcoming JavaScript compatible implementation of the AsciiDoc specification.
Affects Asciidoctor.js Live Preview 2.6.0.1 and previous 2.5.0 in Chromium-based web browsers.
Description
Using the
include::file.adoc[]
declaration in a document will trigger several warnings. It does not prevent proper display of the document.Steps to reproduce
Details
Error Message
Context
_generated_background_page.html
Stack Trace
js/vendor/asciidoctor.js:19990 ($read)
Relevant Lines
asciidoctor.js/packages/core/lib/asciidoctor/js/opal_ext/browser/file.rb
Line 9 in 19b25a5
Possibly Related
#630, #644
Attachments
The text was updated successfully, but these errors were encountered: