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

Issue 2868953002: Stop accepting string constructor of DOMMatrix on workers (Closed)

Created:
3 years, 7 months ago by fserb
Modified:
3 years, 7 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop accepting string constructor of DOMMatrix on workers This conforms to the spec: https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-dommatrixreadonly And ensures that we don't call SetMatrixValueFromString inside a worker BUG=703908 Review-Url: https://codereview.chromium.org/2868953002 Cr-Commit-Position: refs/heads/master@{#471182} Committed: https://chromium.googlesource.com/chromium/src/+/d72fe5c3a271ab3e63f2ca5c247b3e4e686e275b

Patch Set 1 #

Total comments: 10

Patch Set 2 : x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -7 lines) Patch
M third_party/WebKit/Source/core/geometry/DOMMatrix.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/geometry/DOMMatrix.cpp View 1 1 chunk +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/geometry/DOMMatrix.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp View 1 1 chunk +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.idl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
fserb
Just as a reminder, this is dependent on https://codereview.chromium.org/2859293002 that unifies the constructors. That CL ...
3 years, 7 months ago (2017-05-08 20:40:56 UTC) #2
Justin Novosad
Tests are missing. You should drop a test under WPT that tries to invoke the ...
3 years, 7 months ago (2017-05-09 15:28:19 UTC) #3
Justin Novosad
https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp File third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp#newcode108 third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp:108: "String constructor can't be used on workers."); This message ...
3 years, 7 months ago (2017-05-09 15:29:07 UTC) #4
fserb
simonp: Could you please take a look at: third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp:106 the spec says "If current global ...
3 years, 7 months ago (2017-05-09 18:47:46 UTC) #6
chrishtr
https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl File third_party/WebKit/Source/core/geometry/DOMMatrix.idl (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl#newcode11 third_party/WebKit/Source/core/geometry/DOMMatrix.idl:11: Exposed=(Window,Worker), Why not Exposed=Window and done?
3 years, 7 months ago (2017-05-11 15:03:50 UTC) #7
Justin Novosad
https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl File third_party/WebKit/Source/core/geometry/DOMMatrix.idl (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl#newcode11 third_party/WebKit/Source/core/geometry/DOMMatrix.idl:11: Exposed=(Window,Worker), On 2017/05/11 15:03:50, chrishtr wrote: > Why not ...
3 years, 7 months ago (2017-05-11 15:28:21 UTC) #8
chrishtr
https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl File third_party/WebKit/Source/core/geometry/DOMMatrix.idl (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl#newcode11 third_party/WebKit/Source/core/geometry/DOMMatrix.idl:11: Exposed=(Window,Worker), On 2017/05/11 at 15:28:21, Justin Novosad wrote: > ...
3 years, 7 months ago (2017-05-11 15:35:48 UTC) #9
Justin Novosad
https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl File third_party/WebKit/Source/core/geometry/DOMMatrix.idl (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.idl#newcode11 third_party/WebKit/Source/core/geometry/DOMMatrix.idl:11: Exposed=(Window,Worker), On 2017/05/11 15:35:48, chrishtr wrote: > On 2017/05/11 ...
3 years, 7 months ago (2017-05-11 16:04:41 UTC) #10
chrishtr
+foolip, any ideas on the issue of the best way to suppress for workers?
3 years, 7 months ago (2017-05-11 17:03:46 UTC) #12
fserb
On 2017/05/11 at 17:03:46, chrishtr wrote: > +foolip, any ideas on the issue of the ...
3 years, 7 months ago (2017-05-11 17:14:21 UTC) #13
foolip
On 2017/05/11 17:14:21, fserb wrote: > On 2017/05/11 at 17:03:46, chrishtr wrote: > > +foolip, ...
3 years, 7 months ago (2017-05-11 18:58:09 UTC) #14
foolip
https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp File third_party/WebKit/Source/core/geometry/DOMMatrix.cpp (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp#newcode18 third_party/WebKit/Source/core/geometry/DOMMatrix.cpp:18: if (execution_context->IsWorkerOrWorkletGlobalScope()) { To stay pedantically close to the ...
3 years, 7 months ago (2017-05-11 18:59:47 UTC) #15
fserb
Updated with better check and message. :) https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp File third_party/WebKit/Source/core/geometry/DOMMatrix.cpp (right): https://codereview.chromium.org/2868953002/diff/1/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp#newcode18 third_party/WebKit/Source/core/geometry/DOMMatrix.cpp:18: if (execution_context->IsWorkerOrWorkletGlobalScope()) ...
3 years, 7 months ago (2017-05-11 19:13:55 UTC) #16
Justin Novosad
lgtm
3 years, 7 months ago (2017-05-11 19:25:08 UTC) #17
chrishtr
lgtm
3 years, 7 months ago (2017-05-11 19:32:41 UTC) #18
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/2868953002/20001
3 years, 7 months ago (2017-05-11 19:39:50 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/442316)
3 years, 7 months ago (2017-05-11 21:53:01 UTC) #22
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/2868953002/20001
3 years, 7 months ago (2017-05-11 21:57:01 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 02:04:29 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d72fe5c3a271ab3e63f2ca5c247b...

Powered by Google App Engine
This is Rietveld 408576698