WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 8519
13645
JSEnv bookmarklet doesn't print errors
https://bugs.webkit.org/show_bug.cgi?id=13645
Summary
JSEnv bookmarklet doesn't print errors
Garrett Smith
Reported
2007-05-09 10:25:29 PDT
JSEnv is a very useful development bookmarklet that does not work in Safari. I don't expect the feature "install as user script" to work. However, JSEnv cannot run a simple script in Safari. Try in FireFox to see how it should work.
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2007-05-09 13:29:30 PDT
Hi Garrett, JSEnv seems to work fine in the nightlies. If you are seeing a particular problem please reopen the bug. Thanks for the report though.
Garrett Smith
Comment 2
2007-05-09 15:55:43 PDT
Much better in the nightly. However, running the example in Safari, the failure case has a different Result: The error does not make it to the console, as it does in FireFox. I didn't try to find out why the failure test failed. In firefox: ================================================ Running... Squares of numbers 0 through 4: 0 1 4 9 16 Error on line 11: this.statement has no properties ================================================ In safari: ================================================ Running... Squares of numbers 0 through 4: 0 1 4 9 16 ================================================
David Kilzer (:ddkilzer)
Comment 3
2007-05-12 10:42:22 PDT
Confirmed with a local debug build of WebKit
r21332
with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135). JavaScript console reports (when running the "failure" test): TypeError: Undefined value Line: 11
Alexey Proskuryakov
Comment 4
2007-05-13 08:49:02 PDT
This problem is caused by window.onerror not working in WebKit, closing as a duplicate. Thank you for reporting this! Please file new bugs if you find any other problems with this bookmarklet. *** This bug has been marked as a duplicate of
8519
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug