Closed Bug 832772 Opened 11 years ago Closed 10 years ago

Dojo Mobile views fail to function

Categories

(Web Compatibility :: Site Reports, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: geek, Assigned: miketaylr)

References

()

Details

(Whiteboard: [js] [notcontactready])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17

Steps to reproduce:

Initially tried to create simple demo app to creating a mobile dojo app in Firefox OS.  See this:
http://dojotoolkit.org/documentation/tutorials/1.8/mobile/tweetview/getting_started/demo/

When that failed, tried accessing the showcase gallery:
http://demos.dojotoolkit.org/demos/mobileGallery/demo-iphone.html
Try tapping on one of the controls in the list.






Actual results:

Tapping on a control to such as "AcmePhone" in the first example, or any list control in the second example did nothing visible.

adb logcat connected to FFOS dev phone showed:
E/GeckoConsole(  685): [JavaScript Error: "NS_ERROR_XPC_BAD_OP_ON_WN_PROTO: Illegal operation on WrappedNative prototype object" {file: "http://demos.dojotoolkit.org/dojo/dojo.js
" line: 15}]
E/GeckoConsole(  685): [JavaScript Error: "NS_ERROR_XPC_BAD_OP_ON_WN_PROTO: Illegal operation on WrappedNative prototype object" {file: "http://demos.dojotoolkit.org/dojox/mobile
/scrollable.js" line: 2}]
E/GeckoConsole(  685): [JavaScript Error: "NS_ERROR_XPC_BAD_OP_ON_WN_PROTO: Illegal operation on WrappedNative prototype object" {file: "http://demos.dojotoolkit.org/dojo/dojo.js
" line: 15}]

Fails in FFOS emulator, on Firefox OS device, and in FF 19.0 running on Kindle Fire.

Seems to preclude using Dojo Mobile on Mobile Firefox, at least to some degree.



Expected results:

View should have switched to show next view.  Works in desktop FF 18.0.1.  Works in other desktop browsers.  Works in WebOS 2.2.4 browser.  Works in Kindle's "silk" browser.
I think this is may be a case of evangelism to add support for Firefox OS to this library, but if you think there's an actual bug in Gecko please file it under Core, there's nothing specific to the browser app here.
Assignee: nobody → english-us
Component: Gaia::Browser → English US
Product: Boot2Gecko → Tech Evangelism
Moving to Mobile.
Maybe something that Mike would like to investigate.
Assignee: english-us → nobody
Component: English US → Mobile
Flags: needinfo?(miket)
Whiteboard: [js] [notcontactready]
Thanks Karl.
Assignee: nobody → miket
That demo works for me on a Geeksphone running FxOS 1.4
Just tested 
http://demos.dojotoolkit.org/demos/mobileGallery/demo-iphone.html
on ZTE device FxOS 1.2

and I haven't found anything failing. What are the specific things failing?
Well, it was reported more than a year ago - I assume either Dojo or Firefox OS (or both) fixed something since then.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
:)
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.