Skip to content

Move ScriptToCompositorMsg enum to script_traits #8835

Closed

Description

@jdm

ScriptToCompositorMsg is a message type that is only sent between script threads and the compositor, so it's a good candidate to move to the script_traits crate.

Code: components/script_traits/lib.rs, components/msg/compositor_msg.rs, and other files listed in http://mxr.mozilla.org/servo/search?string=scripttocompositormsg

Activity

  1. added
    E-less-complex
    I-refactor
    on Dec 5, 2015
  2. jdm commented on Dec 5, 2015

    @jdm
    MemberAuthor

    We could move the EventResult enum along with it.

  3. kimumetal commented on Dec 10, 2015

    @kimumetal
    Contributor

    I was working on this issue, but ScriptToCompositorMsg enum and EventResult enum had no doc comment, resulting build error. Does it needed to be skipped by some way, or need to write doc comment? I don't know what description has to be on doc comment.

  4. jdm commented on Dec 10, 2015

    @jdm
    MemberAuthor

    I suggest /// Messages sent from the script thread to the compositor and /// Whether a DOM event was prevented by web content respectively.

  5. added
    C-assigned
    on Dec 10, 2015
  6. added a commit that references this issue on Dec 20, 2015
  7. KiChjang commented on Dec 29, 2015

    @KiChjang
    Contributor

    Fixed by #9027.

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

    C-assignedE-less-complexI-refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions