| Summary: | REGRESSION (Yosemite): WKView visibility notifications are messed up | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||||
| Component: | WebKit2 | Assignee: | Alexey Proskuryakov <ap> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | andersca, barraclough, buildbot, commit-queue, joepeck, rniwa, sam, simon.fraser | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Alexey Proskuryakov
2015-03-22 00:14:53 PDT
Created attachment 249191 [details]
proposed fix
We still need these despite having window occlusion notifications, because a simple -[NSWindow orderOut:nil] doesn't result in an occlusion notification.
Attachment 249191 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/WebView/WebViewData.mm:94: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/WebView/WebViewData.mm:96: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/API/mac/WKView.mm:315: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/API/mac/WKView.mm:317: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 249191 [details] proposed fix Attachment 249191 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6061185279459328 New failing tests: inspector-protocol/runtime/getProperties.html fast/dom/Window/new-window-opener.html Created attachment 249192 [details]
Archive of layout-test-results from ews101 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Comment on attachment 249191 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=249191&action=review > Source/WebKit2/UIProcess/API/mac/WKView.mm:294 > +- (id)initWithView:(WKView *)view; Nit: instancetype (here and in the other inits)? Created attachment 249220 [details]
proposed fix
The crashes were due to a pre-existing bug, where observers were not removed for views after calling -close.
Attachment 249220 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/WebView/WebViewData.mm:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/WebView/WebViewData.mm:100: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/API/mac/WKView.mm:315: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/API/mac/WKView.mm:317: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 249220 [details] proposed fix Clearing flags on attachment: 249220 Committed r181866: <http://trac.webkit.org/changeset/181866> All reviewed patches have been landed. Closing bug. |