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

Issue 15138002: Added tests to previously broken functionality and added null checks. (Closed)

Created:
7 years, 7 months ago by Andrei Mouravski
Modified:
7 years, 7 months ago
Reviewers:
Anton Muhin, sra1, blois
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Added tests to previously broken functionality and added null checks. R=antonm@google.com Committed: https://code.google.com/p/dart/source/detail?r=23123

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 8

Patch Set 10 : Correctly check for position. #

Total comments: 2

Patch Set 11 : Contradiction! #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : I think this is good now. #

Total comments: 9

Patch Set 15 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -10 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +10 lines, -6 lines 0 comments Download
M sdk/lib/web_gl/dart2js/web_gl_dart2js.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M tests/html/canvasrenderingcontext2d_test.dart View 2 chunks +68 lines, -2 lines 0 comments Download
M tools/dom/scripts/htmldartgenerator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +15 lines, -0 lines 1 comment Download

Messages

Total messages: 20 (0 generated)
Andrei Mouravski
7 years, 7 months ago (2013-05-13 17:58:29 UTC) #1
blois
https://codereview.chromium.org/15138002/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart#newcode20733 sdk/lib/html/dart2js/html_dart2js.dart:20733: if (protocol_OR_protocols is List<String> && protocol_OR_protocols != null && ...
7 years, 7 months ago (2013-05-13 21:09:16 UTC) #2
Andrei Mouravski
Okay, this is much smaller and should be better. https://codereview.chromium.org/15138002/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart#newcode20733 sdk/lib/html/dart2js/html_dart2js.dart:20733: ...
7 years, 7 months ago (2013-05-14 00:00:53 UTC) #3
blois
https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart File sdk/lib/web_gl/dart2js/web_gl_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart#newcode2409 sdk/lib/web_gl/dart2js/web_gl_dart2js.dart:2409: if (format_OR_width != null && height_OR_type != null && ...
7 years, 7 months ago (2013-05-14 01:47:56 UTC) #4
Andrei Mouravski
https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart File sdk/lib/web_gl/dart2js/web_gl_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart#newcode2409 sdk/lib/web_gl/dart2js/web_gl_dart2js.dart:2409: if (format_OR_width != null && height_OR_type != null && ...
7 years, 7 months ago (2013-05-14 01:58:56 UTC) #5
sra1
https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart File sdk/lib/web_gl/dart2js/web_gl_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart#newcode2409 sdk/lib/web_gl/dart2js/web_gl_dart2js.dart:2409: if (format_OR_width != null && height_OR_type != null && ...
7 years, 7 months ago (2013-05-14 03:47:45 UTC) #6
Anton Muhin
https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart File sdk/lib/web_gl/dart2js/web_gl_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/11001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart#newcode2409 sdk/lib/web_gl/dart2js/web_gl_dart2js.dart:2409: if (format_OR_width != null && height_OR_type != null && ...
7 years, 7 months ago (2013-05-14 06:17:34 UTC) #7
Andrei Mouravski
PTAL. I just want to be done with this stupid CL. :[ No solution has ...
7 years, 7 months ago (2013-05-21 09:38:49 UTC) #8
Anton Muhin
https://codereview.chromium.org/15138002/diff/27001/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart File sdk/lib/indexed_db/dartium/indexed_db_dartium.dart (right): https://codereview.chromium.org/15138002/diff/27001/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart#newcode488 sdk/lib/indexed_db/dartium/indexed_db_dartium.dart:488: if (?key && key != null) { why there ...
7 years, 7 months ago (2013-05-21 13:24:08 UTC) #9
Andrei Mouravski
PTAL. https://codereview.chromium.org/15138002/diff/27001/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart File sdk/lib/indexed_db/dartium/indexed_db_dartium.dart (right): https://codereview.chromium.org/15138002/diff/27001/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart#newcode488 sdk/lib/indexed_db/dartium/indexed_db_dartium.dart:488: if (?key && key != null) { Because ...
7 years, 7 months ago (2013-05-21 18:39:13 UTC) #10
blois
https://codereview.chromium.org/15138002/diff/32001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart File sdk/lib/web_gl/dart2js/web_gl_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/32001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart#newcode2405 sdk/lib/web_gl/dart2js/web_gl_dart2js.dart:2405: if (format_OR_width != null && height_OR_type != null && ...
7 years, 7 months ago (2013-05-21 23:53:07 UTC) #11
Andrei Mouravski
Okay, this should for reals be good. https://codereview.chromium.org/15138002/diff/32001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart File sdk/lib/web_gl/dart2js/web_gl_dart2js.dart (right): https://codereview.chromium.org/15138002/diff/32001/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart#newcode2405 sdk/lib/web_gl/dart2js/web_gl_dart2js.dart:2405: if (format_OR_width ...
7 years, 7 months ago (2013-05-22 09:04:50 UTC) #12
Anton Muhin
https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py File tools/dom/scripts/htmldartgenerator.py (right): https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py#newcode257 tools/dom/scripts/htmldartgenerator.py:257: if (len(signature) <= i or signature[i].id not in parameter_name): ...
7 years, 7 months ago (2013-05-22 12:27:33 UTC) #13
Andrei Mouravski
https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py File tools/dom/scripts/htmldartgenerator.py (right): https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py#newcode257 tools/dom/scripts/htmldartgenerator.py:257: if (len(signature) <= i or signature[i].id not in parameter_name): ...
7 years, 7 months ago (2013-05-22 12:37:42 UTC) #14
Anton Muhin
https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py File tools/dom/scripts/htmldartgenerator.py (right): https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py#newcode257 tools/dom/scripts/htmldartgenerator.py:257: if (len(signature) <= i or signature[i].id not in parameter_name): ...
7 years, 7 months ago (2013-05-22 12:50:56 UTC) #15
Andrei Mouravski
https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py File tools/dom/scripts/htmldartgenerator.py (right): https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py#newcode257 tools/dom/scripts/htmldartgenerator.py:257: if (len(signature) <= i or signature[i].id not in parameter_name): ...
7 years, 7 months ago (2013-05-22 14:40:10 UTC) #16
Andrei Mouravski
https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py File tools/dom/scripts/htmldartgenerator.py (right): https://codereview.chromium.org/15138002/diff/50001/tools/dom/scripts/htmldartgenerator.py#newcode257 tools/dom/scripts/htmldartgenerator.py:257: if (len(signature) <= i or signature[i].id not in parameter_name): ...
7 years, 7 months ago (2013-05-23 09:53:27 UTC) #17
Anton Muhin
https://codereview.chromium.org/15138002/diff/58001/tools/dom/scripts/htmldartgenerator.py File tools/dom/scripts/htmldartgenerator.py (right): https://codereview.chromium.org/15138002/diff/58001/tools/dom/scripts/htmldartgenerator.py#newcode237 tools/dom/scripts/htmldartgenerator.py:237: def IsDartTypeNullable(type_signature): Andrei, thanks a lot, now I understand ...
7 years, 7 months ago (2013-05-23 15:06:25 UTC) #18
Anton Muhin
lgtm Pete, Stephen, just a bit of context: we discussed this CL with Andrei and ...
7 years, 7 months ago (2013-05-24 08:05:57 UTC) #19
Andrei Mouravski
7 years, 7 months ago (2013-05-24 08:23:30 UTC) #20
Message was sent while issue was closed.
Committed patchset #15 manually as r23123 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698