![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 5554
Join Date: Sep 2011
Device: Kindle
|
JavaScript debugging in mobile browser and WAF
Hi all!
Does anyone have any pointers for the best way to get javascript console output in the Kindle experimental browser? I'm struggling to identify which apis are present in that version of WebKit (things like promises and fetch didn't exist yet). I'd love to be able to catch those errors in a more elegant way than document.write on window.onerror. ![]() Any help would be much appreciated! |
![]() |
![]() |
![]() |
#2 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
So start out with telling us the model other than just "Kindle": https://wiki.mobileread.com/wiki/Kindle_Serial_Numbers And then tell us what firmware version it is running; you can find that on the "Device Info" panel under the "Settings" menu. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,097
Karma: 12000220
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
|
![]() |
![]() |
![]() |
#4 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 5554
Join Date: Sep 2011
Device: Kindle
|
Quote:
Apologies! It is a Kindle Touch D01200, running firmware 5.3.7.3 I suspect this is the case with almost any version of the experimental browser. I've been able to make a fair amount of progress by looking at WebKit 5.0 and the feature set it had, but it is slow going without any debugging ![]() |
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 5554
Join Date: Sep 2011
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beta-Browser JavaScript debugging | clausmuus | Kindle Developer's Corner | 0 | 09-28-2016 06:37 AM |
Kindle touch browser javascript capabilities | iPocketBook | Kindle Developer's Corner | 14 | 01-03-2013 09:10 AM |
Javascript support in PB302 browser ? | aruangra | PocketBook | 8 | 05-25-2010 07:11 PM |
iLiad Is there an Iliad browser that supports javascript? | Maike13 | iRex Developer's Corner | 0 | 12-09-2009 01:56 PM |
PRS-500 Tools for debugging javascript ...? | Clemenseken | Sony Reader Dev Corner | 6 | 05-03-2008 02:51 PM |