Mobile Design Strategy
[email protected] Sun, 11 Dec 2016 14:50:19 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.seamonkey |
|---|---|
| Message-ID | <[email protected]> |
# HG changeset patch # User Victor Porof <[email protected]> # Date 1338643994 -10800 # Node ID 0120b4b5d13e089bfe25f08b12e52878f72258ab # Parent 5199196b65ec6bafc1fe877729f336c4db7d9abd Bug 754806 - Intermittent browser_tilt_03_tab_switch.js | uncaught JS exception reported through window.onerror - NS_ERROR_FAILURE | uncaught JS exception reported through window.onerror - Script error at resource:///modules/devtools/TiltVisualizer.jsm:0 diff --git a/browser/devtools/tilt/TiltGL.jsm b/browser/devtools/tilt/TiltGL.jsm --- a/browser/devtools/tilt/TiltGL.jsm +++ b/browser/devtools/tilt/TiltGL.jsm @@ -1554,7 +1554,10 @@ supported = gfxInfo.getFeatureStatus(angle) === gfxInfo.FEATURE_NO_INFO || gfxInfo.getFeatureStatus(opengl) === gfxInfo.FEATURE_NO_INFO; } catch(e) { - TiltUtils.Output.error(e.message); + if (e.message) { + TiltUtils.Output.error(e.message); + } + return false; } finally { return supported; } @@ -1580,7 +1583,10 @@ try { context = aCanvas.getContext(WEBGL_CONTEXT_NAME, aFlags); } catch(e) { - TiltUtils.Output.error(e.message); + if (e.message) { + TiltUtils.Output.error(e.message); + } + return null; } finally { return context; }