Changeset 263609 in webkit


Ignore:
Timestamp:
Jun 26, 2020 9:20:55 PM (4 years ago)
Author:
ggaren@apple.com
Message:

WebSecurityOrigin needs to initialize the main thread
https://bugs.webkit.org/show_bug.cgi?id=213675

Reviewed by Tim Horton.

Safari uses WebSecurityOrigin stand-alone in unit tests.

(And any client can use WebSecurityOrigin without first using other
WebKit data types.)

  • WebCoreSupport/WebSecurityOrigin.mm:

(-[WebSecurityOrigin initWithURL:]):

Location:
trunk/Source/WebKitLegacy/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r263575 r263609  
     12020-06-26  Geoffrey Garen  <ggaren@apple.com>
     2
     3        WebSecurityOrigin needs to initialize the main thread
     4        https://bugs.webkit.org/show_bug.cgi?id=213675
     5
     6        Reviewed by Tim Horton.
     7
     8        Safari uses WebSecurityOrigin stand-alone in unit tests.
     9
     10        (And any client can use WebSecurityOrigin without first using other
     11        WebKit data types.)
     12
     13        * WebCoreSupport/WebSecurityOrigin.mm:
     14        (-[WebSecurityOrigin initWithURL:]):
     15
    1162020-06-26  Geoffrey Garen  <ggaren@apple.com>
    217
  • trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebSecurityOrigin.mm

    r239461 r263609  
    4343+ (id)webSecurityOriginFromDatabaseIdentifier:(NSString *)databaseIdentifier
    4444{
     45    WTF::initializeMainThread();
     46
    4547    auto origin = SecurityOriginData::fromDatabaseIdentifier(databaseIdentifier);
    4648    if (!origin)
     
    5254- (id)initWithURL:(NSURL *)url
    5355{
     56    WTF::initializeMainThread();
     57
    5458    self = [super init];
    5559    if (!self)
Note: See TracChangeset for help on using the changeset viewer.