mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge from dev
This commit is contained in:
parent
9e1a2cf66a
commit
189942e289
298 changed files with 53049 additions and 5413 deletions
5
dashboard-ui/bower_components/jquery/test/data/ajax/content-type.php
vendored
Normal file
5
dashboard-ui/bower_components/jquery/test/data/ajax/content-type.php
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
$type = $_REQUEST['content-type'];
|
||||
header("Content-type: $type");
|
||||
echo $_REQUEST['response']
|
||||
?>
|
1
dashboard-ui/bower_components/jquery/test/data/ajax/evalScript.php
vendored
Normal file
1
dashboard-ui/bower_components/jquery/test/data/ajax/evalScript.php
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
ok( "<?php echo $_SERVER['REQUEST_METHOD'] ?>" === "GET", "request method is <?php echo $_SERVER['REQUEST_METHOD'] ?>" );
|
1
dashboard-ui/bower_components/jquery/test/data/ajax/method.php
vendored
Normal file
1
dashboard-ui/bower_components/jquery/test/data/ajax/method.php
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
<?php echo $_SERVER['REQUEST_METHOD'] ?>
|
30
dashboard-ui/bower_components/jquery/test/data/ajax/onunload.html
vendored
Normal file
30
dashboard-ui/bower_components/jquery/test/data/ajax/onunload.html
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||
<title>onunload ajax requests (#14379)</title>
|
||||
<script src="../../jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<form id="navigate" action="../iframe.html"></form>
|
||||
<script>
|
||||
jQuery( window ).on( "unload", function() {
|
||||
var ajaxStatus;
|
||||
jQuery.ajax({
|
||||
url: "../name.html",
|
||||
async: false,
|
||||
complete: function( xhr, status ) {
|
||||
ajaxStatus = status;
|
||||
}
|
||||
});
|
||||
parent.iframeCallback( ajaxStatus );
|
||||
});
|
||||
|
||||
jQuery(function() {
|
||||
setTimeout(function() {
|
||||
document.getElementById( "navigate" ).submit();
|
||||
}, 0 );
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
25
dashboard-ui/bower_components/jquery/test/data/ajax/unreleasedXHR.html
vendored
Normal file
25
dashboard-ui/bower_components/jquery/test/data/ajax/unreleasedXHR.html
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Attempt to block tests because of dangling XHR requests (IE)</title>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onunload = function() {};
|
||||
jQuery(function() {
|
||||
setTimeout(function() {
|
||||
var parent = window.parent;
|
||||
document.write("");
|
||||
parent.iframeCallback();
|
||||
}, 200 );
|
||||
var number = 50;
|
||||
while( number-- ) {
|
||||
jQuery.ajax("../name.php?wait=10");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- empty body -->
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue