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
const dom = require('get-dom')
const document = dom.document(); //global
const form = document.createElement('form');
form.submit(); //this gives the following error:
Error: Not implemented: HTMLFormElement.prototype.submit
at module.exports (/srv/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
at HTMLFormElementImpl.submit (/srv/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js:78:5)
at HTMLFormElement.submit (/srv/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js:19:23)
at createForm (/srv/index.js:176:18)
at exports.naplata.functions.region.https.onRequest (/srv/index.js:25:27)
at cloudFunction (/srv/node_modules/firebase-functions/lib/providers/https.js:49:16)
at /worker/worker.js:783:7
at /worker/worker.js:766:11
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickDomainCallback (internal/process/next_tick.js:219:9) undefined
The text was updated successfully, but these errors were encountered:
const dom = require('get-dom')
const document = dom.document(); //global
const form = document.createElement('form');
form.submit(); //this gives the following error:
Error: Not implemented: HTMLFormElement.prototype.submit
at module.exports (/srv/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
at HTMLFormElementImpl.submit (/srv/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js:78:5)
at HTMLFormElement.submit (/srv/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js:19:23)
at createForm (/srv/index.js:176:18)
at exports.naplata.functions.region.https.onRequest (/srv/index.js:25:27)
at cloudFunction (/srv/node_modules/firebase-functions/lib/providers/https.js:49:16)
at /worker/worker.js:783:7
at /worker/worker.js:766:11
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickDomainCallback (internal/process/next_tick.js:219:9) undefined
The text was updated successfully, but these errors were encountered: