Change disregarded cases to invalid cert chain
[platform/core/security/cert-svc.git] / tests / vcore / resource / wgt_negative_signature / js / main.js
1
2 window.onload = function () {
3     // TODO:: Do your initialization job
4
5     // add eventListener for tizenhwkey
6     document.addEventListener('tizenhwkey', function(e) {
7         if(e.keyName == "back")
8         try {
9             tizen.application.getCurrentApplication().exit();
10         } catch (ignore) {
11         }
12     });
13
14     // Sample code
15     var textbox = document.querySelector('.contents');
16     textbox.addEventListener("click", function(){
17         box = document.querySelector('#textbox');
18         box.innerHTML = box.innerHTML == "Basic" ? "Sample" : "Basic";
19     });
20     
21 };