about summary refs log tree commit diff stats
path: root/src/html/env.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-08-23 23:37:12 +0200
committerbptato <nincsnevem662@gmail.com>2023-08-23 23:40:44 +0200
commit65fe1de341be4c6f8a7f1a0ec6d954be463bba29 (patch)
tree95cfd79c35d1ae3593dbe94f36acdd0c77b742ff /src/html/env.nim
parentc7b208ed8f99cdeaf93f7141197b549b32f88165 (diff)
downloadchawan-65fe1de341be4c6f8a7f1a0ec6d954be463bba29.tar.gz
DOMParser: use correct URL
Use current document's URL if window && window.document, otherwise
default to about:blank.

Also, it seems that passing nil to window is really necessary in some
cases, so remove notes indicating otherwise.
Diffstat (limited to 'src/html/env.nim')
0 files changed, 0 insertions, 0 deletions