Manual tests fixed
authorPiotr Zalewa <piotr@zalewa.info>
Wed, 30 Apr 2014 13:14:04 +0000 (15:14 +0200)
committerPiotr Zalewa <piotr@zalewa.info>
Wed, 14 May 2014 13:53:27 +0000 (15:53 +0200)
commit0de5e956d2f677d5ea770bb97ae6b9a1ed10c33b
tree8596dc0d4fd6bd4dfe307c1b43d4867d3d38eb0e
parent508f29f4c0a7602630bdc788da03b96b27f6b904
Manual tests fixed

Removing inline scripts from mobile-spec to make it compatible with FFOS priveleged type apps (i.e. using contacts)

added addListenerToClass function which is used to connect buttons with test functions.

Please check it on all platforms and r+ if working.

moved test initialization to JS file (for DRY and privileged apps compatibility)
75 files changed:
accelerometer/index.html
accelerometer/index.js [new file with mode: 0644]
audio/index.html
audio/index.js [new file with mode: 0644]
autotest/index.html
autotest/index.js [new file with mode: 0644]
autotest/pages/accelerometer.html
autotest/pages/all.html
autotest/pages/all.js [new file with mode: 0644]
autotest/pages/battery.html
autotest/pages/bridge.html
autotest/pages/camera.html
autotest/pages/capture.html
autotest/pages/compass.html
autotest/pages/contacts.html
autotest/pages/datauri.html
autotest/pages/device.html
autotest/pages/file.html
autotest/pages/file.js [new file with mode: 0644]
autotest/pages/filetransfer.html
autotest/pages/geolocation.html
autotest/pages/globalization.html
autotest/pages/localXHR.html
autotest/pages/media.html
autotest/pages/network.html
autotest/pages/notification.html
autotest/pages/platform.html
autotest/pages/run-tests.js [new file with mode: 0644]
autotest/pages/splashscreen.html
autotest/pages/storage.html
autotest/pages/vibration.html
autotest/pages/whitelist.html
battery/index.html
battery/index.js [new file with mode: 0644]
camera/index.html
camera/index.js [new file with mode: 0644]
capture/index.html
capture/index.js [new file with mode: 0644]
compass/index.html
compass/index.js [new file with mode: 0644]
contacts/index.html
contacts/index.js [new file with mode: 0644]
cordova-incl.js
events/index.html
events/index.js [new file with mode: 0644]
file/index.html
file/index.js [new file with mode: 0644]
inappbrowser/index.html
inappbrowser/index.js [new file with mode: 0644]
index.html
keyboard/index.html
keyboard/index.js [new file with mode: 0644]
keyboard/window-onerror.js [new file with mode: 0644]
lazyloadjs/do-not-write-cordova-script.js [new file with mode: 0644]
lazyloadjs/index.html
lazyloadjs/index.js [new file with mode: 0644]
location/index.html
location/index.js [new file with mode: 0644]
main.js
misc/index.html
misc/index.js [new file with mode: 0644]
misc/page2.html
misc/page2.js [new file with mode: 0644]
misc/page3.html
misc/page3A.js [new file with mode: 0644]
network/index.html
network/index.js [new file with mode: 0644]
notification/index.html
notification/index.js [new file with mode: 0644]
sql/index.html
sql/index.js [new file with mode: 0644]
storage/index.html
storage/index.js [new file with mode: 0644]
vibration/index.html
vibration/index.js [new file with mode: 0644]