Skip to content

Open web inspector frontend in a standalone application instead of Safari #604

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

Merged
merged 1 commit into from
Jul 3, 2015

Conversation

KristinaKoeva
Copy link
Contributor

The update of JavaScriptCore that we use in the iOS bridge goes with an updated web inspector frontend. The updated frontend is not rendered properly in latest Safari, so as a workaround open an application that would be distributed with the iOS bridge package

Related to NativeScript/ios-jsc#201

@ns-bot
Copy link

ns-bot commented Jun 30, 2015

Can one of the admins verify this patch?

1 similar comment
@ns-bot
Copy link

ns-bot commented Jun 30, 2015

Can one of the admins verify this patch?

@Fatme Fatme added this to the 1.2.0 milestone Jun 30, 2015
@Fatme
Copy link
Contributor

Fatme commented Jun 30, 2015

👍

@@ -204,12 +205,15 @@ class IOSDebugService implements IDebugService {

private openDebuggingClient(): IFuture<void> {
return (() => {
var cmd = "open -a Safari " + this.getSafariPath().wait();
var inspectorPath = this.getInspectorPath().wait();
Copy link

Choose a reason for hiding this comment

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

It is better to use let instead of var here.

…lize the updated web inspector frontend. So open the application instead of Safari, because Safari is not able to render the frontend properly
@KristinaKoeva KristinaKoeva force-pushed the KristinaKoeva/DebuggingFix branch from c363ccf to 29a7a97 Compare July 2, 2015 11:06
@KristinaKoeva
Copy link
Contributor Author

ping @ligaz @teobugslayer

@ligaz
Copy link

ligaz commented Jul 2, 2015

👍

1 similar comment
@teobugslayer
Copy link
Contributor

👍

KristinaKoeva added a commit that referenced this pull request Jul 3, 2015
Open web inspector frontend in a standalone application instead of Safari
@KristinaKoeva KristinaKoeva merged commit ac6e475 into master Jul 3, 2015
@KristinaKoeva KristinaKoeva deleted the KristinaKoeva/DebuggingFix branch July 3, 2015 06:24
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.

5 participants