Page 1 of 1
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Fri Aug 21, 2015 1:46 pm
by Giorgio Draghetti
I receive the following warnings:
XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
Attr child nodes are deprecated and will be removed in M45, around August 2015. Please use 'Attr.value' instead.
I'm just finishing my app. Is there something i can do (or don't use) to eliminate these warnings? The jquery updates are done automatically?
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Fri Aug 21, 2015 5:24 pm
by Serhii Kulibaba
Hello Giorgio,
Could you send us some screenshots with these errors? When do they fire?
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Fri Aug 21, 2015 6:22 pm
by Giorgio Draghetti
I'm sorry, i haven't reminded to enclose it.
The xmlhttp warning does fire immediatly at start. I suppose it is because i'm calling the DB to get user info before displaying info. Is "better" (!?) to include a button to the splash screen? ask the confirm to user before querying the db? In mobile telephone apps I like to have as less button as possible...
The Attr Child nodes warning was fired during the mapping before opening a popup. I'm sorry for this but i'm redrawing the UX and the warning doesn't appear anymore.
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Sat Aug 22, 2015 9:46 am
by Giorgio Draghetti
The warnings are here again, unfortunately with a "Component not found error"
(
I hope this can help you about the "Attr Child" warning.
As you can see, there is a popup with a List component. Inside the List there are two Collapsible.
The component not found error is already signaled here
https://getsatisfaction.com/apperyio/...
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Mon Aug 31, 2015 11:46 am
by Serhii Kulibaba
Could you check what service fires this error? Does app navigate to another page before that service complete?
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Tue Sep 01, 2015 2:48 pm
by Giorgio Draghetti
Hi Sergiy.
Sorry for delay but i was busy to debug other things.
I'm very near to ready to publish.
I created these two video to help you find where the problem arise:
Testing app - http://youtu.be/FYM1q-UDj5M
App design description - http://youtu.be/RqzfWkAN0jk
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Wed Sep 02, 2015 7:53 am
by Serhii Kulibaba
Please move open popup from click event to service complete event
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Wed Sep 02, 2015 10:37 am
by Giorgio Draghetti
Great!
It works without warnings.
Thanks a lot.
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Wed Sep 02, 2015 12:15 pm
by Giorgio Draghetti
Sorry. My ceck was too fast.
Moving the open popup to the last operation in the service complete actions doesn't solve the warning.
It happen also in "Soste" pages where there aren't popup but the design is similar:
a collapsblobk components inside a list component
Chrome js warnings: XMLHttpRequest, Attr child nodes
Posted: Wed Sep 02, 2015 2:44 pm
by Giorgio Draghetti
I think there were something corrupted in the browser.
I restarted the computer and ... the warnings are disappeared from both pages.
OK. I surrender. Is better if we consider this closed for now. I will make a new check after next Chrome update.