readium-shared-js icon indicating copy to clipboard operation
readium-shared-js copied to clipboard

Image in the spine (automatically wrapped in HTML by web view) fails to load

Open danielweck opened this issue 8 years ago • 1 comments

https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcdn.rawgit.com%2Freadium%2Freadium-test-files%2Fmaster%2Ffunctional%2Fsmoke-tests%2FSmokeTestFXL&goto=%7B%22idref%22%3A%22spine-images-001%22%2C%22elementCfi%22%3A%22%2F4%2F2%2F2%2C%2F1%3A0%2C%2F1%3A1%22%7D

Step 1: force single page display Step 2: go to next page (tiger should render with infinite loader) Step 3: go to next page (orange cat should render with infinite loader) Step 4: go to next page (blank page with infinite loader) Step 5: open console, see:

TypeError: Type error
parseFromString — markup_parser.js:27
parseMarkup — markup_parser.js:27
resolveInternalPackageResources — content_document_fetcher.js:47
(anonymous function) — content_document_fetcher.js:40
success — plain_resource_fetcher.js:89

danielweck avatar Feb 28 '17 17:02 danielweck

Chrome says: Failed to execute 'parseFromString' on 'DOMParser': The provided value 'image/jpeg' is not a valid enum value of type SupportedType.

danielweck avatar Feb 28 '17 17:02 danielweck