webkit-gtk: jsc works, update TODO

At least on NetBSD/amd64 8.99.1 `jsc' no longer crashes as reported and seems to
correctly work!

I've only stressed it based on `Wat' presentation by Gary Bernhardt
at CodeMash 2012:

 >>> [] + []

 >>> [] + {}
 [object Object]
 >>> {} + []
 0
 >>> {} + {}
 NaN
 >>> Array(16)
 ,,,,,,,,,,,,,,,
 >>> Array(16).join("wat")
 watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
 >>> Array(16).join("wat" + 1)
 wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1
 >>> Array(16).join("wat" - 1) + " Batman!"
 NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman!
This commit is contained in:
Leonardo Taccari 2017-07-29 20:20:49 +02:00
parent ebb006b7ed
commit b3dcdef543

View file

@ -1,18 +1,2 @@
- Should we install stuffs installed in ${PREFIX}/libexec/webkit2gtk-4.0/ in ${PREFIX}/bin/
instead (at least MiniBrowser and eventually jsc?)
- Investigate why jsc crashes:
% /usr/pkg/libexec/webkit2gtk-4.0/jsc
Segmentation fault (core dumped)
Exit 139
% gdb -core jsc.core /usr/pkg/libexec/webkit2gtk-4.0/jsc
Reading symbols from /usr/pkg/libexec/webkit2gtk-4.0/jsc...(no debugging symbols found)...done.
[New process 1]
Core was generated by `jsc'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000040f679 in Worker::Worker(Workers&) ()
(gdb) bt
#0 0x000000000040f679 in Worker::Worker(Workers&) ()
#1 0x0000000000412ea5 in jscmain(int, char**) ()
#2 0x0000000000413f8b in main ()
(gdb) quit