WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 154351
Modern IDB: Encoder/Decoder/Messaging scaffolding for WK2 IPC
https://bugs.webkit.org/show_bug.cgi?id=154351
Summary
Modern IDB: Encoder/Decoder/Messaging scaffolding for WK2 IPC
Brady Eidson
Reported
2016-02-17 12:23:23 PST
Modern IDB: Encoder/Decoder/Messaging scaffolding
Attachments
Patch v1
(20.76 KB, patch)
2016-02-17 12:26 PST
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2016-02-17 12:26:01 PST
Created
attachment 271578
[details]
Patch v1
Alex Christensen
Comment 2
2016-02-17 12:38:23 PST
Comment on
attachment 271578
[details]
Patch v1 View in context:
https://bugs.webkit.org/attachment.cgi?id=271578&action=review
> Source/WebCore/Modules/indexeddb/shared/IDBRequestData.h:143 > + request.m_requestIdentifier = std::make_unique<IDBResourceIdentifier>(identifier);
There ought to be a better way to do this without requiring the use of the copy constructor.
Brady Eidson
Comment 3
2016-02-17 12:39:37 PST
(In reply to
comment #2
)
> Comment on
attachment 271578
[details]
> Patch v1 > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=271578&action=review
> > > Source/WebCore/Modules/indexeddb/shared/IDBRequestData.h:143 > > + request.m_requestIdentifier = std::make_unique<IDBResourceIdentifier>(identifier); > > There ought to be a better way to do this without requiring the use of the > copy constructor.
As discussed in person, but here for the record: YES PLEASE... MessageEncoder and MessageDecoder should have built-in ways for encoding/decoding "optionally null objects on the heap"
Brady Eidson
Comment 4
2016-02-17 12:39:56 PST
(In reply to
comment #3
)
> (In reply to
comment #2
) > > Comment on
attachment 271578
[details]
> > Patch v1 > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=271578&action=review
> > > > > Source/WebCore/Modules/indexeddb/shared/IDBRequestData.h:143 > > > + request.m_requestIdentifier = std::make_unique<IDBResourceIdentifier>(identifier); > > > > There ought to be a better way to do this without requiring the use of the > > copy constructor. > > As discussed in person, but here for the record: YES PLEASE... > MessageEncoder and MessageDecoder should have built-in ways for > encoding/decoding "optionally null objects on the heap"
But, outside the scope of this patch to add that.
WebKit Commit Bot
Comment 5
2016-02-17 12:42:53 PST
Comment on
attachment 271578
[details]
Patch v1 Clearing flags on attachment: 271578 Committed
r196715
: <
http://trac.webkit.org/changeset/196715
>
WebKit Commit Bot
Comment 6
2016-02-17 12:42:57 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug