cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

EmbeddedBrowserTesting

Embedded Browser - MozSwing

Embedded browser planned for NetBeans 6.8 is based on MozSwing component which uses native XUL Runner binaries to create native browser window. The test build is available File:////dhcpEprg06E51E04.czech.sun.com/stanislavAubrechtsPublicFolder/netbeans.zip. The following issues need to be tested:

Supported platforms

MozSwing doesn't support all operating systems, JDK versions and processor architectures. Unsupported are all 64-bit operating systems, Linux with JDK 1.5, Linux with JDK < 1.6.0_14 and GTK Look And Feel. There might be other unsupported platforms (e.g. OpenJDK, some exotic Unix OS etc)

Stability

MozSwing has some reported problems when many embedded browser windows are opened. Please try opening many browser windows (each link opens a new browser tab) and watch for process crashes and/or performance issues.

Heavy x lightweight mixing

Embedded browser is a heavyweight component while most of the NetBeans IDE are lightweight Swing components which may not paint correctly overy the heavyweight browser. Please check the behavior of sliding windows, popup menus, combo boxes etc.

Event handling

Test shortcut handling and focus traversal when in browser window.

Content rendering

Check how HTML content is rendered - Flash videos, popup windows, JavaScript execution etc.

Note: After unpacking the test build zip file it is necessary to rename file <netbeans>/ide11/modules/ext/xulrunner-macosx-i386.zip to <netbeans>/ide11/modules/ext/xulrunner-macosx.zip

Test Report

Test cases:

STANDARD

  • IDELink - click on links in IDE (Start Page, other)
  • GOTOP - go to page/write address in address field and enter (www.netbeans.org,wiki.netbeans.org,kenai.com+login,pasted random page with long URL)
  • BADFRM - bad formatted address entered
  • RFRSH - refresh in various scenarios,repeated refresh
  • MOVE - move browser in IDE / dock / undock / resize
  • DEP - deploy application / view HTML page
  • CHECK - Check controls - forward,back,stop,change tab, history
  • DISP - display pop-up window
  • MULT - multiple browser tabs,switching,refresh
  • TIME - time element,letting buffered events to fire

OPTIONAL

  • DOWN - set EB in Options and downloaded (this feature was removed and in current builds are Download buttons missing)


OS JDK Test Cases tested Observations
Win Vista / 32b JDK1.6.0_14 STANDARD, DOWN
Win Vista / 32b JDK1.5.0_18 STANDARD
Win XP / 32b JDK1.6.0_14 STANDARD, DOWN
Win XP / 32b JDK1.5.0_18 STANDARD
OpenSolaris / 64b JDK1.6.0_14 STANDARD, DOWN Serious issues because of problems with GTK LookAndFeel
Ubuntu Linux / 32b JDK1.6.0_14 STANDARD, DOWN Serious issues because of problems with GTK LookAndFeel
Mac / 32b (IMac) JDK1.6.0_14 unavailable - Not tested because of JDK1.6.0_13 is latest available version.
Mac / 32b (IMac) JDK1.5.0 STANDARD, DOWN Serious issues reported
Mac / 64b (MacBooks Pro?) JDK1.6.0_14 - Not supported for 64 bit systems


JWebPane component based testing

OS JDK Test Cases tested Observations
Win Vista / 32b JDK1.6.0_15 Sanity Slower load of browser tabs, Clone Document fails, problems with JavasCript (www.zembly.com - can't do anything,because can't accept cookies, RESTful web services Test ...)
Ubuntu Linux / 32b JDK1.6.0_14 Sanity Extremely slow loading of pages (3 or more times slower,than before); newly entered URL address is replaced by former one,when pressed Enter and then again by new one,after while; Javascript problems as well; No Clone document problem here
Mac / 64b (IMac) JDK1.6.0_13 Sanity Slowness; Unexpected crashing of Netbeans IDE after some time; newly entered URL address is replaced by former one,when pressed Enter and then again by new one,after while ; Javascript problems as well; No Clone document problem here


Test Specifications

 Sanity Test Specification