Mailing Lists: Apple Mailing Lists

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

Re: 10.4.3 and XMLHttpRequest?



Hi Kevin,

It's actually AllowNetworkAccess (not Allows) and you need to make sure it's a Boolean type.  Is that what you're doing?  If so, please send us something to look at.

Thanks!

----------------------------------------------

Matt Drance

DTS Engineer

Worldwide Developer Relations

email@hidden



On Nov 1, 2005, at 2:45 PM, Kevin Cox wrote:

Hmm... didn't do anything for me. I've actually always been using async in the actual widget... the code I pasted was synchronous but it worked either way in 10.4.2 and not at all in 10.4.3. Any other ideas? It's quite perplexing!

Thanks,
Kevin

On Nov 1, 2005, at 4:17 PM, John Louch wrote:

I believe you need a AllowsNetworkAccess bit in your Info.plist.  There was
a bug that was fixed in our websystem that allow synchronouse
XMLHttpRequests to work with that bit turned on.

Thanks,
jl

Is anybody noticing problems with XMLHttpRequest? My widget NOTEZAR
is broken since the update, and I've been doing some tests and I
can't get the object to work right.

Usually I hit PHP scripts to return all the data I need and handle
sessions and whatnot, but even if I hit a page called "wtest.html"
whose only contents are "hello" - no quotes, no tags, nothing... I
can't even return that.

I even tried using apple's code:
to return the "hello" page - nothing.

This code works on 10.4.2 but breaks on .3:
request.open("GET",("http://www.notezar.com/wnotes/wtest.html"),false);
request.send("");
alert("responsetext: "+request.responseText);

However, it must still be working somehow because other widgets that
use it still work (wikipedia, google maps). (unless they have custom
plugins?)

So, have any of you seen this? Are your widgets working? I'm baffled.

Thanks,
Kevin
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

--------------------------------------------------
John Louch         Internet #: email@hidden
(805) 541 2965


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

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

This email sent to email@hidden

References: 
 >Re: 10.4.3 and XMLHttpRequest? (From: John Louch <email@hidden>)
 >Re: 10.4.3 and XMLHttpRequest? (From: Kevin Cox <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.