Bug 145627

Summary: [Cocoa] Expose interruptedForPolicyChangeError
Product: WebKit Reporter: mitz
Component: WebKit APIAssignee: mitz
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add _WKErrorCodeFrameLoadInterruptedByPolicyChange andersca: review+

mitz
Reported 2015-06-03 18:20:30 PDT
[Cocoa] Expose interruptedForPolicyChangeError
Attachments
Add _WKErrorCodeFrameLoadInterruptedByPolicyChange (1.30 KB, patch)
2015-06-03 18:21 PDT, mitz
andersca: review+
mitz
Comment 1 2015-06-03 18:21:27 PDT
Created attachment 254228 [details] Add _WKErrorCodeFrameLoadInterruptedByPolicyChange
Anders Carlsson
Comment 2 2015-06-03 18:22:16 PDT
Comment on attachment 254228 [details] Add _WKErrorCodeFrameLoadInterruptedByPolicyChange View in context: https://bugs.webkit.org/attachment.cgi?id=254228&action=review > Source/WebKit2/ChangeLog:9 > + kWKErrorCodeFrameLoadInterruptedByPolicyChange. Can we static_assert that they are equal somewhere?
mitz
Comment 3 2015-06-04 12:39:49 PDT
Fixed in <http://trac.webkit.org/r185212>. (In reply to comment #2) > Comment on attachment 254228 [details] > Add _WKErrorCodeFrameLoadInterruptedByPolicyChange > > View in context: > https://bugs.webkit.org/attachment.cgi?id=254228&action=review > > > Source/WebKit2/ChangeLog:9 > > + kWKErrorCodeFrameLoadInterruptedByPolicyChange. > > Can we static_assert that they are equal somewhere? I don’t know where we could do that. In the slightly longer term, we should change how we make errors so that we don’t make legacy errors when the modern API is used.
Note You need to log in before you can comment on or make changes to this bug.