Bug 87613

Summary: [EFL][DRT] Need screen size without gui
Product: WebKit Reporter: Kangil Han <kangil.han>
Component: WebKit EFLAssignee: Kangil Han <kangil.han>
Status: RESOLVED LATER    
Severity: Normal CC: gyuyoung.kim, gyuyoung.kim, lucas.de.marchi, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Patch none

Kangil Han
Reported 2012-05-27 20:52:32 PDT
Currently EFL DRT has no screen size since it has no gui component. Therefore, this patch added it in such circumstance.
Attachments
Patch (2.84 KB, patch)
2012-05-27 21:05 PDT, Kangil Han
no flags
Kangil Han
Comment 1 2012-05-27 21:05:37 PDT
Gyuyoung Kim
Comment 2 2012-05-29 02:36:42 PDT
Comment on attachment 144261 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=144261&action=review > Source/WebCore/ChangeLog:9 > + Therefore, this patch supplemented such circumstance. I don't like this patch. I think this is correct to return 0 (or negative value) when screenRect() can't retrieve screen size. In order to pass a test case, we can't returns geometry size. If you wanna pass the test case, I think you have to modify LTC side to get screen rectangle.
Kangil Han
Comment 3 2012-05-29 04:07:57 PDT
(In reply to comment #2) > (From update of attachment 144261 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=144261&action=review > > > Source/WebCore/ChangeLog:9 > > + Therefore, this patch supplemented such circumstance. > > I don't like this patch. I think this is correct to return 0 (or negative value) when screenRect() can't retrieve screen size. In order to pass a test case, we can't returns geometry size. If you wanna pass the test case, I think you have to modify LTC side to get screen rectangle. We can decide policy about this case since screen object has no public standard. But, we can't modify LTC side because other ports use it also. If you want to decide this case as 'won't fix', then I will follow and modify test_expections.txt file.
Gyuyoung Kim
Comment 4 2012-05-29 22:49:40 PDT
(In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 144261 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=144261&action=review > > > > > Source/WebCore/ChangeLog:9 > > > + Therefore, this patch supplemented such circumstance. > > > > I don't like this patch. I think this is correct to return 0 (or negative value) when screenRect() can't retrieve screen size. In order to pass a test case, we can't returns geometry size. If you wanna pass the test case, I think you have to modify LTC side to get screen rectangle. > > We can decide policy about this case since screen object has no public standard. > But, we can't modify LTC side because other ports use it also. > If you want to decide this case as 'won't fix', then I will follow and modify test_expections.txt file. I think we can find proper solution for this bug. I would like to move this test case to test_expections.txt until finding it.
Note You need to log in before you can comment on or make changes to this bug.