Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Attach to tab before accessing stylesheets object - fixes #1 #4

Merged
merged 3 commits into from
Mar 26, 2015

Conversation

sole
Copy link
Contributor

@sole sole commented Mar 25, 2015

fix for #1

resolve(updateStyleSheets(styleSheets, appOrigin, appSrcPath));
// Apparently this method needs to be called in tabs before you can
// do anything at all on them. This is a change introduced in simulators
// 2.1 onwards.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't break earlier-than-2.1 devices though, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'2.1 onwards'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just meant "do tabs before this version have that method?" but I will assume yes.

tofumatt added a commit that referenced this pull request Mar 26, 2015
Attach to tab before accessing stylesheets object - fixes #1
@tofumatt tofumatt merged commit 2a96642 into mozilla:master Mar 26, 2015
@lmorchard lmorchard mentioned this pull request Mar 26, 2015
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants