Closed Bug 776430 Opened 12 years ago Closed 12 years ago

Function.toString() is still broken after landing Bug 776389. if script loaded by nested mozIJSSubScriptLoader

Categories

(Core :: JavaScript Engine, defect)

17 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla17
Tracking Status
firefox17 - verified

People

(Reporter: alice0775, Assigned: Benjamin)

References

Details

(Keywords: addon-compat, regression)

Attachments

(3 files)

Build Identifier:
http://hg.mozilla.org/integration/mozilla-inbound/rev/d12d918df9d6
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120722151543

Function.toString() is till broken after landing Bug 776389. if script loaded by nested mozIJSSubScriptLoader

Steps to Reproduce:
1. Start Nightly with new profile
2. Quit browser

3. Create a folder named chrome into the user profile folder
4. Copy 1st(userChrome.js) and 2nd(bugtest.uc.js) attached file into user profile folder\chrome

5. Install userChromeJS v1.5(http://userchromejs.mozdev.org/index.html)
6. Restart browser

Actual Results:
 Only two alert box appear:
  1st: object
  2nd: function

And the following error in the Error Console

Timestamp: 2012/07/23 12:43:49
Error: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/5qo5d6ux.ddasda/extensions/userChromeJS@mozdev.org/components/userChrome_js.js -> file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/5qo5d6ux.ddasda/chrome/userChrome.js -> file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/5qo5d6ux.ddasda/chrome/bugtest.uc.js :: <TOP_LEVEL> :: line 8"  data: no]
Source File: file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/5qo5d6ux.ddasda/extensions/userChromeJS@mozdev.org/components/userChrome_js.js
Line: 147

Expected results: 
 Three alert box appear:
  1st: object
  2nd: function
  3rd:
       function (aEvent, aXferData, aDragSession) {
       }
Summary: Function.toString() is till broken after landing Bug 776389. if script loaded by nested mozIJSSubScriptLoader → Function.toString() is still broken after landing Bug 776389. if script loaded by nested mozIJSSubScriptLoader
Assignee: general → bpeterson
Attachment #644843 - Flags: review?(bzbarsky)
Blocks: 776439
Comment on attachment 644843 [details] [diff] [review]
fix the rightmost arrow

<sigh>

r=me
Attachment #644843 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/483756fb2e92
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Keywords: verifyme
Verified as fixed on the 10/16 Nightly, with the steps from comment 0:
Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/19.0 Firefox/19.0

This bug cannot be verified on Firefox 17 beta since userChromeJS can only be installed on Nightly.
Keywords: verifyme
Ioana, this needs to be verified against Firefox 17, not 19. Thank you.
Keywords: verifyme
(In reply to Anthony Hughes, Mozilla QA (:ashughes) from comment #8)
> Ioana, this needs to be verified against Firefox 17, not 19. Thank you.

Oops, sorry. I forgot to notice your comment about userChromeJS compatability. Since this was fixed in Firefox 17 when it was on mozilla-central, I think it's safe to say your verification against Firefox 19 would be valid.

Apologies for my mistake.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: