source: webkit/trunk/JavaScriptCore/bindings/test.js@ 27027

Last change on this file since 27027 was 11995, checked in by darin, 19 years ago
  • Makefile: Took out unneeded "export" line.
  • <many-files>: Changed a lot of flags (cleared bogus executable bits, set MIME types, other small corrections).
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/javascript
File size: 1.2 KB
Line 
1myInterface.logMessage ("Starting test");
2
3myInterface.logMessage ("Testing properties:");
4myInterface.logMessage ("myInterface.doubleValue = " + myInterface.doubleValue);
5myInterface.logMessage ("myInterface.intValue = " + myInterface.intValue);
6myInterface.logMessage ("myInterface.stringValue = " + myInterface.stringValue);
7myInterface.logMessage ("myInterface.booleanValue = " + myInterface.booleanValue);
8myInterface.logMessage ("myInterface.nullValue = " + myInterface.nullValue);
9myInterface.logMessage ("myInterface.undefinedValue = " + myInterface.undefinedValue);
10
11myInterface.logMessage ("myInterface.setInt_(666) = " + myInterface.setInt_(666));
12myInterface.logMessage ("myInterface.getInt() = " + myInterface.getInt());
13myInterface.logMessage ("myInterface.getString() = " + myInterface.getString());
14myInterface.logMessage ("myInterface.myInt = " + myInterface.myInt);
15myInterface.logMessage ("setting myInterface.myInt = 777");
16myInterface.myInt = 777;
17myInterface.logMessage ("myInterface.myInt = " + myInterface.myInt);
18myInterface.logMessage ("myInterface.getMySecondInterface().doubleValue = " + myInterface.getMySecondInterface().doubleValue);
19myInterface.logMessage ("myInterface.getMySecondInterface() = " + myInterface.getMySecondInterface());
Note: See TracBrowser for help on using the repository browser.