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

Issue 17236004: Update AbstractWorker, Worker and SharedWorker to match the spec (Closed)

Created:
7 years, 6 months ago by do-not-use
Modified:
7 years, 6 months ago
CC:
blink-reviews, eae+blinkwatch, lgombos
Visibility:
Public.

Description

Update AbstractWorker, Worker and SharedWorker to match the spec Update AbstractWorker, Worker and SharedWorker to match the spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#abstractworker http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#worker http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#sharedworker Worker and SharedWorker no longer inherit from AbstractWorker. Web IDL 'implements' statements are used instead. Worker and SharedWorker can now inherit from EventTarget as per the specification. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152723

Patch Set 1 #

Total comments: 5

Patch Set 2 : Move back ActiveDOMObject to AbstractWorker.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -22 lines) Patch
M Source/core/workers/AbstractWorker.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/AbstractWorker.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/workers/AbstractWorker.idl View 1 chunk +3 lines, -12 lines 0 comments Download
M Source/core/workers/SharedWorker.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/SharedWorker.idl View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/workers/Worker.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/workers/Worker.idl View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
do-not-use
7 years, 6 months ago (2013-06-19 09:55:59 UTC) #1
haraken
https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h File Source/core/workers/AbstractWorker.h (left): https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h#oldcode49 Source/core/workers/AbstractWorker.h:49: class AbstractWorker : public RefCounted<AbstractWorker>, public ScriptWrappable, public ActiveDOMObject, ...
7 years, 6 months ago (2013-06-19 10:24:00 UTC) #2
do-not-use
https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h File Source/core/workers/AbstractWorker.h (left): https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h#oldcode49 Source/core/workers/AbstractWorker.h:49: class AbstractWorker : public RefCounted<AbstractWorker>, public ScriptWrappable, public ActiveDOMObject, ...
7 years, 6 months ago (2013-06-19 10:39:09 UTC) #3
haraken
Makes sense. LGTM.
7 years, 6 months ago (2013-06-19 10:44:05 UTC) #4
do-not-use
https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h File Source/core/workers/AbstractWorker.h (left): https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h#oldcode49 Source/core/workers/AbstractWorker.h:49: class AbstractWorker : public RefCounted<AbstractWorker>, public ScriptWrappable, public ActiveDOMObject, ...
7 years, 6 months ago (2013-06-19 10:52:08 UTC) #5
do-not-use
On 2013/06/19 10:52:08, Christophe Dumez wrote: > https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h > File Source/core/workers/AbstractWorker.h (left): > > https://codereview.chromium.org/17236004/diff/1/Source/core/workers/AbstractWorker.h#oldcode49 ...
7 years, 6 months ago (2013-06-19 12:36:29 UTC) #6
haraken
> Ok, I moved back ActiveDOMObject to AbstractWorker.h to minimize the changes. It > turns ...
7 years, 6 months ago (2013-06-19 13:00:38 UTC) #7
do-not-use
On 2013/06/19 13:00:38, haraken wrote: > > Ok, I moved back ActiveDOMObject to AbstractWorker.h to ...
7 years, 6 months ago (2013-06-19 13:05:20 UTC) #8
do-not-use
On 2013/06/19 13:05:20, Christophe Dumez wrote: > On 2013/06/19 13:00:38, haraken wrote: > > > ...
7 years, 6 months ago (2013-06-19 13:07:16 UTC) #9
haraken
Thanks for the clarification! Regarding ScriptWrappable, I understood. Regarding ActiveDOMObject, it's confusing that [ActiveDOMObject] is ...
7 years, 6 months ago (2013-06-19 13:15:36 UTC) #10
do-not-use
On 2013/06/19 13:15:36, haraken wrote: > Thanks for the clarification! > > Regarding ScriptWrappable, I ...
7 years, 6 months ago (2013-06-19 13:23:49 UTC) #11
arv (Not doing code reviews)
On 2013/06/19 13:15:36, haraken wrote: > Maybe we want to fix this behavior. If "A ...
7 years, 6 months ago (2013-06-19 13:25:28 UTC) #12
haraken
On 2013/06/19 13:25:28, arv wrote: > On 2013/06/19 13:15:36, haraken wrote: > > Maybe we ...
7 years, 6 months ago (2013-06-19 13:33:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/17236004/7001
7 years, 6 months ago (2013-06-19 13:51:39 UTC) #14
commit-bot: I haz the power
7 years, 6 months ago (2013-06-19 14:30:38 UTC) #15
Message was sent while issue was closed.
Change committed as 152723

Powered by Google App Engine
This is Rietveld 408576698