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

Issue 312143003: This fixes bug with trying to get properties of non-object (symbol). (Closed)

Created:
6 years, 6 months ago by Alexandra Mikhaylova
Modified:
6 years, 6 months ago
Reviewers:
aandrey, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

This fixes bug with trying to get properties of non-object (symbol). BUG=376194 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175709

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review comments #

Total comments: 6

Patch Set 3 : Address comments #

Total comments: 10

Patch Set 4 : Address comments #

Patch Set 5 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -13 lines) Patch
M LayoutTests/inspector/console/console-dir.html View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/inspector/console/console-dir-es6.html View 1 3 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/inspector/console/console-dir-es6-expected.txt View 1 3 2 chunks +2 lines, -0 lines 0 comments Download
M LayoutTests/inspector/console/console-dir-expected.txt View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptExterns.js View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InjectedScriptSource.js View 1 2 3 4 10 chunks +23 lines, -12 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Alexandra Mikhaylova
6 years, 6 months ago (2014-06-04 12:31:58 UTC) #1
aandrey
test! https://codereview.chromium.org/312143003/diff/1/Source/core/inspector/InjectedScriptSource.js File Source/core/inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/312143003/diff/1/Source/core/inspector/InjectedScriptSource.js#newcode386 Source/core/inspector/InjectedScriptSource.js:386: if (!this._isDefined(object) || this._isSymbol(object)) typeof object !== "object" ...
6 years, 6 months ago (2014-06-04 13:03:51 UTC) #2
Alexandra Mikhaylova
Added a test as well. https://codereview.chromium.org/312143003/diff/1/Source/core/inspector/InjectedScriptSource.js File Source/core/inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/312143003/diff/1/Source/core/inspector/InjectedScriptSource.js#newcode386 Source/core/inspector/InjectedScriptSource.js:386: if (!this._isDefined(object) || this._isSymbol(object)) ...
6 years, 6 months ago (2014-06-04 14:08:37 UTC) #3
Alexandra Mikhaylova
+ yurys
6 years, 6 months ago (2014-06-04 14:09:12 UTC) #4
aandrey
https://codereview.chromium.org/312143003/diff/20001/Source/core/inspector/InjectedScriptSource.js File Source/core/inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/312143003/diff/20001/Source/core/inspector/InjectedScriptSource.js#newcode182 Source/core/inspector/InjectedScriptSource.js:182: /** @type {!Object.<number, Object>} */ @type {!Object.<number, (!Object|symbol)>} https://codereview.chromium.org/312143003/diff/20001/Source/core/inspector/InjectedScriptSource.js#newcode315 ...
6 years, 6 months ago (2014-06-04 15:39:07 UTC) #5
Alexandra Mikhaylova
https://codereview.chromium.org/312143003/diff/20001/Source/core/inspector/InjectedScriptSource.js File Source/core/inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/312143003/diff/20001/Source/core/inspector/InjectedScriptSource.js#newcode182 Source/core/inspector/InjectedScriptSource.js:182: /** @type {!Object.<number, Object>} */ On 2014/06/04 15:39:08, aandrey ...
6 years, 6 months ago (2014-06-05 13:27:43 UTC) #6
aandrey
looks good https://codereview.chromium.org/312143003/diff/40001/LayoutTests/inspector/console/console-dir-es6.html File LayoutTests/inspector/console/console-dir-es6.html (right): https://codereview.chromium.org/312143003/diff/40001/LayoutTests/inspector/console/console-dir-es6.html#newcode20 LayoutTests/inspector/console/console-dir-es6.html:20: console.dir(function() {}); this has nothing to do ...
6 years, 6 months ago (2014-06-05 15:13:23 UTC) #7
Alexandra Mikhaylova
https://codereview.chromium.org/312143003/diff/40001/LayoutTests/inspector/console/console-dir-es6.html File LayoutTests/inspector/console/console-dir-es6.html (right): https://codereview.chromium.org/312143003/diff/40001/LayoutTests/inspector/console/console-dir-es6.html#newcode20 LayoutTests/inspector/console/console-dir-es6.html:20: console.dir(function() {}); On 2014/06/05 15:13:23, aandrey wrote: > this ...
6 years, 6 months ago (2014-06-06 09:49:52 UTC) #8
aandrey
lgtm
6 years, 6 months ago (2014-06-06 10:01:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amikhaylova@google.com/312143003/60001
6 years, 6 months ago (2014-06-06 10:02:25 UTC) #10
yurys
lgtm
6 years, 6 months ago (2014-06-06 10:04:58 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-06 11:04:28 UTC) #12
aandrey
you'll need to rebase InjectedScriptSource.js
6 years, 6 months ago (2014-06-06 11:06:19 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 11:35:07 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/core/inspector/InjectedScriptSource.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-06 11:35:09 UTC) #15
Alexandra Mikhaylova
The CQ bit was checked by amikhaylova@google.com
6 years, 6 months ago (2014-06-06 11:59:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amikhaylova@google.com/312143003/80001
6 years, 6 months ago (2014-06-06 12:01:24 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-06 13:19:23 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 13:20:34 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/10591)
6 years, 6 months ago (2014-06-06 13:20:36 UTC) #20
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 6 months ago (2014-06-06 21:24:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amikhaylova@google.com/312143003/80001
6 years, 6 months ago (2014-06-06 21:24:47 UTC) #22
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 22:29:26 UTC) #23
Message was sent while issue was closed.
Change committed as 175709

Powered by Google App Engine
This is Rietveld 408576698