WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
25040
Make SecurityOrigin thread safe.
https://bugs.webkit.org/show_bug.cgi?id=25040
Summary
Make SecurityOrigin thread safe.
Jian Li
Reported
2009-04-03 15:32:22 PDT
We need to make SecurityOrigin thread safe, i.e., the way to initialize static values in SecurityOrigin and other classes it calls. Considering moving all statics into one place and use TLS. Currently we assume that main thread will initialize a document and thus create a SecurityOrigin before any other thread that uses WebKit is run.
Attachments
Add attachment
proposed patch, testcase, etc.
Darin Fisher (:fishd, Google)
Comment 1
2009-04-03 15:53:38 PDT
I don't think TLS is a good answer. What if someone modifies these tables lazily?
Alexey Proskuryakov
Comment 2
2009-04-04 02:21:27 PDT
Yes, I do not see how TLS would be relevant here. What we really need is to move SecurityOrigin checks out of XMLHttpRequest and into DocumentThreadableLoader.
Darin Fisher (:fishd, Google)
Comment 3
2009-06-13 22:31:45 PDT
> What we really need is to move SecurityOrigin checks out of XMLHttpRequest and > into DocumentThreadableLoader.
So that makes this bug WONTFIX right? The implication being that SecurityOrigin checks will then only run on the WebKit main thread.
Anne van Kesteren
Comment 4
2023-03-27 08:46:51 PDT
Resolving as WONTFIX per
comment 3
and due to general inactivity.
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