-
Notifications
You must be signed in to change notification settings - Fork 445
Implement fetching JS sources from browser via WebChannel #5506
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
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3106131
Extract the GlobalDataCollector class to its own file
canova 377859a
Add sources table to the gecko and processed profile formats
canova 0a6b001
Add source table to the derived thread
canova bc3505e
Change funcTable fileName array into sources array
canova cd6b096
Update the test snapshots after the new sources table and funcTable c…
canova aac2c13
Add a processed profile upgrader after the `profile.shared.sources` a…
canova 7afe9d6
Bump gecko profile format version for the new frameTable location format
canova d200dbc
Add tests for the source table processing
canova ec7ba3a
Add tests for GlobalDataCollector for sources
canova 0ec9366
Add tests for merge-compare code with the source table
canova dd00c8a
Store sourceIndex instead of sourceFile in url state and source view …
canova 0d758c1
Add a url upgrader for the changed sourceView query parameter
canova f455e83
Simplify the getStackLineInfo code by passing sourceIndex instead of …
canova 0f897f0
Add tests for the source code cache
canova 3721104
Pass sourceUuid through the source fetching pipeline
canova 1237329
Add WebChannel API for JS source code fetching
canova a705106
Fetch the JS source from the browser
canova 059ccc2
Add tests for JavaScript source fetching
canova 06d187d
Change the response type of GET_JS_SOURCE and print the error to the …
canova 722ff87
Implement compacting for the shared source table
canova a4b90ed
Remove _processSourceTable and only add the sources while we are proc…
canova 9f0aefb
Make the source code cache tests use the proper actions
canova 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
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.
Oh this is actually simpler than I feared. The URL upgrader just gets the upgraded profile? Neat. And in this case profile upgrading didn't discard any information that we might need to upgrade the URL.
(I'm only thinking about this because I'm not looking forward to upgrading funcIndexes in the URL inside transforms, once we move to a shared funcTable...)
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.
Yes, it was quite simple! We get the upgraded profile here.
Oh, that's a good point. I guess there won't be a "old funcTable index -> new funcTable index" map when we upgrade the profiles. (but maybe we can for the upgraded ones?)