-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[meta] DevTools HTML experiment fails to load in Servo #8973
Comments
…of the child iframe of the root. Resolves servo#8973.
This particular iframe problem is fixed by #8978, allowing us to progress to the next set of errors :) |
Ensure that grandchild same-origin iframes are added to the children … …of the child iframe of the root. Resolves #8973. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8978) <!-- Reviewable:end -->
Cool! The next set of errors I'm seeing:
|
Should we expect contentWindow.focus() to work on an iframe? I can comment that bit out if it's not yet implemented |
We don't implement Window.focus() yet. |
@bgrins @jryans I recommend you to file one issue per bug. You can probably use this bug as a meta bug. See how we do for browser.html: browserhtml/browserhtml#562 |
Okay, I've created a task list in this issue to use for tracking. Each new problem should be filed separately as it comes up, and we can use the task list to track overall progress. |
For the record, i think opening the devtools should be implemented at the runtime level: #7379 (comment) See Electron's code: |
cc @fitzgen |
The DevTools team has been working on an experimental HTML version of the Firefox DevTools UI in the joewalker/devtools.html repo. This is not something we plan to use anywhere directly, it's just an experiment to learn from for future deXULification. In any event, we thought it would be good to see how far Servo is from being able to load it. @bgrins has been working in the servo-client branch to tweak things as necessary to get something loading in Servo.
If you wish to try the experiment locally, I would suggest using Firefox as the DevTools server, and only testing the client UI in Servo to focus on this issue only. The repo's README.md explains how to get started and start a server in Firefox. So, the only modification from the README instructions would be to open the actual UI at
http://localhost:8081/client/framework/toolbox-wrapper.html
in Servo instead.We'll use this issue to track the various individual issues as we find them:
P1
contentWindow
null in frames Ensure that grandchild same-origin iframes are added to the children … #8978Range.getBoundingClientRect
is not defined inside CodeMirror frames [devtools.html] Range.getBoundingClientRect support #8982P2
window.focus
is undefined window.focus/blur support #8981@bgrins @jdm @Ms2ger @larsbergstrom
The text was updated successfully, but these errors were encountered: