Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Issue 11450020: (Fix #215) better error printing in editor & extension, adds mapping for editor (Closed)

Created:
8 years ago by Siggi Cherem (dart-lang)
Modified:
8 years ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dart-web-components.git@master
Visibility:
Public.

Description

(Fix #215) better error printing in editor & extension, adds mapping for editor This change: - adds json formatted output for the Dart editor to show messages, - changes how we print messages so we can forward messages from the background extension page, back to the main page - prints the mapping message so the Dart editor can redirect launched files. Committed: https://github.com/dart-lang/dart-web-components/commit/fe77828

Patch Set 1 : #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -19 lines) Patch
M bin/dwc_browser.dart View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M extension/background.js View 1 chunk +4 lines, -0 lines 0 comments Download
M extension/content_script.js View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M lib/component_build.dart View 1 2 chunks +15 lines, -4 lines 0 comments Download
M lib/dwc.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M lib/src/messages.dart View 1 2 3 4 5 chunks +34 lines, -12 lines 2 comments Download
M lib/src/options.dart View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M test/testing.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Siggi Cherem (dart-lang)
8 years ago (2012-12-06 00:36:02 UTC) #1
Jennifer Messerly
https://chromiumcodereview.appspot.com/11450020/diff/6009/bin/dwc_browser.dart File bin/dwc_browser.dart (right): https://chromiumcodereview.appspot.com/11450020/diff/6009/bin/dwc_browser.dart#newcode54 bin/dwc_browser.dart:54: js.context.proxyMessages(sourcePagePort, out of curiousity, can you inline proxyMessages? sourcePagePort.postMessage(js.map({'type': ...
8 years ago (2012-12-06 04:00:08 UTC) #2
Siggi Cherem (dart-lang)
https://chromiumcodereview.appspot.com/11450020/diff/6009/bin/dwc_browser.dart File bin/dwc_browser.dart (right): https://chromiumcodereview.appspot.com/11450020/diff/6009/bin/dwc_browser.dart#newcode54 bin/dwc_browser.dart:54: js.context.proxyMessages(sourcePagePort, On 2012/12/06 04:00:08, John Messerly wrote: > out ...
8 years ago (2012-12-06 18:46:42 UTC) #3
Siggi Cherem (dart-lang)
PTAL - switched back to print errors as soon as we find them, except for ...
8 years ago (2012-12-06 19:56:54 UTC) #4
Jennifer Messerly
lgtm. the errors/warnings in the web inspector console is awesome :) https://chromiumcodereview.appspot.com/11450020/diff/17002/lib/src/messages.dart File lib/src/messages.dart (right): ...
8 years ago (2012-12-06 19:59:54 UTC) #5
Siggi Cherem (dart-lang)
8 years ago (2012-12-06 20:03:14 UTC) #6
https://chromiumcodereview.appspot.com/11450020/diff/17002/lib/src/messages.dart
File lib/src/messages.dart (right):

https://chromiumcodereview.appspot.com/11450020/diff/17002/lib/src/messages.d...
lib/src/messages.dart:108: if (shouldPrint) {
On 2012/12/06 19:59:54, John Messerly wrote:
> Put this in a helper function?
> (since we had that bug once where the code paths got out of sync :) )

Done.

Powered by Google App Engine
This is Rietveld 408576698