Closed
Bug 903660
Opened 11 years ago
Closed 10 years ago
debugger ALWAYS has error about attribute nodeValue
Categories
(Firefox :: Untriaged, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: jmichae3, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130730113002 Steps to reproduce: 1.http://www.jesusnjim.com/burning-media/how-to-burn-a-cd-or-dvd.html 2.ctrl-shift-s 3.console 4.F5 Actual results: [16:14:41.861] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ http://j/burning-media/how-to-burn-a-cd-or-dvd.html for every refresh. it's a flat page. there is no reference to nodeValue anywhere on this page or in css. most likely, it's in ff's js code. Expected results: no errors for plain html page like this.
I don't see this error with FF23 or FF26. Only common errors in CSS files. Could you test with a clean profile, please. https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(jmichae3)
Comment 2•11 years ago
|
||
Same as Loic with Fx 22 and 2013-08-11-03-02-25-mozilla-central-firefox-26.0a1.en-US.linux-x86_64
Reporter | ||
Comment 3•11 years ago
|
||
https://developer.mozilla.org/en-US/docs/Web/API/Node.nodeValue documentation on js .nodeValue (which I pretty much don't use especially in this file) how on earth can you access nodeValue except through js? I am talking flat pages here. a css error should not cause a nodeValue error. that's a browser bug. look up nodeValue. it's only in js. in fact, I deleted all my js and commented out pretty much everything (including the css files) except the body html, and end up with same error. the only thing that's left are some classes and I was able to narrow it down to the use of a class in a form element which is defined as: .boxRedFloatLeft { padding:10px; border-color:red; border-style:dashed; border-width:thin; float:left; } ... and the form is here. I even stripped out the input elements to make sure no possibility of js was executing on my side (it's passive anyway). <form class="boxRedFloatLeft"> <!--input type='button' value='menu/nav off' onclick='domenuoff()'> <input type='button' value='menu/nav on' onclick='domenuon()'--> </form><!--br style="clear:both;"--> looks pretty correct to me. if I take out the form element the error goes away. now why is that? I already did a clean profile a month ago. used the reset button in about:support. nodeValue is nowhere in my HTML+CSS code. try this one: [21:19:53.579] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ http://jesusnjim.com/pc-repair/internet/index.html strangely enough, an html file with no css file and no classes in a form element does not cause this error.
Flags: needinfo?(jmichae3)
Reporter | ||
Comment 4•11 years ago
|
||
...and the debugger doesn't give a line number. just like it doesn't with invalid quantifier errors (I am not having that here).
Reporter | ||
Comment 5•11 years ago
|
||
sorry, forgot to mention I am using ff23.
Reporter | ||
Comment 6•11 years ago
|
||
interestingly enough, I did a search in my computer (including ff's source code), and found .nodeValue in - Bingbar (foisted on every machine almost) - webkit's inspector - jquery, which is used in ff - all throughout ff's 200MB zipped source code I guess I get this net error with yahoo mail, I blocked ad.yieldmanager.com with my hosts file. [22:13:56.691] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ about:neterror?e=connectionFailure&u=http%3A//ad.yieldmanager.com/... I don't see how the a net error and .nodeValue are related, unless there is some code somewhere that is supposed to be handling the network stuff and some js code that handles the network stuff is erroring out (?). so this is seemingly 2 different ways I am getting this .nodeValue error. I don't have .nodeValue in my web pages. there's something really odd about a css error causing a js error. there are no line numbers. [22:45:06.441] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ http://www.jesusnjim.com/cool-products/LED/led-flashlights.html#1cr123aflashl same here. probably the same css thing. no nodeValue in that page. I have ff25 right now. tried disabling the plugins colorzilla and firebug, but this did not do anything. I reset my ff and still get the error messages everywhere I go. sorry for being abrasive, I have had a lot of years of broken things, and it's been building up and irritating me, so I want to fix it in the only way I know how - submit bug reports. but I need to take care of my attitude. sorry for getting upset. I did a find . -exec grep -s nodeValue {} ; -print or find . -exec grep -s nodeValue {} ; -print>report.txt and found lots of instances where nodeValue was used in ff's source. so I found it hard to nail down since I am not familiar with same. maybe someone else can see if one of the grep matches hits something that looks interesting? find . -exec grep -s nodeValue {} ; -print | wc -l gives me the number of lines. but the zip file is 200MB, so it's going to be a long time before it finishes... I am on windows, and am using http://sf.net/projects/gnuwin32/files do do the above. maybe this is just too big to deal with. but then again, maybe some of these specific issues can be traced, found, and dealt with. if it helps any, here is my browser info from about:support Application Basics ------------------ Name: Firefox Version: 25.0 User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 Extensions ---------- Name: Adobe Contribute Toolbar Version: 6.0 Enabled: false ID: {01A8CA0A-4C96-465b-A49B-65C46FAD54F9} Name: HP Smart Web Printing Version: 4.60 Enabled: false ID: smartwebprinting@hp.com Name: Norton Toolbar Version: 2013.4.4.3 Enabled: false ID: {2D3F3651-74B9-4795-BDEC-6DA2F431CB62} Name: Norton Vulnerability Protection Version: 12.0.3.2 - 1 Enabled: false ID: {BBDA0591-3099-440a-AA10-41764D9DB4DB} Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.disk.smart_size_cached_value: 358400 browser.places.smartBookmarksVersion: 4 browser.sessionstore.upgradeBackup.latestBuildID: 20131025151332 browser.startup.homepage_override.buildID: 20131025151332 browser.startup.homepage_override.mstone: 25.0 browser.tabs.warnOnClose: false dom.mozApps.used: true extensions.lastAppVersion: 25.0 gfx.direct3d.last_used_feature_level_idx: 0 network.cookie.prefsMigrated: true places.database.lastMaintenance: 1384240509 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true print.printer_HP_Officejet_Pro_8500_A909g_Series.print_bgcolor: false print.printer_HP_Officejet_Pro_8500_A909g_Series.print_bgimages: false print.printer_HP_Officejet_Pro_8500_A909g_Series.print_colorspace: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_command: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_downloadfonts: false print.printer_HP_Officejet_Pro_8500_A909g_Series.print_duplex: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_edge_bottom: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_edge_left: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_edge_right: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_edge_top: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_evenpages: true print.printer_HP_Officejet_Pro_8500_A909g_Series.print_footercenter: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_footerleft: &PT print.printer_HP_Officejet_Pro_8500_A909g_Series.print_footerright: &D print.printer_HP_Officejet_Pro_8500_A909g_Series.print_headercenter: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_headerleft: &T print.printer_HP_Officejet_Pro_8500_A909g_Series.print_headerright: &U print.printer_HP_Officejet_Pro_8500_A909g_Series.print_in_color: true print.printer_HP_Officejet_Pro_8500_A909g_Series.print_margin_bottom: 0.5 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_margin_left: 0.5 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_margin_right: 0.5 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_margin_top: 0.5 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_oddpages: true print.printer_HP_Officejet_Pro_8500_A909g_Series.print_orientation: 1 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_page_delay: 50 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_paper_data: 1 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_paper_height: 11.00 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_paper_name: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_paper_size_type: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_paper_size_unit: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_paper_width: 8.50 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_plex_name: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_resolution: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_resolution_name: print.printer_HP_Officejet_Pro_8500_A909g_Series.print_reversed: false print.printer_HP_Officejet_Pro_8500_A909g_Series.print_scaling: 1.00 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_shrink_to_fit: true print.printer_HP_Officejet_Pro_8500_A909g_Series.print_to_file: false print.printer_HP_Officejet_Pro_8500_A909g_Series.print_unwriteable_margin_bottom: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_unwriteable_margin_left: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_unwriteable_margin_right: 0 print.printer_HP_Officejet_Pro_8500_A909g_Series.print_unwriteable_margin_top: 0 privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1383981340 Graphics -------- Adapter Description: NVIDIA GeForce GTX 670 Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Adapter RAM: 2048 ClearType Parameters: DISPLAY1 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] DISPLAY2 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] DISPLAY3 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] Device ID: 0x1189 Direct2D Enabled: true DirectWrite Enabled: true (6.2.9200.16571) Driver Date: 10-23-2013 Driver Version: 9.18.13.3165 GPU #2 Active: false GPU Accelerated Windows: 1/1 Direct3D 10 Vendor ID: 0x10de WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 670 Direct3D9Ex vs_3_0 ps_3_0) windowLayerManagerRemote: false AzureCanvasBackend: direct2d AzureContentBackend: direct2d AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0 JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.1 Version in use: 4.10.1 NSS Expected minimum version: 3.15.2 Basic ECC Version in use: 3.15.2 Basic ECC NSSSMIME Expected minimum version: 3.15.2 Basic ECC Version in use: 3.15.2 Basic ECC NSSSSL Expected minimum version: 3.15.2 Basic ECC Version in use: 3.15.2 Basic ECC NSSUTIL Expected minimum version: 3.15.2 Version in use: 3.15.2
Comment 7•10 years ago
|
||
This is not really actionable in its current state, so I'm closing this as incomplete. See e.g. : http://www.w3.org/TR/dom/#interface-attr and the big warning at the top of https://developer.mozilla.org/en-US/docs/Web/API/Attr Note that lots of jquery things hit this, and it's easily possible that add-ons run into the same thing.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Comment 8•10 years ago
|
||
> I already did a clean profile a month ago. used the reset button in about:support. BTW, that's not a clean profile. Here are the instructions: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles#w_creating-a-profile
Reporter | ||
Comment 9•10 years ago
|
||
jquery 1.4.1 is in the source code of ff 34.0.5 source, which has 3 instances of using attr*.nodeValue
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Reporter | ||
Comment 10•10 years ago
|
||
I did use a clean profile, and I did a check on the above page and it does not exhibit the bug, however, that doesn't mean another will not. I do update my site once in a while and I did change the css, which I found out seems to affect this bug. I wish I knew exactly what css property causes this so I could make a small test file.
Reporter | ||
Comment 11•10 years ago
|
||
http://Jesusnjim.com/bugs/ff-debugger-complains-about-attribute-nodeValue.htm this complains about the nodevalue, let me double-check in new profile (I *really* want my tabs and bookmarks from the old profile, but no way to backup and restore!)
Reporter | ||
Comment 12•10 years ago
|
||
not sure why this is, but old profile seems to cause a problem. :-( and all my tabs are there. I hope it's as simple as copying the session database over to the new profile. new profile consistently seems to be better about .nodeValue on initial looks.
Comment 13•10 years ago
|
||
(In reply to Jim Michaels from comment #9) > jquery 1.4.1 is in the source code of ff 34.0.5 source, which has 3 > instances of using attr*.nodeValue We don't actually use it in the front-end code. This is not the cause of your issue; it's much more likely to be related to a greasemonkey script, addon, or something similar. We can't help here, so I'm going to re-mark this as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 14•10 years ago
|
||
I think this bug is related to https://bugzilla.mozilla.org/show_bug.cgi?id=901841 another one I did earlier. hope this helps.
You need to log in
before you can comment on or make changes to this bug.
Description
•