Index: test/webkit/instanceof-operator.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/instanceof-operator.js |
similarity index 89% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/instanceof-operator.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..1230181584337c86a13846618b2cefe510239e59 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/instanceof-operator.js |
@@ -21,6 +21,13 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+"instanceof test" |
+); |
-finishJSTest(); |
+getterCalled = false; |
+try { |
+ ({} instanceof { get prototype(){ getterCalled = true; } }); |
+} catch (e) { |
+} |
+shouldBeFalse("getterCalled"); |