rogerwang/node-webkit — pull request #2267 by ghostoy (2014-08-31 14:12:41+00:00)
Title: Fix #2167 on Windows

The origin fix checks if the filename is empty or `"blank"`. If so, on Windows, the filename is stripped from second letter of `location.pathname`. However in case of "blank" location, it results in setting `process.mainModule.filename` to `"lank"` instead of `"blank"`. This will cause the check fails in the next call.