Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Scheduled logout

In order to introduce new security features and enhance your experience with Opera Forums we had to terminate all sessions that were started before Monday, March 25, 15:00 UTC.
If you find yourself logged out please rest assured that this is completely normal and expected. To participate in the discussions after that date you have to sign-in again using the "Login" button.
Apologies for any inconvenience caused.

Sorry, we can't show the code for this error

  • Error in eventhandler for runtime.onMessage: [object object]

    why not ?? where is the error ? Could you see why and try to add the exact error ?

    error was thrown using json_parse from https://github.com/douglascrockford/JSON-js instead of the JSON object (just replacing the call)

  • ok so here is code and problem is really that if throw is used without a catch, it does not show the thrown exception anywhere. code:

    alert('we are throwing an error next');

    var error = function (m) {
    throw {
    name: "SyntaxError",
    message: m,
    at: at,
    text: text
    };
    };

    error('this is an error'); // <-- this does not show anywhere. Browser terminates the code not showing there was an exception thrown.

    alert('this is after the error, and not reachable');

Log in to reply