Skip to content
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

Devtools/main #206

Merged
merged 521 commits into from
Nov 15, 2024
Merged

Devtools/main #206

merged 521 commits into from
Nov 15, 2024

Conversation

ayjayt
Copy link
Collaborator

@ayjayt ayjayt commented Oct 1, 2024

No description provided.

ayjayt added 30 commits July 21, 2024 19:32
1) Chromium has runtime checks that intentionally crash chromium in fear of security vulnerabilities.

2) Chromium does not remove old and degrading APIs from their documentation, they do not work.

3) Chromium will flesh out API structures and header files and half-implement the concept, that is:

Stuff they are not using is buggy, it is NOT enough for it to be part of the spec.

4) Using DevTools Protocol from w/in Chromium uses their SimpleDevToolsProtocolClient class, which is _not_ complete.

5) Because there is no message broker between the Host and Client, SimpleDevToolsProtocolClient sends json instructions as
arguments directly to the host consumer- the browser or the tab.

6) Because of above checks in #1, calls to class methods must often originate from the exact same thread that the class
was instantiated on, or there will be a mandatory fatal crash.

7) SimpleDevToolsProtocol client does not handle this.

8) And in general, generating and using tabs with SimpleDevToolsProtocol.CreateSession will cause crashes due to checks due
to the above when any command is sent.

9) Chromium's own workarounds include using APIs that we're just not supposed to use.
@gvwilson gvwilson merged commit a20db83 into master Nov 15, 2024
4 checks passed
@ayjayt ayjayt deleted the devtools/main branch November 18, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P2 needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants