This repository was archived by the owner on Mar 29, 2021. It is now read-only.
This repository was archived by the owner on Mar 29, 2021. It is now read-only.
It doesn't work with 2.1 and 2.2 simulators #1
Closed
Description
There is a what I think is the same bug filed here: FirefoxOS simulator 2.2 StyleSheets getStyleSheets throw error from remote debugger but the paste bin has expired and I can't see if it's the same error.
We need to write a smaller test case that shows the error so devtools people can debug it and see what's going on-the test pseudocode would be:
- launch simulator
- connect to obtain client
- launch app
- get app tab/actor using the client
- see how
tab.StyleSheets.getStyleSheets
never calls the callback in 2.1 or 2.2, but does in 2.0
Essentially the conflicting code is the code of this module
Activity
sole commentedon Mar 20, 2015
Tracking in Bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1071711
Attach to tab before accessing stylesheets object - fixes mozilla#1
Merge pull request #4 from sole/fix-bug-1