-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Adapting the browser_protocol file fetching to the file structure change. #16440
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
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
🔗 Related Issues
Fixes #16299
💥 What does this PR do?
See the linked issue for more details.
This PR fetches the browser_protocol file, retrieves all the includes, fetches them, and concatenates the files into a single
browser_protocol.pdlfile, allowing the rest of the process to continue.PR Type
Bug fix
Description
Implements fetching and concatenation of Chrome DevTools Protocol domain files
Adds
flatten_browser_pdl()function to resolve include directives in browser_protocol.pdlFetches individual domain .pdl files from Chromium repository and merges them
Integrates flattening step into the CDP update workflow
Diagram Walkthrough
File Walkthrough
update_cdp.py
Implement browser_protocol.pdl flattening for Chromium file structurescripts/update_cdp.py
flatten_browser_pdl()function to parse and fetch includeddomain files
add_pdls()workflow after initialfetch