WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11130
Convert "undefined" to AE missing value
https://bugs.webkit.org/show_bug.cgi?id=11130
Summary
Convert "undefined" to AE missing value
Alexey Proskuryakov
Reported
2006-10-03 02:48:10 PDT
There is a special constant for missing value in Apple Events, we should use it.
Attachments
proposed patch
(2.80 KB, patch)
2006-10-03 12:18 PDT
,
Alexey Proskuryakov
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2006-10-03 12:18:16 PDT
Created
attachment 10881
[details]
proposed patch There's also cUndefined, but that one is never mentioned in documentation I could find, and is actually for internal use: <
http://listserv.dartmouth.edu/scripts/wa.exe?A2=ind9911&L=macscrpt&T=0&P=9383
>. The null descriptor is technically in the same category as undefined - we are not supposed to return it AFAICT. However, many applications return it now (apparently, Cocoa Scripting is to blame), and we probably need some way to differentiate JS null from JS undefined anyway. The other cases (UnspecifiedType, GetterSetterType) should probably be made to just return AE errors eventually.
Alexey Proskuryakov
Comment 2
2006-10-03 21:39:29 PDT
Committed revision 16765.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug