~oxide-developers/oxide/1.3

« back to all changes in this revision

Viewing changes to qt/tests/qmltests/core/tst_UnhandledURLSchemes1.html

  • Committer: Olivier Tilloy
  • Date: 2014-10-28 22:09:14 UTC
  • Revision ID: olivier.tilloy@canonical.com-20141028220914-df0cy46k8qql31ci
Tags: QT_1_3_2
Delegate unhandled URL schemes to the system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
 <body>
 
3
  <script>
 
4
   var counter = 0;
 
5
   document.body.addEventListener("click", function(event) {
 
6
     location.href = "customscheme:test" + ++counter;
 
7
   });
 
8
  </script>
 
9
 </body>
 
10
</html>