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

[meta] DevTools HTML experiment fails to load in Servo #8973

Open
1 of 3 tasks
jryans opened this issue Dec 14, 2015 · 8 comments
Open
1 of 3 tasks

[meta] DevTools HTML experiment fails to load in Servo #8973

jryans opened this issue Dec 14, 2015 · 8 comments
Labels
A-devtools A-webcompat B-meta This issue tracks the status of multiple, related pieces of work

Comments

@jryans
Copy link
Contributor

jryans commented Dec 14, 2015

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

P2

@bgrins @jdm @Ms2ger @larsbergstrom

@jdm
Copy link
Member

jdm commented Dec 15, 2015

This particular iframe problem is fixed by #8978, allowing us to progress to the next set of errors :)

bors-servo pushed a commit that referenced this issue Dec 15, 2015
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 -->
@bgrins
Copy link
Contributor

bgrins commented Dec 15, 2015

Cool! The next set of errors I'm seeing:

  • this._markupFrame.contentWindow.focus is not a function
  • getBoundingClientRect not defined inside of codemirror
  • 'let' is used in codemirror/addon/search/search.js (I've just pushed a fix for that in the servo-client branch)

@bgrins
Copy link
Contributor

bgrins commented Dec 15, 2015

Should we expect contentWindow.focus() to work on an iframe? I can comment that bit out if it's not yet implemented

@jdm
Copy link
Member

jdm commented Dec 15, 2015

We don't implement Window.focus() yet.

@jdm jdm reopened this Dec 15, 2015
@paulrouget
Copy link
Contributor

@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

@jryans jryans changed the title DevTools HTML experiment fails to load in Servo [meta] DevTools HTML experiment fails to load in Servo Dec 15, 2015
@jryans
Copy link
Contributor Author

jryans commented Dec 15, 2015

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.

@mbrubeck mbrubeck added A-devtools B-meta This issue tracks the status of multiple, related pieces of work A-webcompat labels May 24, 2016
@highfive
Copy link

cc @fitzgen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devtools A-webcompat B-meta This issue tracks the status of multiple, related pieces of work
Projects
None yet
Development

No branches or pull requests

6 participants