| function print(message) { |
| var paragraph = document.createElement("p"); |
| paragraph.appendChild(document.createTextNode(message)); |
| document.getElementById("console").appendChild(paragraph); |
| return objCController.doesNotExist; |
| if (!window.objCController) { |
| print("FAIL: window.objCController does not exist"); |
| // create lots of objects to force a garbage collection |
| if (crasher) {} // force call to toBoolean |
| if (crasher == null) {} // force call to type() through call to equal |
| if (window.objCController) |
| print("FAIL: unable to delete objCController"); |
| print("PASS: You didn't crash."); |
| This test checks for a regression against: rdar://problem/4176077 CrashTracer: |
| 6569 crashes in DashboardClient at com.apple.JavaScriptCore: |
| KJS::Bindings::ObjcFallbackObjectImp::type() |
| This test only works in DumpRenderTree, because it depends on having a plugin object |