jaxon-php / jaxon-js

The Jaxon javascript library https://www.jaxon-php.org.
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Question about get debug messages on a browser window #5

Closed feuzeu closed 7 years ago

feuzeu commented 7 years ago

From @jatubio on May 7, 2017 21:35

Hello,

When i set $jaxon->setOption('core.debug.on', true); some times I get the messages on a new browser window, but another times, I get the Messages sequentially as alerts box.

I do not know why this happens. Is there any way to always force the browser window for debugging messages?

Thank you

Copied from original issue: jaxon-php/jaxon-core#17

feuzeu commented 7 years ago

I've never met this issue. Does it happen at random?

feuzeu commented 7 years ago

From @jatubio on May 8, 2017 16:31

In my web app debug messages show in browser window. But, in your example: HelloWorld, they show in alerts boxes.

feuzeu commented 7 years ago

Hi, Did you modify anything in the js code?

jatubio commented 7 years ago

I'm sorry, I do not remember.

At the moment I am immersed in a great project that requires me full attention. In a couple of months I hope to have more free time and I can do some tests and provide more details.

feuzeu commented 7 years ago

I close this issue since there's no detailed information about how it happened.

jatubio commented 7 years ago

Hello, I researched this subject and I discovered what happens.

I'm using Google Chrome. By default, Google Chrome it's blocking popup windows and showing a warning on url bar. If popup windows is blocked, debug info is showed as a succession of alert box. If popup windows are allowed, they show on his custom html popup window.

feuzeu commented 7 years ago

Just got into the js code and realized that's the way its operates.