win is not defined in JOE 0.4

Discussion and bug reporting for the JavaScript Object Examiner (JOE) extension.

win is not defined in JOE 0.4

Postby morat » Thu Aug 23, 2012 8:22 am

The JOE menu item in Web Developer folder is below the Get More Tools menu item instead of above the menu separator.

I wish the JOE windows were not always on top so I can easily switch to another window.

The extension only works with chrome windows. Why are content pages in the scope list?

* open browser
* click joe in tools > web developer

Error: ReferenceError: win is not defined
Source file: chrome://javascriptobjectexaminer/content/JOE.js
Line: 366

* select content page in scope list

Error: ReferenceError: win is not defined
Source file: chrome://javascriptobjectexaminer/content/JOE.js
Line: 366

* click browse for objects

Error: TypeError: obj is undefined
Source file: chrome://javascriptobjectexaminer/content/JOE.js
Line: 266

The joe tree window never stops enumerating objects.

* click refresh id list

Error: ReferenceError: win is not defined
Source file: chrome://javascriptobjectexaminer/content/JOE.js
Line: 366

* click examine next to refresh id list

Error: TypeError: window._JOESCOPE is undefined
Source file: chrome://javascriptobjectexaminer/content/JOE.js
Line: 410

JavaScript Object Examiner 0.4
Firefox Portable 14.0.1
Windows XP SP3
morat
 
Posts: 2
Joined: Thu Aug 23, 2012 7:35 am

Re: win is not defined in JOE 0.4

Postby cbaker_admin » Fri Aug 24, 2012 5:09 pm

The JOE menu item in Web Developer folder is below the Get More Tools menu item instead of above the menu separator.
Fixed. Also moved the context menu item to near the bottom (above "Inspect Element" item).

I wish the JOE windows were not always on top so I can easily switch to another window.
Fixed. Now it is an option in JOE Options > Preferences under "JOE console always on top".

The extension only works with chrome windows. Why are content pages in the scope list?
I originally decided to include easy access to content windows, but after some thought I've decided it is redundant. The content window is always available from the window.document object anyway. Now JOE only shows chrome windows.

The joe tree window never stops enumerating objects.
I'm not sure what you mean. Does the progress bar move continuously? If so, that is most likely caused by the other "Error: ReferenceError: win is not defined" errors you pointed out. It should be fixed now.

Version 0.5 can be installed from here.
cbaker_admin
Site Admin
 
Posts: 4510
Joined: Sun Nov 27, 2005 10:51 pm
Location: Glendale, AZ USA

Re: win is not defined in JOE 0.4

Postby morat » Fri Aug 24, 2012 7:32 pm

Thanks. JOE 0.5 is working fine now.

:D
morat
 
Posts: 2
Joined: Thu Aug 23, 2012 7:35 am


Return to JavaScript Object Examiner (JOE)

Who is online

Users browsing this forum: No registered users and 0 guests

cron