generated-scene: add scheduled monitoring runtime and helper lifecycle hardening
This commit is contained in:
29
tests/fixtures/generated_scene/bootstrap_localhost_pollution/index.html
vendored
Normal file
29
tests/fixtures/generated_scene/bootstrap_localhost_pollution/index.html
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Bootstrap Localhost Pollution Fixture</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="http://cdn.example.com/app.js"></script>
|
||||
<script>
|
||||
const sourceUrl = "http://yx.gs.sgcc.com.cn";
|
||||
const requestUrl = "http://localhost:13313/browser-helper.html";
|
||||
|
||||
async function getUserList() {
|
||||
return $.ajax({
|
||||
url: "http://yxgateway.gs.sgcc.com.cn/marketing/userList",
|
||||
type: "POST",
|
||||
contentType: "application/json"
|
||||
});
|
||||
}
|
||||
|
||||
function exportExcel() {
|
||||
return $.ajax({
|
||||
url: "http://localhost:13313/SurfaceServices/personalBread/export/faultDetailsExportXLSX",
|
||||
type: "POST"
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user