This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14944 from kumarrishav/issue-944284
Bug 944284 [UITEST] add dial number activity , styling issue fixed- bug ..., r=gasolin
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var dial = document.querySelector('#dial'); | ||
if (dial) { | ||
dial.onclick = function() { | ||
var call = new MozActivity({ | ||
name: 'dial', | ||
data: { | ||
number: '+46777888999' | ||
} | ||
}); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1"> | ||
<meta charset="utf-8"> | ||
<title>Dial Number test</title> | ||
<script defer src="../../js/API/dialnumber.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../../style/API.css"> | ||
</head> | ||
<body> | ||
<h1>Dial Number Test</h1> | ||
<button id="dial">Dial Number</button> | ||
</body> | ||
</html> | ||
|