RESOLVED FIXED 82446
[EFL] LayoutTestController needs implementation of addUserStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=82446
Summary [EFL] LayoutTestController needs implementation of addUserStyleSheet
Sudarsana Nagineni (babu)
Reported 2012-03-28 03:39:41 PDT
LayoutTestController needs implementation of addUserStyleSheet in order to unskip the following tests. userscripts/mixed-case-stylesheet.html userscripts/user-style-all-frames.html userscripts/simple-stylesheet.html userscripts/script-run-at-end.html
Attachments
Patch (6.42 KB, patch)
2012-03-28 04:00 PDT, Sudarsana Nagineni (babu)
no flags
Patch (6.43 KB, patch)
2012-03-29 00:04 PDT, Sudarsana Nagineni (babu)
no flags
Sudarsana Nagineni (babu)
Comment 1 2012-03-28 04:00:13 PDT
Created attachment 134259 [details] Patch Add addUserStyleSheet implementation
Gyuyoung Kim
Comment 2 2012-03-28 04:34:34 PDT
Comment on attachment 134259 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134259&action=review > Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h:68 > + static void addUserStyleSheet(Evas_Object* ewkView, const char* sourceCode, bool allFrames); In my humble opinion, it is better to add const keyword in front of Evas_Object. Because EWKPrivate::corePage is defined as below, http://trac.webkit.org/browser/trunk/Source/WebKit/efl/ewk/ewk_private.h#L95 In addition, you just use page object without ewkView's change. It seems you can add const keyword.
Sudarsana Nagineni (babu)
Comment 3 2012-03-28 23:56:28 PDT
(In reply to comment #2) > In my humble opinion, it is better to add const keyword in front of Evas_Object. Because EWKPrivate::corePage is defined as below, > http://trac.webkit.org/browser/trunk/Source/WebKit/efl/ewk/ewk_private.h#L95 > > In addition, you just use page object without ewkView's change. It seems you can add const keyword. Okay, thanks for your review!
Sudarsana Nagineni (babu)
Comment 4 2012-03-29 00:04:06 PDT
Created attachment 134511 [details] Patch fix review comment #2
Raphael Kubo da Costa (:rakuco)
Comment 5 2012-04-01 14:36:49 PDT
Comment on attachment 134511 [details] Patch Looks good to me.
WebKit Review Bot
Comment 6 2012-04-10 08:35:52 PDT
Comment on attachment 134511 [details] Patch Clearing flags on attachment: 134511 Committed r113719: <http://trac.webkit.org/changeset/113719>
WebKit Review Bot
Comment 7 2012-04-10 08:35:59 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.