Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #1

Open
Insolita opened this issue Aug 9, 2013 · 3 comments
Open

Error #1

Insolita opened this issue Aug 9, 2013 · 3 comments

Comments

@Insolita
Copy link

Insolita commented Aug 9, 2013

TypeError: Object # has no method 'getComputedStyle'
at Object.offsetWidth (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:1354:38)
at Object.core.resourceLoader.download (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:316:18)
at Object.core.resourceLoader.load (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:239:11)
at Object.core.Node.insertBefore (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:714:24)
at Object.core.Node.appendChild (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:784:16)
at Object.core.HTMLDocument.setTree (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:2089:26)
at Object.core.HTMLDocument.setTree (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:2134:21)
at Object.core.HTMLDocument.setTree (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:2134:21)
at Object.core.HTMLDocument.setTree (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:2134:21)
at Object.core.HTMLDocument.setTree (/home/solly/phjs/scripts/node_modules/node-dom/lib/browser/index.js:2134:21)

@Ayms
Copy link
Owner

Ayms commented Aug 12, 2013

Difficult to say, I don't know what you are loading, probably a mal-formed web page that node-dom does not understand (seems to be a problem with the document object)

@Insolita
Copy link
Author

i try to load pages webmaster.yandex.ru , http://webmaster.yandex.ru/compare_regions.xml (required login before test its)

@Ayms
Copy link
Owner

Ayms commented Sep 3, 2013

How do you do this with node-dom (ie login) and if you send a "logged-in" request using node-dom what page are you loading exactly (html)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants