-
Notifications
You must be signed in to change notification settings - Fork 518
Conversation
Because Node in its infinite wisdom mangles |
Ah, interesting. I dug into this some more. I believe that Node is almost doing the right thing. It seems that file URLs technically have a hostname component (even though it is basically ignored). This means that a URL of the form The problem seems to manifest in Node's I suppose that the solution is ultimately to try and work this through the Node community. However, I was wondering what you think about trying to put together a work-around for Zombie. I would be happy to take a crack at it if it sounds good to you. |
The test cases actually passes If you have an idea how to fix this in Zombie, and want to add it to this PR, I'll gladly accept both changes together. |
Agreed. I believe it's the |
Upstream issue is nodejs/node-v0.x-archive#14146. Going to try to put together a work around for Zombie now. |
I think this should work around the issue. Let me know what you think. |
When we have a document, we use I think we should just use the JSDOM resolver everywhere and not bother with |
a972ff4
to
94ca412
Compare
Cool. Switching to the JSDOM resolver seems reasonable since it seems to address other bugs. However, it doesn't seem to address the root issue here. I have updated everything to use |
It seems that the JSDOM is no longer supported on Node (>= 4.0). What are your thoughts going forward with new features? |
I'm also going to drop Node support at some point, it takes too much effort to test and patch the code against multiple runtimes, stuff like this: assaf/node-replay#60 Zombie 3.1 will remain with JSDOM 3.1, but the next major upgrade will drop 0.10 support and, if JSDOM doesn't come around, also 0.12 support. |
Also submitted the upstream fix to nodejs/node#1277. Any thoughts on the latest changes? |
Fantastic! |
Just published 3.1.1 |
Awesome, thanks! |
This test case was broken on Linux running from a path containing an upper case letter. I may be missing something, but I'm not sure why it would be desirable to convert the path to lower case on any platform.