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
d96250df7f
commit
bcfee41a57
318 changed files with 54424 additions and 6419 deletions
36
dashboard-ui/bower_components/jquery/test/data/manipulation/iframe-denied.html
vendored
Normal file
36
dashboard-ui/bower_components/jquery/test/data/manipulation/iframe-denied.html
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8 />
|
||||
<title>body</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="qunit-fixture"></div>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script>
|
||||
var script = document.getElementsByTagName( "script" )[ 0 ],
|
||||
div = document.createElement( "div" ),
|
||||
src = "http://" + window.parent.externalHost,
|
||||
success = true,
|
||||
error = "";
|
||||
|
||||
script.parentNode.appendChild( div );
|
||||
div.innerHTML = "<iframe name=\"test\" src=\"" + src + "\">";
|
||||
|
||||
jQuery(function() {
|
||||
try {
|
||||
jQuery( "<div>hello<div>world</div>!</div>" ).appendTo( "#qunit-fixture" );
|
||||
} catch( e ) {
|
||||
success = false;
|
||||
error = e;
|
||||
}
|
||||
|
||||
window.parent.iframeCallback({
|
||||
status: success,
|
||||
description: "buildFragment sets the context without throwing an exception" +
|
||||
( error ? ": " + error : "" )
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue