Closed Bug 909482 Opened 11 years ago Closed 11 years ago

error: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindowUtils.getViewId]

Categories

(Firefox for Metro Graveyard :: Browser, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: jimm, Assigned: jimm)

References

Details

(Whiteboard: [preview])

Attachments

(1 file, 3 obsolete files)

I see thousands of these when scrolling a page via touch.

Looks like this line needs an apz enabled test:

http://mxr.mozilla.org/mozilla-central/source/browser/metro/base/content/bindings/browser.js#705
Attached patch fix (obsolete) — Splinter Review
Looks like we don't have to do any of this scroll processing if apz isn't enabled.
Assignee: nobody → jmathies
Attachment #795614 - Flags: review?(botond)
Attached patch export patch (obsolete) — Splinter Review
Comment on attachment 795614 [details] [diff] [review]
fix

Review of attachment 795614 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, thanks!

::: browser/metro/base/content/bindings/browser.js
@@ +553,5 @@
>    init: function() {
>      addMessageListener("Content:SetCacheViewport", this);
>      addMessageListener("Content:SetWindowSize", this);
>  
> +    if (Services.prefs.getBoolPref(kAsyncPanZoomEnabled)) {

Is kAsyncPanZoomEnabled visible in this file? I see it's defined in browser/metro/base/content/input.js. Sorry if this is a silly question, I'm still just getting the hang of JS.
Attachment #795614 - Flags: review?(botond) → review+
Attached patch fix (obsolete) — Splinter Review
ah, good catch. It's not since this is a binding.
Attachment #795614 - Attachment is obsolete: true
Attachment #795615 - Attachment is obsolete: true
Attachment #795641 - Flags: review?(botond)
Comment on attachment 795641 [details] [diff] [review]
fix

Review of attachment 795641 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good. Thanks!
Attachment #795641 - Flags: review?(botond) → review+
Attached patch export patchSplinter Review
thanks for the quick turn around.
Keywords: checkin-needed
Attachment #795641 - Attachment is obsolete: true
https://hg.mozilla.org/integration/fx-team/rev/c2daf80c0669
Keywords: checkin-needed
Whiteboard: [preview] → [preview][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/c2daf80c0669
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [preview][fixed-in-fx-team] → [preview]
Target Milestone: --- → Firefox 26
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: