Bug 146815

Summary: SafariViewController loads partial webpage or entirely blank webpage
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 160255    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Anders Carlsson 2015-07-09 15:31:00 PDT
SafariViewController loads partial webpage or entirely blank webpage
Comment 1 Anders Carlsson 2015-07-09 15:35:27 PDT
Created attachment 256531 [details]
Patch
Comment 2 WebKit Commit Bot 2015-07-09 15:37:30 PDT
Attachment 256531 [details] did not pass style-queue:


ERROR: Source/WebKit2/UIProcess/ApplicationStateTracker.mm:113:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Source/WebKit2/UIProcess/ApplicationStateTracker.mm:117:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Source/WebKit2/UIProcess/ApplicationStateTracker.mm:145:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Source/WebKit2/UIProcess/ApplicationStateTracker.mm:149:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Total errors found: 4 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2015-07-09 16:27:12 PDT
Comment on attachment 256531 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=256531&action=review

r=mitz.

> Source/WebKit2/UIProcess/ApplicationStateTracker.mm:136
> +            break;

ASSERT, instead
Comment 4 Anders Carlsson 2015-07-09 16:33:20 PDT
Committed r186648: <http://trac.webkit.org/changeset/186648>
Comment 5 Chris Dumez 2016-07-27 08:56:23 PDT
Comment on attachment 256531 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=256531&action=review

> Source/WebKit2/UIProcess/ApplicationStateTracker.mm:141
> +        auto applicationStateMonitor = adoptNS([[BKSApplicationStateMonitor alloc] init]);

Should this be m_applicationStateMonitor instead of "auto applicationStateMonitor" ? applicationStateMonitor seems unused, however you are using m_applicationStateMonitor below.
Comment 6 Chris Dumez 2016-07-27 09:03:21 PDT
(In reply to comment #5)
> Comment on attachment 256531 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=256531&action=review
> 
> > Source/WebKit2/UIProcess/ApplicationStateTracker.mm:141
> > +        auto applicationStateMonitor = adoptNS([[BKSApplicationStateMonitor alloc] init]);
> 
> Should this be m_applicationStateMonitor instead of "auto
> applicationStateMonitor" ? applicationStateMonitor seems unused, however you
> are using m_applicationStateMonitor below.

Filed https://bugs.webkit.org/show_bug.cgi?id=160255.