-
Notifications
You must be signed in to change notification settings - Fork 780
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
When injected into a page, the axe script can override other anonymous modules loaded via requireJS #849
Comments
This seems to be a problem in |
Yes, please |
This was referenced Apr 21, 2018
noead01
added a commit
to noead01/axe-core
that referenced
this issue
Apr 22, 2018
Avoid the "Mismatched anonymous define() modules" error when the axe script is injected in a page that uses requireJS Closes dequelabs#849
5 tasks
noead01
added a commit
to noead01/axe-core
that referenced
this issue
May 3, 2018
Avoid the "Mismatched anonymous define() modules" error when the axe script is injected in a page that uses requireJS Closes dequelabs#849
noead01
added a commit
to noead01/axe-core
that referenced
this issue
May 3, 2018
Added integration test to check the value of the first argument to define() Closes dequelabs#849
WilcoFiers
pushed a commit
that referenced
this issue
May 19, 2018
* fix(core): Explicitly name the axe module 'axe-core' Avoid the "Mismatched anonymous define() modules" error when the axe script is injected in a page that uses requireJS Closes #849 * fix: Prevent color rules from crashing Chrome 66+ #856 (#861) * chore: Release axe-core 3.0.2 * chore: Enable Greenkeeper for managing dependencies (#847) * chore: add Greenkeeper config file * chore(package): update dependencies * chore(package): update dependencies * chore(package): update dependencies * chore(package): update dependencies * chore(package): update dependencies * chore(package): update dependencies * docs(readme): add Greenkeeper badge * chore: update to use babel-core * chore: update to latest uglify config properties `bracketize` became `braces` and `expect` became `reserved` * chore: add sri-history lifecycle hook to release (#844) * chore: disable growl to prevent errors in testing * chore: Rename Jest example to help greenkeeper (#871) * chore: rename jest example to help greenkeeper plus signs are invalid in filenames/directories Closes #869 * chore: add config to jest_react example Closes #865 * fix(core): Explicitly name the axe module 'axe-core' Avoid the "Mismatched anonymous define() modules" error when the axe script is injected in a page that uses requireJS Closes #849 * test(core): Validate that the axe module is named 'axe-core' Added integration test to check the value of the first argument to define() Closes #849
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using AXE.java to inject the axe script into the pages during execution of my selenium automated tests.
The script seems to have a side effect on the application javascript code, and when accessing certain functions of my application, I see:
This seems to be linked to the fact that because the script is injected, the required module should not be anonymous. If I change axe.js to name the injected module as per:
Then everything works as expected.
The text was updated successfully, but these errors were encountered: