Changeset 113719 in webkit
- Timestamp:
- Apr 10, 2012 8:35:37 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r113717 r113719 1 2012-04-10 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 3 [EFL] LayoutTestController needs implementation of addUserStyleSheet 4 https://bugs.webkit.org/show_bug.cgi?id=82446 5 6 Unskipping the following test cases: 7 userscripts/mixed-case-stylesheet.html 8 userscripts/user-style-all-frames.html 9 userscripts/simple-stylesheet.html 10 userscripts/script-run-at-end.html 11 12 Reviewed by Antonio Gomes. 13 14 * platform/efl/Skipped: 15 1 16 2012-04-10 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/LayoutTests/platform/efl/Skipped
r113704 r113719 633 633 634 634 # EFL's LayoutTestController does not implement addUserScript 635 userscripts 636 637 # EFL's LayoutTestController does not implement addUserStyleSheet 638 #userscripts 639 printing/page-rule-selection.html 635 userscripts/document-element-available-at-start.html 636 userscripts/script-not-run-for-fragments.html 637 userscripts/script-run-at-start.html 638 userscripts/user-script-all-frames.html 639 userscripts/user-script-audio-document.html 640 userscripts/user-script-image-document.html 641 userscripts/user-script-plugin-document.html 642 userscripts/user-script-top-frame-only.html 643 userscripts/user-script-video-document.html 644 userscripts/user-style-top-frame-only.html 645 userscripts/window-onerror-for-isolated-world-1.html 646 userscripts/window-onerror-for-isolated-world-2.html 640 647 641 648 # EFL's LayoutTestController does not implement setAsynchronousSpellCheckingEnabled -
trunk/Source/WebKit/efl/ChangeLog
r113293 r113719 1 2012-04-10 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 3 [EFL] LayoutTestController needs implementation of addUserStyleSheet 4 https://bugs.webkit.org/show_bug.cgi?id=82446 5 6 Add missing implementation addUserStyleSheet to EFL's 7 DumpRenderTreeSupport. 8 9 Reviewed by Antonio Gomes. 10 11 * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: 12 (DumpRenderTreeSupportEfl::addUserStyleSheet): 13 * WebCoreSupport/DumpRenderTreeSupportEfl.h: 14 1 15 2012-04-04 Raphael Kubo da Costa <rakuco@webkit.org> 2 16 -
trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp
r113198 r113719 38 38 #include <JSCSSStyleDeclaration.h> 39 39 #include <JSElement.h> 40 #include <PageGroup.h> 40 41 #include <PrintContext.h> 41 42 #include <RenderTreeAsText.h> … … 351 352 } 352 353 354 void DumpRenderTreeSupportEfl::addUserStyleSheet(const Evas_Object* ewkView, const char* sourceCode, bool allFrames) 355 { 356 WebCore::Page* page = EWKPrivate::corePage(ewkView); 357 if (!page) 358 return; 359 360 page->group().addUserStyleSheetToWorld(WebCore::mainThreadNormalWorld(), sourceCode, WebCore::KURL(), nullptr, nullptr, allFrames ? WebCore::InjectInAllFrames : WebCore::InjectInTopFrameOnly); 361 } 362 353 363 bool DumpRenderTreeSupportEfl::findString(const Evas_Object* ewkView, const char* text, WebCore::FindOptions options) 354 364 { -
trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h
r113198 r113719 69 69 static void setDefersLoading(Evas_Object* ewkView, bool defers); 70 70 71 static void addUserStyleSheet(const Evas_Object* ewkView, const char* sourceCode, bool allFrames); 71 72 static bool findString(const Evas_Object* ewkView, const char* text, WebCore::FindOptions); 72 73 static void setSmartInsertDeleteEnabled(Evas_Object* ewkView, bool enabled); -
trunk/Tools/ChangeLog
r113718 r113719 1 2012-04-10 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 3 [EFL] LayoutTestController needs implementation of addUserStyleSheet 4 https://bugs.webkit.org/show_bug.cgi?id=82446 5 6 Adding missing implementation addUserStyleSheet to EFL's LayoutTestController 7 so that we can unskip related tests from the skip list. 8 9 Reviewed by Antonio Gomes. 10 11 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp: 12 (LayoutTestController::addUserStyleSheet): Implemented. 13 1 14 2012-04-10 Philip Rogers <pdr@google.com> 2 15 -
trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp
r113198 r113719 656 656 } 657 657 658 void LayoutTestController::addUserStyleSheet(JSStringRef, bool) 659 { 660 // FIXME: needs more investigation why userscripts/user-style-top-frame-only.html fails when allFrames is false. 661 notImplemented(); 658 void LayoutTestController::addUserStyleSheet(JSStringRef source, bool allFrames) 659 { 660 DumpRenderTreeSupportEfl::addUserStyleSheet(browser->mainView(), source->ustring().utf8().data(), allFrames); 662 661 } 663 662
Note: See TracChangeset
for help on using the changeset viewer.