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

Let's allow setting FF profile props or pick up the entire profile? #13

Open
andrei-khveras opened this issue Oct 30, 2013 · 0 comments

Comments

@andrei-khveras
Copy link
Contributor

I am making the first forays to implement template framework based on Jasmine and FuncUnit for UI testing. I am launching browsers using karma-*-launcher(s) and now I run into "blocked popups" issue. To be more detailed, default browser profile has popups blocker enabled, that results into "FuncUnit.win is null" error in FF and similar errors in other browsers when running FuncUnit (cause browser blocks opening both new tabs and new windows).

The problem can be workarounded by adding
+'user_pref("dom.disable_open_during_load", false);\n';
as a 8th string of firefox-launcher's index.js file.
The same issue occurs in other browser launchers as well (Chrome).
Sample project that reproduces the issue attached.

It would be fine if you do one of the following to fix the issue:

  1. Just include the string above and similar to index.js of the correspondent launchers
  2. Add functionality to load profile PROPS from external file
  3. Add functionality to pick up profiles in FF launcher

Would you?

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

No branches or pull requests

1 participant