Skip to content

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

Open

Description

@jryans

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

Activity

  1. added a commit that references this issue on Dec 14, 2015
    397d748
  2. jdm commented on Dec 15, 2015

    @jdm
    Member

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

  3. added a commit that references this issue on Dec 15, 2015
    5ebfc91
  4. bgrins commented on Dec 15, 2015

    @bgrins
    Contributor

    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)
  5. bgrins commented on Dec 15, 2015

    @bgrins
    Contributor

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

  6. jdm commented on Dec 15, 2015

    @jdm
    Member

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

  7. reopened this on Dec 15, 2015
  8. paulrouget commented on Dec 15, 2015

    @paulrouget
    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

  9. changed the title [-]DevTools HTML experiment fails to load in Servo[/-] [+][meta] DevTools HTML experiment fails to load in Servo[/+] on Dec 15, 2015
  10. jryans commented on Dec 15, 2015

    @jryans
    ContributorAuthor

    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.

  11. added
    B-meta
    on May 24, 2016
  12. highfive commented on May 24, 2016

    @highfive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-devtoolsA-webcompatB-meta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions