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
Hello, I am trying to use this library with iframe but I get a crash error when passing the iframe document to the resolve function
Basically the undefined is expected to be a string here.
textarea.value return "" when created on the main page document but it looks like when creating with the iframe document it will be undefined.
Is that a specific behavior from iframe ? Is there a way to workaround ?
One thing to note is that the content in the iframe is an epub document and so is an xhtml page. Maybe the spec of xhtml define undefined instead of "" when a value has not been set yet or something ?
The text was updated successfully, but these errors were encountered:
Hello, I am trying to use this library with iframe but I get a crash error when passing the iframe document to the
resolve
functionBasically the
undefined
is expected to be astring
here.textarea.value
return "" when created on the main page document but it looks like when creating with the iframe document it will beundefined
.Is that a specific behavior from iframe ? Is there a way to workaround ?
One thing to note is that the content in the iframe is an epub document and so is an xhtml page. Maybe the spec of xhtml define
undefined
instead of""
when a value has not been set yet or something ?The text was updated successfully, but these errors were encountered: