Closed Bug 731818 Opened 12 years ago Closed 11 years ago

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIGfxInfo.getFeatureStatus]" on about:support

Categories

(Core :: Graphics, defect)

All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MattN, Unassigned)

References

(Blocks 1 open bug, )

Details

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:13.0) Gecko/20120229 Firefox/13.0a1

about:support is broken on my Windows 7 Nightly running in VirtualBox on OS X Lion because of the following exception for the Graphics info (populateGraphicsSection).  This also breaks other scripts on the page such as the "Show Folder" button.

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIGfxInfo.getFeatureStatus]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/aboutSupport.js :: populateGraphicsSection :: line 281"  data: no]

The if condition is the affected line:

//@line 314 "e:\builds\moz2_slave\m-cen-w64-ntly\build\toolkit\content\aboutSupport.js"
    // If ANGLE is not available but OpenGL is, we want to report on the OpenGL feature, because that's what's going to get used.
    // In all other cases we want to report on the ANGLE feature.
    var webglfeature = gfxInfo.FEATURE_WEBGL_ANGLE;
    if (gfxInfo.getFeatureStatus(gfxInfo.FEATURE_WEBGL_ANGLE)  != gfxInfo.FEATURE_NO_INFO &&
        gfxInfo.getFeatureStatus(gfxInfo.FEATURE_WEBGL_OPENGL) == gfxInfo.FEATURE_NO_INFO)
      webglfeature = gfxInfo.FEATURE_WEBGL_OPENGL;
//@line 323 "e:\builds\moz2_slave\m-cen-w64-ntly\build\toolkit\content\aboutSupport.js"

If the underlying error cannot be fixed then this should be wrapped in a try...catch block to prevent breaking the page.
Is this equivalently broken on a 32-bit build?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120229 Firefox/13.0a1

Yes, same exception and line number.
Matt, do you know if this is still a problem?  about:support has been rewritten in the meantime such that exceptions shouldn't ruin the page.  An exception on the line you quote would probably cause the graphics section to be empty, though, which still isn't great.
I guess we can resolve as WFM for now since I don't have that same VM, my current Win8 VM in Virtualbox doesn't have the problem, and the rewrite has reduced the impact.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.