Bug 82774

Summary: Cache origin check result to RuleData
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: kling, macpherson, menard, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 77745    
Attachments:
Description Flags
patch
none
null check style selector kling: review+

Antti Koivisto
Reported 2012-03-30 13:20:40 PDT
You wan't be able to get back to the stylesheet from a css style rule soon. We need to do the origin check when we know the sheet it came from.
Attachments
patch (12.71 KB, patch)
2012-03-30 13:25 PDT, Antti Koivisto
no flags
null check style selector (12.72 KB, patch)
2012-03-30 14:06 PDT, Antti Koivisto
kling: review+
Antti Koivisto
Comment 1 2012-03-30 13:25:42 PDT
Andreas Kling
Comment 2 2012-03-30 13:33:34 PDT
Comment on attachment 134869 [details] patch r=me with s/hadDocumentSecurityOrigin/hasDocumentSecurityOrigin/ Let's wait for EWS to report in though.
Antti Koivisto
Comment 3 2012-03-30 14:06:14 PDT
Created attachment 134878 [details] null check style selector Style selector is null when processing UA stylesheets. Those are never from the same origin as the document.
Antti Koivisto
Comment 4 2012-03-30 14:24:45 PDT
Note You need to log in before you can comment on or make changes to this bug.