summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/selenium/core/SeleniumLog.html
diff options
context:
space:
mode:
authorxue <>2006-07-07 14:54:15 +0000
committerxue <>2006-07-07 14:54:15 +0000
commit61bb16ee2e5f0a66234e1575242169a10fde47b5 (patch)
tree3ee24dcc36ceae2c213130df1ea3d5c9fc110a27 /tests/FunctionalTests/selenium/core/SeleniumLog.html
parent7b84938b1b5964f2274d66e28ba17435924ffe35 (diff)
Merge from 3.0 branch till 1253.
Diffstat (limited to 'tests/FunctionalTests/selenium/core/SeleniumLog.html')
-rwxr-xr-xtests/FunctionalTests/selenium/core/SeleniumLog.html79
1 files changed, 0 insertions, 79 deletions
diff --git a/tests/FunctionalTests/selenium/core/SeleniumLog.html b/tests/FunctionalTests/selenium/core/SeleniumLog.html
deleted file mode 100755
index 291e1f77..00000000
--- a/tests/FunctionalTests/selenium/core/SeleniumLog.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<html>
-
-<head>
-<title>Selenium Log Console</title>
-<link id="cssLink" rel="stylesheet" href="selenium.css" />
-
-</head>
-<body id="logging-console">
-
-<script language="JavaScript">
-
-var logLevels = {
- debug: 0,
- info: 1,
- warn: 2,
- error: 3
-};
-
-var logLevelThreshold = null;
-
-function getThresholdLevel() {
- var buttons = document.getElementById('logLevelChooser').level;
- for (var i = 0; i < buttons.length; i++) {
- if (buttons[i].checked) {
- return buttons[i].value;
- }
- }
-}
-
-function setThresholdLevel(logLevel) {
- logLevelThreshold = logLevel;
- var buttons = document.getElementById('logLevelChooser').level;
- for (var i = 0; i < buttons.length; i++) {
- if (buttons[i].value==logLevel) {
- buttons[i].checked = true;
- }
- else {
- buttons[i].checked = false;
- }
- }
-}
-
-function append(message, logLevel) {
- if (logLevelThreshold==null) {
- logLevelThreshold = getThresholdLevel();
- }
- if (logLevels[logLevel] < logLevels[logLevelThreshold]) {
- return;
- }
- var log = document.getElementById('log');
- var newEntry = document.createElement('li');
- newEntry.className = logLevel;
- newEntry.appendChild(document.createTextNode(message));
- log.appendChild(newEntry);
- if (newEntry.scrollIntoView) {
- newEntry.scrollIntoView();
- }
-}
-
-</script>
-
-<div id="banner">
- <form id="logLevelChooser">
- <input id="level-error" type="radio" name="level"
- value="error" /><label for="level-error">Error</label>
- <input id="level-warn" type="radio" name="level"
- value="warn" /><label for="level-warn">Warn</label>
- <input id="level-info" type="radio" name="level" checked="yes"
- value="info" /><label for="level-info">Info</label>
- <input id="level-debug" type="radio" name="level"
- value="debug" /><label for="level-debug">Debug</label>
- </form>
- <h1>Selenium Log Console</h1>
-</div>
-
-<ul id="log"></ul>
-
-</body>
-</html>