Current time: 10-31-2020, 12:02 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test Error: Unexpected token a
09-12-2014, 11:24 AM
Post: #8
RE: Test Error: Unexpected token a
I think I have nailed down the specific issue.

When the node agent connects into Safari, and there is already a tab open with some content, it receives the following through the JSON interface.

The Response Body is:[{
"devtoolsFrontendUrl": "/devtools/devtools.html?host=localhost:1142&page=1",
"faviconUrl": "",
"thumbnailUrl": "/thumb/http://sfbay.craigslist.org/search/ppa?query=air+conditioner+%7C+a%2Fc",
"title": "SF bay area appliances "air conditioner | a/c" - craigslist",
"url": "http://sfbay.craigslist.org/search/ppa?query=air+conditioner+%7C+a%2Fc",
"webSocketDebuggerUrl": "ws://localhost:1142/devtools/page/1"
}]

Notice how the title value has double quotations inside it that are not escaped. This is invalid JSON. So this seems like an issue with iOSWebKitDebugProxy. I'll see if they've fixed this issue in any of their latest commits (although the latest commit is from 2 months ago).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Test Error: Unexpected token a - sidbala - 09-10-2014, 05:50 AM
RE: Test Error: Unexpected token a - sidbala - 09-12-2014 11:24 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)