cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: [Android] Deprecate HTC 2.3 Android console.log support in 3.0
Date Tue, 14 May 2013 00:43:11 GMT
Could you be more specific about what you'd like to get rid of?

Logger plugin?
onConsoleMessage?


On Mon, May 13, 2013 at 5:47 PM, Jesse <purplecabbage@gmail.com> wrote:

> console.log is pretty useful.
> This technically isn't our API, but a polyfill for platforms where
> console.log goes nowhere.
> WP7+8 have this broken into the DebugConsole plugin, and  clobber
> window.console as well as navigator.console.
>
> modulemapper.clobbers('cordova/plugin/windowsphone/console',
> 'navigator.console');
> modulemapper.clobbers('cordova/plugin/windowsphone/console', 'console');
>
> The actual implementation is bare bones[1], and does not have all the
> log-level bs in other versions.
>
>
> [1]
>
> https://github.com/apache/cordova-js/blob/master/lib/windowsphone/plugin/windowsphone/console.js
>
>
> @purplecabbage
> risingj.com
>
>
> On Mon, May 13, 2013 at 2:22 PM, Joe Bowser <bowserj@gmail.com> wrote:
>
> > Hey
> >
> > There's a known bug in HTC's WebView that suppressed console.log on
> > old Gingerbread devices.  This is only on devices that run HTC Sense,
> > and not devices like the Nexus One.  How do people feel about
> > deprecating console.log in 3.0.  I know that Simon hated this
> > particular chunk of code, and wanted to toss it by the wayside a while
> > ago.
> >
> > It says it was supposed to be ripped out this release, but I don't see
> > it on the wiki, so I'm giving it until 3.0 to be removed.  Does that
> > sound reasonable?
> >
> > Joe
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message