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

Add worker to form #38

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Add worker to form #38

wants to merge 6 commits into from

Conversation

gingerchew
Copy link
Member

adds worker into the form object instead of into an array in the global scope

goal here is to keep the global scope completely clean if at all possible, exposing debug methods elsewhere

needed for part of pubsub wrapper
cleans up the global scope, and also makes things
a little less wonky IMO
Since the prototype method was used, I had to transfer all the prototype
methods over as well. This was a little funky and
quite honestly... I don't like it

But it works
@gingerchew gingerchew added this to the 2.0 milestone Oct 21, 2020
@gingerchew gingerchew linked an issue Oct 21, 2020 that may be closed by this pull request
@gingerchew gingerchew marked this pull request as ready for review October 21, 2020 18:23
@gingerchew gingerchew added enhancement New feature or request needs testing labels Oct 21, 2020
@gingerchew
Copy link
Member Author

gingerchew commented Oct 21, 2020

Testing needed on Firefox:
Bug happens as follows -

  • Worker is created
  • Worker begins verification process
  • Before verification can be completed, the Worker is cleaned up by the Garbage Collector

Confirmed working on Chrome

Testing:

  • Test each page inside of test folder on Firefox
  • Test each page inside of test folder on Safari
  • Test each page inside of test folder on Safari iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firefox bug: Workers are destroyed before function is completed
1 participant