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

Fix devtools open in mixed sandbox #9983

Merged
merged 2 commits into from Jul 14, 2017
Merged

Conversation

juturu
Copy link
Contributor

@juturu juturu commented Jul 12, 2017

Fixing devtools open in mixed sandbox. Added UTs to validate.

cc: @fasterthanlime @chandrachivukula

@juturu juturu requested a review from kevinsawicki July 12, 2017 01:23
@fasterthanlime
Copy link
Contributor

I'm not familiar with the mixed sandbox code enough to review the actual code changes - as for the tests, is the devtools-opened event enough? Did it used to fail before the code changes?

My experience with 1.7.4 was that BrowserWindow indicated that the devTools were opened when they actually weren't, so I'm just wary that the event would fire anyway even if the devtools were broken.

Apart from these concerns, lgtm 👍 Thanks for addressing this! 🌟

@juturu
Copy link
Contributor Author

juturu commented Jul 12, 2017

is the devtools-opened event enough?

Yes. Same event is used to test other devtools tests.

Did it used to fail before the code changes?

Yes. Without the fix, this new test fails.

Copy link
Contributor

@kevinsawicki kevinsawicki left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this 👍

@kevinsawicki kevinsawicki merged commit 48f5a66 into master Jul 14, 2017
@kevinsawicki kevinsawicki deleted the devtools-mixed-sandbox branch July 14, 2017 16:42
@juturu
Copy link
Contributor Author

juturu commented Jul 14, 2017

Thanks @kevinsawicki 🙇

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.

None yet

3 participants