summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptcontext
Commit message (Collapse)AuthorAgeFilesLines
...
* | | make QScriptContext::setScope() fail for object created in other engineKent Hansen2009-08-101-8/+15
| | | | | | | | | | | | | | | Also fix some autotest failures, improve the descriptions of failures, and make the tests run to completion.
* | | implement QScriptContext::setActivationObject()Kent Hansen2009-08-101-2/+6
| | |
* | | implement QScriptContext::backtrace()Kent Hansen2009-08-101-1/+1
| | | | | | | | | | | | | | | Doesn't pass the test yet, but at least it returns something that might be useful on occasion.
* | | skip the QScriptContext::returnValue() testKent Hansen2009-08-101-2/+1
| | | | | | | | | | | | | | | returnValue() and setReturnValue() are internal functions not implemented in the JSC-based back-end.
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-051-0/+30
|\ \ \ | |/ / | | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/script/qscriptextqobject.cpp
| * | test that activation and this-object can be inherited from parent contextKent Hansen2009-07-311-0/+30
| | |
* | | Do not crash if using popContext() while the current context have not been ↵Olivier Goffart2009-08-041-6/+2
| | | | | | | | | | | | | | | | | | pushed Reviewed-by: Kent Hansen
* | | QScriptContext::calledAsConstructor also works with non-native functionOlivier Goffart2009-08-031-5/+28
| | | | | | | | | | | | | | | | | | | | | Use the opcode to see if it was called with op_construct This could also work with native function, but not when they are called with QScriptValue::call() or QScriptValue::construct()
* | | implement QScriptContext::activationObject()Kent Hansen2009-07-301-8/+9
| | |
* | | Implement QScriptEngine::pushContext end popContextOlivier Goffart2009-07-301-2/+9
| | | | | | | | | | | | Reviewed-by: Kent Hansen
* | | set calledAsConstructor to true when function is called as constructorKent Hansen2009-07-291-0/+32
| | |
* | | Set the this object on the global context sets the global objectOlivier Goffart2009-07-281-2/+0
| | | | | | | | | | | | Reviewed-by: Kent Hansen
* | | Test tst_QScriptContext::lineNumberOlivier Goffart2009-07-281-3/+1
| | | | | | | | | | | | The test was wrong. The line number should be from within the eval.
* | | add QEXPECT_FAIL where it failsOlivier Goffart2009-07-271-0/+7
| | |
* | | Fix tst_QScriptContext::argumentsOlivier Goffart2009-07-271-2/+43
| | |
* | | update autotestKent Hansen2009-07-151-3/+4
| | |
* | | mark a few expected failuresKent Hansen2009-07-091-0/+3
| | |
* | | make arguments object work for native functionsKent Hansen2009-07-091-0/+26
| | | | | | | | | | | | There's an off-by-one issue that we just work around for now.
* | | remove two expected failuresKent Hansen2009-07-091-2/+0
| | | | | | | | | | | | They now work.
* | | rewrite most of QScriptContext handlingKent Hansen2009-07-081-1/+9
|/ / | | | | | | Do it The right way(TM), by lazily wrapping JSC::ExecState objects.
* | Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
|\ \ | |/
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Long live Qt 4.5!Lars Knoll2009-03-233-0/+697
|
* add a bunch of qtscript autotestsKent Hansen2009-06-151-0/+18
| | | | Get that code coverage up.
* Long live Qt!Lars Knoll2009-03-233-0/+697