Skip to content

feat: just enough //extensions to load a simple devtools extension#19515

Merged
nornagon merged 10 commits intomasterfrom
devtools-extensions
Jan 15, 2020
Merged

feat: just enough //extensions to load a simple devtools extension#19515
nornagon merged 10 commits intomasterfrom
devtools-extensions

Conversation

@nornagon
Copy link
Copy Markdown
Contributor

@nornagon nornagon commented Jul 29, 2019

Description of Change

Depends on #19512.

Ref #19447

This adds just enough infrastructure to get a simple devtools extension loading.

Tested to be working:

  • the "devtools_page" manifest key
  • the chrome.devtools.panels.create API
  • loading JS from both the devtools page and the panel

brown-jar-seem

Checklist

Release Notes

Notes: none

(//extensions still not turned on)

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Jul 29, 2019
@nornagon nornagon removed the wip ⚒ label Jul 29, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Jul 30, 2019
Copy link
Copy Markdown
Member

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, but can we add a test?

@nornagon nornagon changed the base branch from disable-extensions-js to master August 1, 2019 00:01
@nornagon
Copy link
Copy Markdown
Contributor Author

nornagon commented Aug 1, 2019

@jkleinsc good thing you asked! found a couple bugs. will work on it more tomorrow.

@nornagon nornagon force-pushed the devtools-extensions branch from ac2e616 to ad64d21 Compare November 1, 2019 22:19
@nornagon nornagon force-pushed the devtools-extensions branch from d5efe77 to fa2394c Compare December 19, 2019 00:43
@nornagon
Copy link
Copy Markdown
Contributor Author

@jkleinsc I (eventually) made a test :) I hope I fixed whatever bug it was that I was thinking about, because I've long since forgotten what I encountered. Test works though.

Copy link
Copy Markdown
Member

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just needs updated to reflect change made in #21587.

Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
@nornagon nornagon merged commit 55368e4 into master Jan 15, 2020
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Jan 15, 2020

No Release Notes

@nornagon nornagon deleted the devtools-extensions branch January 15, 2020 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants