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

Issue 2805773002: Implement ownProperty() and inheritFrom() assertions in should() (Closed)

Created:
3 years, 8 months ago by hongchan
Modified:
3 years, 8 months ago
Reviewers:
Raymond Toy
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement ownProperty() and inheritFrom() assertions in should() This CL add two assertions that abstracts the checks for JavaScript traits. - should().ownProperty() - should().inheritFrom() BUG=702708 TEST=webaudio/unit-tests/audit.html Review-Url: https://codereview.chromium.org/2805773002 Cr-Commit-Position: refs/heads/master@{#462970} Committed: https://chromium.googlesource.com/chromium/src/+/b7faac578f403d2a6bb4a767578661079cbf5963

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add should().notOwnProperty() and fixed audio-scheduled-source-basic.html #

Total comments: 6

Patch Set 3 : Addressing feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -20 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html View 1 2 2 chunks +11 lines, -19 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/audit.js View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
hongchan
PTAL.
3 years, 8 months ago (2017-04-06 22:59:26 UTC) #2
Raymond Toy
Some nits. Possible also consider rewriting audio-scheduled-source-basic.html to use these new methods. resources/context-properties.js checks properties ...
3 years, 8 months ago (2017-04-06 23:13:14 UTC) #3
hongchan
I took a look at context-properties.js and it's already using getOwnPropertyNames() inside. Check the populated ...
3 years, 8 months ago (2017-04-07 15:55:37 UTC) #4
Raymond Toy
https://codereview.chromium.org/2805773002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2805773002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode979 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:979: ownProperty() { On 2017/04/07 15:55:36, hongchan wrote: > On ...
3 years, 8 months ago (2017-04-07 16:10:58 UTC) #5
hongchan
https://codereview.chromium.org/2805773002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2805773002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode979 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:979: ownProperty() { On 2017/04/07 16:10:58, Raymond Toy wrote: > ...
3 years, 8 months ago (2017-04-07 17:22:17 UTC) #6
Raymond Toy
lgtm
3 years, 8 months ago (2017-04-07 18:20:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2805773002/40001
3 years, 8 months ago (2017-04-07 18:34:47 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 19:49:01 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b7faac578f403d2a6bb4a7675786...

Powered by Google App Engine
This is Rietveld 408576698