Files
cefsharp/CefSharp.Example/Resources/BindingApiCustomObjectNameTest.html
T
amaitland ae41e10d71 Core - Javascript Binding Configure Property Name
- Rename settings object to JavascriptBindingSettings
- Validate JavascriptBindingSettings.JsBindingGlobalObjectName in setter to provide immediate
  feedback
- Add FreezableBase which throws exception when frozen (we can reuse this for some other settings classes)
- Add some basic Unit Tests (More would be better)

Follow on from #3126
2020-05-30 19:28:50 +10:00

26 lines
724 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>QUnit Javascript Binding API Object Name</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.10.0.css">
<script>
if (!window.bindingApiObject)
{
window.bindingApiObject = cefSharp;
}
</script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.10.0.js"></script>
<script>
QUnit.test("Test if can execute a method on our object", function (assert)
{
assert.notOk(bindingApiObject.isObjectCached("fakeExample"), "We expect false");
});
</script>
</body>
</html>