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

[CLOSED] Adding missing call to native.closeLiveBrowser() #5106

Open
core-ai-bot opened this issue Aug 30, 2021 · 8 comments
Open

[CLOSED] Adding missing call to native.closeLiveBrowser() #5106

core-ai-bot opened this issue Aug 30, 2021 · 8 comments

Comments

@core-ai-bot
Copy link
Member

Issue by fungl164
Friday Oct 18, 2013 at 18:09 GMT
Originally opened as adobe/brackets#5569


This should trigger the appropriate calls to handle the LiveBrowser state on the native side for OSX.

This requires brackets-shell pull request adobe/brackets-shell#359


fungl164 included the following code: https://github.com/adobe/brackets/pull/5569/commits

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Friday Oct 18, 2013 at 22:00 GMT


All of my basic test cases are working perfectly! Thanks for sticking with this!

We still need to figure out how to get the@try/@catch to compile in brackets-shell. And I need to make a final pass through the brackets-shell code.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Friday Oct 18, 2013 at 22:01 GMT


@fungl164 Note: make comments in the Files Changed tab of pull request (and not directly in the commit) so they don't get lost.

I like the idea of displaying the "err", but it should get displayed in addition to (not in place of) the "reason". Maybe something like:

fail(function (err) { 
    if (err) {
        reason += " (" err + ")"
    }
    _setStatus(STATUS_INACTIVE, reason || "explicit_close"); 
}

@core-ai-bot
Copy link
Member Author

Comment by fungl164
Friday Oct 18, 2013 at 23:04 GMT


With regards to @try/@catch, I think it would be useful to find out why XCode 4 is resisting. Knowing what I know now, I'm also considering bypassing the ScriptingBridge for now and going back to making lower-level system calls via sysctl. This would fix the compilation issues for sure.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Friday Nov 01, 2013 at 18:28 GMT


Done with review.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Tuesday Nov 05, 2013 at 16:10 GMT


Looks good. This is ready to merge when adobe/brackets-shell#359 is ready.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Tuesday Nov 05, 2013 at 16:20 GMT


@fungl164 You'll need to agree to the Brackets CLA before I can merge your code.

@core-ai-bot
Copy link
Member Author

Comment by fungl164
Tuesday Nov 05, 2013 at 16:24 GMT


Cool!

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Wednesday Nov 06, 2013 at 00:16 GMT


Merging.

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

No branches or pull requests

1 participant