-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore(webkit): update error stack parsing and related system tests #23730
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
2342f90
chore(webkit): update error stack parsing and related system tests
tbiethman d7805ea
Adding better comment
tbiethman 54e3f4f
Putting column back. Indexing at 1.
tbiethman bea9487
Let's wait for WebKit fixes to land for this
tbiethman 07dc2dd
Using default name/location values already used in stack enhancing logic
tbiethman f82d422
Incorrect bracket in regex
tbiethman 5eb7780
Trying without location, as the fake location causes more problems do…
tbiethman 9b2ddad
Loosening regex around locations in stack replacement
tbiethman 9fb8c8e
Defaulting location sans row/column
tbiethman 662ee39
Parsing stack lines for reporter with unique regex
tbiethman ab0f991
D'oh
tbiethman a04e6e3
Making the validation against '<unknown>' more specific
tbiethman 2204d3b
Don't want a capture group here
tbiethman e7f7cac
Updating spec_isolation system tests
tbiethman 2d72ee2
Consolidating regex pattern to errors package
tbiethman b413949
Can just keep this global now
tbiethman d35f786
Simplifying regex. Removing lineAndColumn numbers from unknown locati…
tbiethman 226d2d7
Merge branch 'develop' into tbiethman/webkit-stacks-pr
tbiethman fb5c972
Merge branch 'develop' into tbiethman/webkit-stacks-pr
tbiethman 2b91eff
Updating system test stack regex
tbiethman 6f9c64d
Getting better baseline
tbiethman 17d2709
Revert "Updating system test stack regex"
tbiethman 97de367
Forking normalization for webkit to track down diffs
tbiethman aa79132
Ensure line or column are set before rendering in enhanced stack
tbiethman 370459b
Need to be a little more flexible
tbiethman 55ca6ef
Tweaking leading newline detection
tbiethman 676c88e
Trying out new composed regex
tbiethman 6c8d545
Few more tweaks for multiple leading newlines and file locations with…
tbiethman e542cce
Updating remainderOfStack pattern with proper escaping
tbiethman 393f85a
Cleaning up comments
tbiethman e014f9e
Merge branch 'develop' into tbiethman/webkit-stacks-pr
tbiethman 5aed77f
Filtering native code from absolute path logic
tbiethman 1ed28f9
Merge branch 'develop' into tbiethman/webkit-stacks-pr
tbiethman 928ca9d
Rebuild CI after outage
tbiethman 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 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 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 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.
Is this because it's showing up in the stack trace of every
new Error
? Should we just not name the function then?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.
I went back and forth on this. If we don't name it, it'll still render here, just as yet another anonymous '' function. Given the frequency with which it'll be presented (for any uncaught exception thrown by the AUT), I figured its presence in the stacks might be confusing, named or not. But I could understand the argument that removing it is an improper obfuscation of what is actually being executed?
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.
hmm, yeah... maybe we just oughtta name it
Error
, then. This seems fine too. Not too big an issue for experimental.