Sha256: 0454ae3a9bbe9f073b74631ba12eafc471bf85a43e655f7b94417ef699dfb59a

Contents?: true

Size: 1.11 KB

Versions: 22

Compression:

Stored size: 1.11 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>CKEDITOR.dom.window</title>
	<link rel="stylesheet" type="text/css" href="../../test.css" />
	<script type="text/javascript" src="../../../ckeditor.js"></script>
	<script type="text/javascript" src="../../test.js"></script>
	<script type="text/javascript">
	//<![CDATA[

var loadCalled;

var testWindow = new CKEDITOR.dom.window( window );

var t;

testWindow.on( 'load', function()
	{
		t = document.createElement( 'textarea' );
		t.id = 'fred';

		document.body.appendChild( t );

		loadCalled = true;
	});

testWindow.on( 'beforeunload', function()
	{
		t.value = new Date();
	});

CKEDITOR.test.addTestCase( (function()
{
	// Local reference to the "assert" object.
	var assert = CKEDITOR.test.assert;

	return {
		test_loadEvent : function()
		{
			assert.isTrue( loadCalled );
		},

		name : document.title
	};
})() );

	//]]>
	</script>
</head>
<body>
	<div id="test1"></div>
</body>
</html>

Version data entries

22 entries across 22 versions & 6 rubygems

Version Path
browsercms-3.3.4 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.4.0.rc2 vendor/assets/javascripts/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.4.0.rc1 vendor/assets/javascripts/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.3.3 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.1.5 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.1.4 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.3.2 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.3.1 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.3.0 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.1.3 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.3.0.beta public/bcms/ckeditor/tests/core/dom/window.html
bcms_content_syncing-1.0.0 public/bcms/ckeditor/tests/core/dom/window.html
drujensen-browsercms-3.2.0 public/bcms/ckeditor/tests/core/dom/window.html
browsercmsi-3.1.2 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.1.2 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.1.1 public/bcms/ckeditor/tests/core/dom/window.html
browsercmsi-3.1.1 public/bcms/ckeditor/tests/core/dom/window.html
browsercmsi-3.1.0 public/bcms/ckeditor/tests/core/dom/window.html
browsercms-3.1.0 public/bcms/ckeditor/tests/core/dom/window.html
bcms_fckeditor-1.0.1 public/bcms/ckeditor/tests/core/dom/window.html