<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>13645</bug_id>
          
          <creation_ts>2007-05-09 10:25:29 -0700</creation_ts>
          <short_desc>JSEnv bookmarklet doesn&apos;t print errors</short_desc>
          <delta_ts>2007-05-13 08:49:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Website</component>
          <version>419.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>8519</dup_id>
          
          <bug_file_loc>http://www.squarefree.com/jsenv/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>8456</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Garrett Smith">xk1t</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>xk1t</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10485</commentid>
    <comment_count>0</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2007-05-09 10:25:29 -0700</bug_when>
    <thetext>JSEnv is a very useful development bookmarklet that does not work in Safari.

I don&apos;t expect the feature &quot;install as user script&quot; to work.

However, JSEnv cannot run a simple script in Safari.

Try in FireFox to see how it should work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10499</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2007-05-09 13:29:30 -0700</bug_when>
    <thetext>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. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10520</commentid>
    <comment_count>2</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2007-05-09 15:55:43 -0700</bug_when>
    <thetext>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&apos;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
================================================

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10198</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-05-12 10:42:22 -0700</bug_when>
    <thetext>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 &quot;failure&quot; test):

TypeError: Undefined value
Line: 11

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10093</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-05-13 08:49:02 -0700</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>