WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
156826
Modern IDB (Workers): Remove IDBRequest/IDBOpenDBRequest's requirement to get an IDBServerConnection around
https://bugs.webkit.org/show_bug.cgi?id=156826
Summary
Modern IDB (Workers): Remove IDBRequest/IDBOpenDBRequest's requirement to get...
Brady Eidson
Reported
2016-04-20 17:13:56 PDT
Modern IDB (Workers): Remove IDBRequest/IDBOpenDBRequest's requirement to get an IDBServerConnection around This shuffles around how the Connection is accessed and adds some "main thread only" ASSERTs. This is the first in a series of baby steps removing this dependency from all IDBFoo* objects
Attachments
Patch v1
(20.14 KB, patch)
2016-04-20 17:20 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2016-04-20 17:20:19 PDT
Created
attachment 276874
[details]
Patch v1
Alex Christensen
Comment 2
2016-04-20 21:04:49 PDT
Comment on
attachment 276874
[details]
Patch v1 r=me. Do we really need to put "maybe" before the names of all these functions? Doesn't just the fact that they return a RefPtr instead of a Ref imply that they could return nullptr?
Brady Eidson
Comment 3
2016-04-20 21:36:51 PDT
(In reply to
comment #2
)
> Comment on
attachment 276874
[details]
> Patch v1 > > r=me. > Do we really need to put "maybe" before the names of all these functions? > Doesn't just the fact that they return a RefPtr instead of a Ref imply that > they could return nullptr?
Back in the days before Ref<>, "maybe" denoted "known to possibly fail" I think it's still common enough that it's worth doing. But, don't worry - the maybe's will go away and revert back to normal "create" once this code push is done!
WebKit Commit Bot
Comment 4
2016-04-20 21:41:59 PDT
Comment on
attachment 276874
[details]
Patch v1 Clearing flags on attachment: 276874 Committed
r199804
: <
http://trac.webkit.org/changeset/199804
>
WebKit Commit Bot
Comment 5
2016-04-20 21:42:03 PDT
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