This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 230392 - DOM browser is randomly incomplete with mobile Chrome on page reload
Summary: DOM browser is randomly incomplete with mobile Chrome on page reload
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2013-05-28 15:11 UTC by Vladimir Riha
Modified: 2013-07-17 07:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
webkit log (55.91 KB, text/x-log)
2013-05-28 15:11 UTC, Vladimir Riha
Details
IDE log (50.21 KB, text/x-log)
2013-05-28 15:12 UTC, Vladimir Riha
Details
screenshot with incomplete DOM (172.39 KB, image/png)
2013-05-28 15:12 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-05-28 15:11:48 UTC
Created attachment 135009 [details]
webkit log

Please try following:
- create new HTML project
- run it in mobile Chrome
- in mobile Chrome, click on reload icon in omnibar

=> inspection is broken - DOM Browser is incomplete, if I turn inspect mode on then hovering over element in DOM Browser does not highlight it in browser and vice versa, selecting element in browser has no affect on IDE. But the page is "frozen" so for example clicking on link won't navigate me to its target location. So inspection does freeze current page.

I saw it several times. I also tried different project with the same result. I also noticed that with both projects, although the HTML code was very different, in both cases last element in DOM Browser was <body> tag with no children. Once this happened, I tried to modify DOM from within this page using JS to see if it will bring inspection and Browser DOM back to life but it didn't help and newly created nodes were not displayed in Browser DOM

Also in this broken case, JS debugging was working (except of course of DOM breakpoints) so it seems to be issue only of DOM Browser and CSS Styles window

Attached webkit & ide log are from moment when I reloaded page from mobile browser and waited some time till DOM Browser was reloaded.


The only workaround is to close tab in browser and start again. 



Product Version: NetBeans IDE Dev (Build web-main-10634-on-20130528)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-05-28 15:12:05 UTC
Created attachment 135010 [details]
IDE log
Comment 2 Vladimir Riha 2013-05-28 15:12:33 UTC
Created attachment 135011 [details]
screenshot with incomplete DOM
Comment 3 Vladimir Riha 2013-05-28 15:20:07 UTC
... I cannot reproduce it when I run file/project from IDE, but only if I reload page from Chrome
Comment 4 Vladimir Riha 2013-05-28 15:33:09 UTC
If issue 229859 is not iOS specific, this issue has similar symptoms like issue 230330 or issue 230328.
Comment 5 Quality Engineering 2013-05-30 01:36:02 UTC
Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/22227d84df6a
User: Jan Becicka <jbecicka@netbeans.org>
Log: Improved synchronization of requests
#230392
#229859
Comment 6 Vladimir Riha 2013-05-31 14:40:31 UTC
It seems better now , I'll test it more in office with the same setup as when reported. 

I noticed that if I do the reload (using reload icon in browser) couple of times in row, child nodes of <body> in Browser DOM are "flashing" (once per reload) - it looks like update of Browser DOM (repopulation), that is OK, but interesting is that <html>, <head> and <body> are not flashing (or faster than one can see). Just an observation...

Thanks
Comment 7 Vladimir Riha 2013-05-31 14:40:47 UTC
*
Product Version: NetBeans IDE Dev (Build web-main-10676-on-20130531)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b13
System: Linux version 3.2.0-44-generic-pae running on i386; UTF-8; en_US (nb)
Comment 8 Vladimir Riha 2013-06-03 13:58:12 UTC
I cannot reproduce it, so it seems to be OK now, thanks again.
Comment 9 Jan Becicka 2013-06-04 13:49:15 UTC
Thanks