mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Enable the "should have an alt attribute from toolTip" unit-test in Node.js
Despite the pending-message mentioning "Image", this appears to be another case where the code actually depends on [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#browser_compatibility); note cf3ca8b5bc/src/core/xfa/template.js (L3453)
This commit is contained in:
parent
cf3ca8b5bc
commit
faf9e32ecb
1 changed files with 0 additions and 4 deletions
|
@ -13,7 +13,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { isNodeJS } from "../../src/shared/util.js";
|
||||
import { XFAFactory } from "../../src/core/xfa/factory.js";
|
||||
|
||||
describe("XFAFactory", function () {
|
||||
|
@ -145,9 +144,6 @@ describe("XFAFactory", function () {
|
|||
});
|
||||
|
||||
it("should have an alt attribute from toolTip", async () => {
|
||||
if (isNodeJS) {
|
||||
pending("Image is not supported in Node.js.");
|
||||
}
|
||||
const xml = `
|
||||
<?xml version="1.0"?>
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue