Closed Bug 704121 Opened 13 years ago Closed 6 years ago

Uncaught Exception (NS_ERROR_FAILURE) @ nsIDOMWindowUtils.displayDPI

Categories

(Firefox OS Graveyard :: General, defect, P4)

ARM
Android

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: aaronmt, Unassigned)

Details

(Whiteboard: strwanted)

E/GeckoConsole( 1706): [JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.displayDPI]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://browser/content/browser.js :: getClosest :: line 1762"  data: no]"]

--
Samsung Nexus S (Android 2.3.6)
20111121040255
http://hg.mozilla.org/projects/birch/rev/41b63b2b6420
OS: Mac OS X → Android
Hardware: x86 → ARM
also happen on XUL.  Could be harmless.
Pretty much harmless, yeah used to see this on XUL too.
Severity: normal → minor
Assignee: nobody → doug.turner
Priority: -- → P4
i am not working on these right now.  resetting assignee.
Assignee: doug.turner → nobody
Sometimes the following errors occur in console:
E/GeckoConsole(11943): [JavaScript Error: "NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMWindow.crypto]" {file: "https://apis.google.com/_/apps-static/_/js/widget/googleapis_client,plusone/rt=j/ver=SvSTGk8PZnM.en./sv=1/am=!K2t8zmDaIyaNjPbXTQ/d=1/" line: 208}]
E/GeckoConsole(11943): [JavaScript Error: "NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 1 [nsIDOMEventTarget.addEventListener]" {file: "http://www.gstatic.com/news/js/1828999144-en-anchorman_main_jsmod.js" line: 944}]

Could it be related to this issue? Both seems to be harmless too

--
Firefox 14.0a1 (2012-04-09)
Device: Samsung Galaxy S
OS: Android 2.2
I don't know if it's the same issue, but my Firefox 15 and beta are crashing after this error.

E/GeckoConsole(13745): [JavaScript Error: "NS_ERROR_NOT_IMPLEMENTED: Component r
eturned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMWindow.crypto
]" {file: "https://apis.google.com/_/apps-static/_/js/gapi/iframes_styles_bubble
_mobile,plusone/rt=j/ver=n1eYbJeTYnQ.en_GB./sv=1/am=!CRLPOQbbTO-YhNdiPQ/d=1/rs=A
ItRSTPRucPmP8Qi_LYnpt-vLc_qCnbngQ/cb=gapi.loaded_0" line: 70}]
E/GeckoConsole(13745): [JavaScript Warning: "Unknown property '-moz-outline-styl
e'.  Declaration dropped." {file: "http://www.facebook.com/plugins/like.php?href
=https%3A%2F%2Fwww.facebook.com%2Fqtpindia&send=false&layout=standard&width=300&
show_faces=true&action=like&colorscheme=light&font&height=80" line: 9}]
E/GeckoConsole(13745): [JavaScript Warning: "Unknown property 'zoom'.  Declarati
on dropped." {file: "http://www.facebook.com/plugins/like.php?href=https%3A%2F%2
Fwww.facebook.com%2Fqtpindia&send=false&layout=standard&width=300&show_faces=tru
e&action=like&colorscheme=light&font&height=80" line: 19}]
E/GeckoConsole(13745): [JavaScript Warning: "Unknown property 'zoom'.  Declarati
on dropped." {file: "http://www.facebook.com/plugins/like.php?href=https%3A%2F%2
Fwww.facebook.com%2Fqtpindia&send=false&layout=standard&width=300&show_faces=tru
e&action=like&colorscheme=light&font&height=80" line: 250}]
D/Zygote  (  141): Process 13745 terminated by signal (11)
I/ActivityManager(  336): Process org.mozilla.firefox (pid 13745) has died.
W/ActivityManager(  336): Force removing ActivityRecord{411804b0 org.mozilla.fir
efox/.App}: app died, no saved state
I/WindowState(  336): WIN DEATH: Window{41206b58 org.mozilla.firefox/org.mozilla
.firefox.App paused=false}
W/WindowManager(  336): Force-removing child win Window{4120acb0 SurfaceView pau
sed=false} from container Window{41206b58 org.mozilla.firefox/org.mozilla.firefo
x.App paused=false}
Happens in B2G as well.
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox for Android → Core
Version: unspecified → 18 Branch
10-17 16:46:08.591: E/GeckoConsole(1253): [JavaScript Error: "NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMWindow.crypto]" {file: "https://apis.google.com/_/abc-static/_/js/gapi/card/rt=j/ver=EIvmC0XHjQM.en./sv=1/am=!9Ag6gGPKM9qZ6klcaQ/d=1/cb=gapi.loaded_0" line: 42}]
This has nothing to do with the JS engine.

The displayDPI getter will get the widget, then ask it for the DPI.  Sounds like b2g doesn't return an nsIWidget there?
Assignee: general → nobody
Component: JavaScript Engine → General
Product: Core → Boot2Gecko
Version: 18 Branch → unspecified
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.