Ticket #2 (closed defect: fixed)

Opened 2 years ago

Last modified 8 months ago

Bizarre JavaScript errors point to GM files

Reported by: mozdev.20.vtbassma..@spamgourmet.com Assigned to:
Priority: major Milestone:
Version: Keywords: xpcom component greasemonkey.js
Cc:

Description

(Cross-posted to mozdev Bugzilla as bug 16207.)

I'm running Firefox 2.0.0.1/Mac 10.4.8 (PowerPC) with GM version 0.6.7.20070131 and getting some rather strange errors in the JS console when it doesn't appear that my script should have any problems. Specifically, the errors are always a variation on:

Error: missing ; before statement Source File: file:///Users/matt/Library/Application%20Support/Firefox/Profiles/(profile-dir)/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js Line: 294 Source Code: 294

The "294" varies but tends to always be near the "XPCOM registration goop".

Attachments

Change History

03/05/07 23:42:13 changed by mrober..@att.net

I am getting what I think is the same error on two different machines. In both cases it's happening with Firefox 1.5.0.10 and GM 0.6.7.20070131.0 , but one is on Debian stable with a 2.6.8 kernel and the other is on XP Pro Version 2002 SP2. The error I am seeing in the JavaScript? console is always "Error: hsplt[1] has no properties" and it is always in greasemonkey.js . As above, the line number varies; I have seen 329 and 331 recently - these are a few lines below the "XPCOM registration goop" comment.

To reproduce: - Start Firefox with a new clean profile. - Install GM 0.6.7.20070131.0. - Close Firefox and restart with the same profile. - Go to userscripts.org and install "Yahoo Link Tracking Removal (Modified)" at http://userscripts.org/scripts/show/4975 . - Open Firefox Javascript console and clear messages. - Visit http://dailynews.yahoo.com/headlines/ts . (The script just installed should attempt to run on this site.) - Several errors will display in the Javascript console - The above error (hsplt[1] has no properties) should be one of the last ones displayed.

(follow-up: ↓ 3 ) 03/17/07 10:51:32 changed by aranti..@gmail.com

Could you try this out with the 0.6.8 version and see if it still happens?

http://groups.google.com/group/greasemonkey-dev/t/c7a2b2156b3d94df

(in reply to: ↑ 2 ; follow-up: ↓ 4 ) 04/02/07 20:10:04 changed by mrober..@att.net

Replying to aranti..@gmail.com:

Could you try this out with the 0.6.8 version and see if it still happens?

I downloaded 0.6.8 (as posted on www.greasespot.net with a date of 17 March 2007; specifically greasemonkey-0.6.8.20070314.0) and this seems to have fixed it. I followed the steps in "To reproduce:" in my initial ticket, and I still get the same hsplt[1] error, BUT now it gives the name and correct line number in the user script, instead of in greasemonkey.js . So far I've only tested this on the XP Pro Version 2002 SP2 box, but I will test it on the Linux box within a day or so.

(in reply to: ↑ 3 ) 04/03/07 03:54:37 changed by mrober..@att.net

Replying to mrober..@att.net:

So far I've only tested this on the XP Pro Version 2002 SP2 box, but I will test it on the Linux box within a day or so.

Just tried GM 0.6.8 on the Linux box (Debian stable, 2.6.8 kernel) and it is also fixed there. I got the hsplt[1] error but it was correctly identified as coming from the user script and not greasemonkey.js .

Thanks!

04/06/07 05:41:02 changed by anonymous

04/28/07 03:51:26 changed by anonymous

07/06/07 18:25:35 changed by anonymous

  • cc set to painting.
  • keywords changed from xpcom component greasemonkey.js to painting.
  • summary changed from Bizarre JavaScript errors point to GM files to painting.
  • type changed from defect to enhancement.
  • priority changed from major to minor.

07/06/07 19:29:44 changed by anonymous

  • priority changed from minor to trivial.
  • type changed from enhancement to defect.

07/07/07 09:42:47 changed by anonymous

  • keywords changed from painting to wine.
  • priority changed from trivial to minor.
  • type changed from defect to enhancement.
  • summary changed from painting to wine.

07/11/07 03:57:26 changed by anonymous

  • keywords changed from wine to game.
  • priority changed from minor to major.
  • type changed from enhancement to defect.
  • summary changed from wine to game.

http://corp.cwsurf.de/game/free-downloadable/ - Arcade download free galaga game - Full Version Free Games Download, Free download games. http://www12.asphost4free.com/allmask/game/pogo-game/index.html pogo game

07/12/07 11:49:06 changed by loucypher.m..@gmail.com

  • cc deleted.
  • keywords changed from game to xpcom component greasemonkey.js.
  • summary changed from game to Bizarre JavaScript errors point to GM files.

07/24/07 17:52:37 changed by aranti..@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.

08/14/07 18:15:50 changed by anonymous

04/01/08 01:31:59 changed by anonymous

江苏省顺利牧业是一家专业从事良种瘦肉型仔猪繁育、仔猪销售的独资企业。基地成立以来,一直深受省、市、县三级领导的关心与扶持,年年被评为诚实、守信企业,全国外三元育种协作组成员单位,经过不断的扩建,和仔猪品种的改良,基地常年面向全国供应25-110斤长白、杜洛克、双肌臀大约克、内 外三元、纯种四元优质瘦肉型苗猪, 养猪基地所有繁育场采用科学节约化繁育管理,技术质量高,抗病能力强、成活率高。目前加盟我公司连锁大型猪场已达50多家,确保质量。 基地主防:口蹄疫、链球菌、蓝耳病、弓形虫猪圆环病毒、二型混合感染等。 目前公司苗猪远销:苏、沪、浙、皖、鄂、赣、豫、湘、京、冀、晋、陕、新、粤、闽以及东北三省,内蒙等地。让每一个客户都能在顺利苗猪繁殖场,买到良种瘦肉型苗猪是公司最根本宗旨!

1、建立外贸型公司,原料、市场、技术、人才、资金、信息等资;

2、利用现代电子信息技术,建立和完善顺利牧业的电子商务系统和计算机管理系统,实现网上的物流管理,网下的配送服务;

04/08/08 23:50:37 changed by anonymous

电子地磅解码器,吨位遥控器/本吨位遥控器引进日本先进技术研制而成,完全采用数字式集成电路技术,采用万能解码数据处理线路,适用于10----150吨以下吨位,无须对地磅作任何改动 具有防拦截,防扫描等优点,解码器安装于车上或离地磅8米以内,在电子称旁40米或60米以内,能控制电子称的数码数据,最小值20公斤,规格10 /15/20,此产品主要产生电子磁场干扰和控制,从而使吨位变大或变小,性能稳定可靠,体积小,遥控主机 解码处理器 如烟盒大小,遥控器配两种型号,隐蔽性强,附件含使用光盘一套,


Add/Change #2 (Bizarre JavaScript errors point to GM files)




Action