tapir-dream / compatibility-detector

Automatically exported from code.google.com/p/compatibility-detector
Apache License 2.0
2 stars 5 forks source link

SD9002 getelementbyid_and_getelementsbyname #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
new

Original issue reported on code.google.com by wangju...@beyondsoft.com on 26 Nov 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Won't fix 
的主要是由于无法再语法层分析问题,无法判断逻辑,使用��
�的(jQuery, prototype 
等)也归于这类问题。由于简单过滤库不能从根本上解决问��
�,且准确率仍无法达标,因此不过滤。情况同 SD9001。

准确率 10% (2/20),具体情况如下:

准确:

http://www.z2hospital.com/cms/default.aspx
http://www.senha-yuzu.jp/

------------------
类似 if(document.getElementById(id))

http://www.malaysiaairlines.com/hq/en/bkinfo/booking-info.aspx
http://kr.blog.yahoo.com/dongbee2003/1930351.html?p=8&pm=l&tc=1818&tt=1287594510
http://kr.blog.yahoo.com/hyunsi2001/43
http://kr.dir.yahoo.com/Recreation/Sports/Billiards/Billiards/KimGahYoung/
http://www.citroen.jp/#/index
http://gazou03.com/
http://animeuni3.com/
http://amasan22.com/
http://www.orbis.co.jp/
http://www.ra-menzanmai.com/event/2010tokyo-ramen-show.html
http://www.toto.co.jp/
http://hitspv.com/

-------------------
jquery 1.2.6

http://www.channel4.com/
http://listen.grooveshark.com/
http://www.olympus.co.jp/jp/

---------------------
dojo

http://www.williams-sonoma.com/
-----------------------
prototype

http://q.hatena.ne.jp/1259364381
http://www.clinique.co.jp/

-------------------------
SWFObject 

http://www.fujiq.jp/

Original comment by wangju...@beyondsoft.com on 3 Dec 2010 at 5:35

GoogleCodeExporter commented 9 years ago
降级处理为 warning 级别,用法有错报了的属于准确,准确率 
100%。

Original comment by wangju...@beyondsoft.com on 7 Dec 2010 at 10:11

GoogleCodeExporter commented 9 years ago
fix 调用 document.getElementById() 时没传入参数的问题。

Original comment by wangju...@beyondsoft.com on 16 Dec 2010 at 4:19