镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Support setScriptSource #46

Open
Open

Description

Long shot, but are there any plans to implement setScriptSource?

Activity

  1. andysterland commented on Jul 28, 2015

    @andysterland
    Member

    Unfortunately IE11 doesn't support a mechanism for apply changes against running documents. Such a feature was added to Edge and I'm sure we'll consider it in the future :).

  2. caspervonb commented on Jul 29, 2015

    @caspervonb
    Author

    Just to be clear, It is currently implemented in Edge? Are the semantics the same as V8's implementation? Any resources with more info on this?

    Until then, how about at-least implementing canSetScriptSource to always return false if it is not doing so already.

  3. andysterland commented on Jul 29, 2015

    @andysterland
    Member

    (Didn't mean to close this in such a hurry, sorry!)

    The feature, editing a running document, exist in the JavaScript runtime for Edge (Chakra). It's similar to the V8 implementation in that it takes source content and a script id. I'll hunt around on MSDN to find the documentation. It's exposed in a similar manner to all the other diagnostic interfaces for Chakra, which is not at all like a JSON RPC.

    Out of curiosity what's the scenario you had in mind? In a question I should have asked earlier.

  4. caspervonb commented on Jul 29, 2015

    @caspervonb
    Author

    One of my projects (amok) has a feature that spins up a file watcher on script parse and calls setScriptSource whenever the source changes, there's a bit more to it but thats the gist of it.

    Now currently only chrome based browsers are supported, but am always looking to support more especially If I don't have to maintain the protocol bridge myself 😄

  5. alexcope commented on Jul 31, 2015

    @alexcope
    Contributor

    One of my next goals is to enable attaching to Edge (#48). Once that is done I can look into how much work it is to implement setScriptSource only when we are attached to Edge.

  6. caspervonb commented on Aug 1, 2015

    @caspervonb
    Author

    Sounds great 👍

  7. caspervonb commented on Jan 11, 2016

    @caspervonb
    Author

    Been a while, any update on this? Edge support is still pending?

  8. alexcope commented on Jan 11, 2016

    @alexcope
    Contributor

    Other projects have taken higher priority for now. There is no ETA on when work will resume on this project. Sorry.

  9. ckuetbach commented on Jan 13, 2016

    @ckuetbach

    This is a great project. I am doing a lot of work with embedded WebViews and it helps a lot to debug the IE inside a MS Office WebApp for Word.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions