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

Issue 120063002: Improve modules' TypeError exception messages. (Closed)

Created:
7 years ago by Mike West
Modified:
6 years, 11 months ago
CC:
blink-reviews, dgrogan, tommyw+watchlist_chromium.org, alecflett, jsbell, cmumford
Visibility:
Public.

Description

Improve modules' TypeError exception messages. BUG=270033 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164591

Patch Set 1 #

Total comments: 2

Patch Set 2 : Tests. #

Patch Set 3 : Ugh. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -73 lines) Patch
M LayoutTests/fast/encoding/api/ascii-supersets-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/encoding/api/encoding-labels-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/encoding/api/legacy-encode-expected.txt View 1 2 1 chunk +39 lines, -39 lines 0 comments Download
M LayoutTests/storage/indexeddb/exceptions-expected.txt View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/storage/indexeddb/index-basics-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/storage/indexeddb/index-basics-workers-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/storage/indexeddb/objectstore-cursor-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/storage/indexeddb/objectstore-keycursor-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/storage/indexeddb/transaction-basics-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encoding/TextDecoder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encoding/TextEncoder.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/imagebitmap/ImageBitmapFactories.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBCursor.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBFactory.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBTransaction.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/RTCPeerConnection.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Mike West
You're not OOO. I can see you _right now_. -mike
7 years ago (2013-12-20 16:17:39 UTC) #1
jsbell
On behalf of Source/modules/encoding and Source/modules/indexeddb, LGTM Do we really not have tests that exercise ...
7 years ago (2013-12-20 17:47:49 UTC) #2
jsbell
https://codereview.chromium.org/120063002/diff/1/Source/modules/encoding/TextEncoder.cpp File Source/modules/encoding/TextEncoder.cpp (right): https://codereview.chromium.org/120063002/diff/1/Source/modules/encoding/TextEncoder.cpp#newcode54 Source/modules/encoding/TextEncoder.cpp:54: exceptionState.throwTypeError("The encoding label provided ('" + encodingLabel + "') ...
7 years ago (2013-12-20 17:51:07 UTC) #3
Mike West
Done both (and rebaselined the indexeddb tests that do, in fact, exist), thank you!
6 years, 11 months ago (2014-01-07 11:14:38 UTC) #4
Mike West
Jochen, mind taking a look at the rest?
6 years, 11 months ago (2014-01-07 12:55:26 UTC) #5
jochen (gone - plz use gerrit)
not a single test for the promise thing? :-/ lgtm on your changes
6 years, 11 months ago (2014-01-07 13:29:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/120063002/120001
6 years, 11 months ago (2014-01-07 13:30:53 UTC) #7
commit-bot: I haz the power
Failed to apply patch for LayoutTests/storage/indexeddb/cursor-advance-expected.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-07 13:30:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/120063002/180001
6 years, 11 months ago (2014-01-07 13:57:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/120063002/180001
6 years, 11 months ago (2014-01-07 15:26:46 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 16:11:05 UTC) #11
Message was sent while issue was closed.
Change committed as 164591

Powered by Google App Engine
This is Rietveld 408576698