Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in Javascript patch



This morning I discovered a very consistent crash in the Javascript patch in QC. I sent the bug when the form came up. But I just wanted to post the very simple way to reproduce this here. You simply do this:

1) Open a new QC project
2) Add a Javascript patch
3) Go into the patch and edit the code
4) Get rid of the existing line of code
5) type "if ("foo" in this) { }"

When you typ the closing brace QC crashes. It does not happen if you replace 'this' with 'bar'. But if you try to do this on any Object that exists, QC will crash. Seems like whatever logic is validating the code typed doesn't like 'in' much...

Hope that helps...

--
~Chris
----------
email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.