-
Notifications
You must be signed in to change notification settings - Fork 19
Integration - merge recent frontend highlighter and scanner change branches #1066
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
Merged
pattonwebz
merged 25 commits into
develop
from
william/integration/merge-recent-frontend-highlighter-and-scanner-change-branches
Jul 8, 2025
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
fba7d12
Move the tooLongTimeout to a higher scope so it can be managed across…
pattonwebz 1e0ab7f
Add helpers for detecting and getting options when in iframe context
pattonwebz be4761e
Create an axe runner method that lives on the window object and wrap …
pattonwebz c506e9d
Correct the passed type of error to the dispatchDoneEvent during cleanup
pattonwebz 03cf745
Avoid potential error for nodes that no longer exist when trying get …
pattonwebz fe2ce25
Always give a failed message if cleanup fails
pattonwebz f364efe
Merge branch 'develop' into william/try/make-scan-runnable-from-front…
pattonwebz 06488e9
Fix some lint issues
pattonwebz 37d17eb
Add scanner bundle URL to frontend highlighter app
pattonwebz a924364
Implement scan initiation and result handling in frontend
pattonwebz b9af45b
Merge branch 'develop' into william/try/make-scan-runnable-from-front…
pattonwebz 19fffc2
Add selector fields to database for improved accessibility checks
pattonwebz f0d250e
Add helper function to process violations and return formatted object
pattonwebz 7a2f0cc
Pass the selectors to Insert_Rule_Data for enhanced data handling
pattonwebz 31d8418
Add selectors and ancestry parameters to insert method
pattonwebz 8aefaa0
Update landmark and selectors in existing issue when refound
pattonwebz 1d4fb44
Defaults for selector, ancestry and xpath should be an array, not a s…
pattonwebz a83d706
Update database setup and table creations for InsertRuleDataTest.php
pattonwebz 8d4227f
Make the scan state feedback messages translatable
pattonwebz 8808e3d
Define default state for scanAttempted
pattonwebz 9832bae
Use more readable check for data type when kicking off scan
pattonwebz d848fd0
Clarify comment on processViolation function regarding selector array
pattonwebz da57e09
No need to bump this here, another PR did the bump from 1.0.3 to 1.0.4
pattonwebz f2e9565
Merge remote-tracking branch 'origin/develop' into william/integratio…
pattonwebz f364662
Merge branch 'william/try/make-scan-runnable-from-frontend-loaded-pag…
pattonwebz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
highlightAjaxfunction retries the scan with a 5-second timeout. If the scan consistently fails or takes longer than 5 seconds, this could lead to an infinite loop and degrade performance. Consider adding a maximum retry count or implementing exponential backoff to prevent this.1Style Guide References
Footnotes
Avoid infinite loops by adding retry limits or exponential backoff. (link) ↩