Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73320

Some strange try catch escalation

    XMLWordPrintable

Details

    • 729b1ceb8904a857ba4c804e8a58b9ef4ef7b193

    Description

      function test()
      {
      	var x = function() {
      		var x;
      		try {
      			x = parseInt("12");
      			
      		} catch(e) {
      			console.log("Why this here>", e);
      		}
      		
      		undefSomeFunction();
      	}
      	
      	x();
      }
      
      test();
      

      results:
      test.js[9]: Why this here> ReferenceError: undefSomeFunction is not defined

      Exception is somehow escalated to try-catch block before.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              erikv Erik Verbruggen
              zvova7890 Vova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes