~ubuntu-branches/ubuntu/maverick/gnash/maverick

« back to all changes in this revision

Viewing changes to testsuite/actionscript.all/System.as

  • Committer: Bazaar Package Importer
  • Author(s): Micah Gersten, Micah Gersten, Chris Coulson
  • Date: 2010-09-28 23:38:37 UTC
  • mfrom: (1.1.14 upstream) (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100928233837-wcay0dodera1c7sz
Tags: 0.8.8-5ubuntu1
[ Micah Gersten <micahg@ubuntu.com> ]
* FFe - LP: #636667
* Merge from debian unstable.  Remaining changes:
  + Add Ubuntu flash alternatives in postinst and prerm
    - update debian/browser-plugin-gnash.postinst
    - update debian/browser-plugin-gnash.prerm

[ Chris Coulson <chris.coulson@canonical.com> ]
* Ensure the directories we are installing alternatives too exist
  already
  - add debian/browser-plugin-gnash.dirs

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
check_equals (typeof(System.__proto__), 'object');
67
67
check_equals (System.__proto__, Object.prototype)
68
68
 
 
69
// test the System.setClipboard method
 
70
check_equals ( typeof(System.setClipboard), 'function');
 
71
 
 
72
// test the System.showSettings method
 
73
check_equals ( typeof(System.showSettings), 'function');
 
74
 
69
75
// test the System::security.allowDomain method
70
76
check_equals ( typeof(System.security.allowDomain), 'function' );
71
77
 
72
78
// test the System.security.loadPolicyFile method
73
79
check_equals ( typeof(System.security.loadPolicyFile), 'function');
74
80
 
75
 
// test the System.setClipboard method
76
 
check_equals ( typeof(System.setClipboard), 'function');
77
 
 
78
 
// test the System.showSettings method
79
 
check_equals ( typeof(System.showSettings), 'function');
80
 
 
81
81
#if OUTPUT_VERSION >= 7
82
82
 
83
83
// test the System.security.allowInsecureDomain method
122
122
check_equals(typeof(System.capabilities.avHardwareDisable), 'boolean');
123
123
check_equals(typeof(System.capabilities.windowlessDisable), 'boolean');
124
124
 
125
 
// Not present on Linux player version 9,0,115,0, but is (?) on windows.
126
 
check_equals(typeof(System.capabilities.hasIME), 'boolean');
 
125
// Not present on any known Linux player versions.
 
126
check_equals(typeof(System.capabilities.hasIME), 'undefined');
127
127
note("    System.capabilities.hasIME certainly fails on the pp on\n\
128
128
    some platforms. There's no verification that it exists at all so far.");
129
129