Hi, Yashash

I have answered the question in 
https://crosswalk-project.org/jira/browse/XWALK-5063 which you created.

The error messages was defined in 
xwalk_resources.grd<https://github.com/crosswalk-project/crosswalk/blob/master/runtime/resources/xwalk_resources.grd>,
 these messages could not be customized.

You can override onJavascriptModalDialog, onReceivedLoadError to show your 
dialog and message.

Thanks.

BRs,
Hengzhi Wu

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Yashash Agarwal
Sent: Wednesday, September 16, 2015 3:41 AM
To: [email protected]
Cc: Balram Pandey
Subject: [Crosswalk-help] XWalk Error Messages

Hello,
There are quite a few error message dialogs that XWalkView displays. Some 
common examples are: The internet connection has been lost, or A network change 
has been detected. While these common ones can be understood by the end user, 
there are messages that may not be as easy to understand and that creates a bad 
experience. A Javascript alert I got today said FATAL ERROR: Unable to locate 
GameConfig
The questions are:

  1.  Is there a list of all the possible error messages/dialogs that the 
XWalkView may show?
  2.  How can we customise the text / layout of these messages?

Thanks
Yashash

--
Yashash Agarwal
Co-founder
Gamezop
Remember meeting shy IIT juniors at 2 States book launch, saying sir we run a 
small e-bookstore. I said what's the name. They said Flipkart. ~ Chetan Bhagat
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to