Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uppanic when trying to load url which does not begin with http(s) #6184
Comments
zmike
commented
May 25, 2015
|
Isn't that usually the responsibility of the frontend to fix up? |
|
Adding it, possibly. But the engine still shouldn't crash if it can't parse a url. |
|
Will get on that, if no one else already started doing so :-) |
|
We could also be trying to load a file called |
|
According to resources linked by @jdm, this is impossible since it would be a relative path file open which is not something that web browsers are capable of. Mainly the fix I'm looking for here is to check the result and then send an error back to the window. I've added the required error functionality in #6175 which is in the reviewing queue. |
|
#6175 has merged, so sending the appropriate error (ADDRESS_INVALID I think) should basically be a one-liner. |