Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crashing in FireFox #39

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

AtmanActive
Copy link

Fixed:

  1. Fix security error for getAll in FireFox when there are foreign domain CSS files included
    On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work in FireFox, I have added a second argument to getAll function: sheet_name, where consumers can optionally specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.

  2. FireFox adds properties that are undefined on read, which then crashes set function later on.
    In a loop where one uses getAll to get data and then later set to create new data structures, in FireFox, jss was crashing because FireFox delivers a lot of properties with value 'undefined'.

On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
Fix security error for getAll
On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
Fix security error for getAll
On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
On big sites with dozens of CSS files included, where some of them are included from other domains, FireFox throws security error on getAll because jss traverses all available CSS files. To bypass this error and make it work with FireFox, I have added a second argument to getAll function: sheet_name, where consumers can specify which CSS filename to take into account. This enables getAll to work on only one CSS file and thus to avoid security error.
FireFox adds properties that are undefined on read, which then crashes set function later on.
FireFox adds properties that are undefined on read, which then crashes set function later on.
FireFox adds properties that are undefined on read, which then crashes set function later on.
FireFox adds properties that are undefined on read, which then crashes set function later on.
FireFox adds properties that are undefined on read, which then crashes set function later on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant