Changeset 292904 in webkit
- Timestamp:
- Apr 15, 2022, 4:41:51 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/gtk/TestExpectations (modified) (2 diffs)
-
LayoutTests/platform/gtk/editing/execCommand/print-expected.png (modified) ( previous)
-
LayoutTests/platform/gtk/editing/execCommand/print-expected.txt (modified) (2 diffs)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/Shared/PrintInfo.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r292902 r292904 1 2022-04-14 Claudio Saavedra <csaavedra@igalia.com> 2 3 [GTK] Default initialize GTK-specific print info in WebKit::PrintInfo 4 https://bugs.webkit.org/show_bug.cgi?id=196542 5 6 Reviewed by Adrian Perez de Castro. 7 8 * LayoutTests/platform/gtk/TestExpectations: Remove now passing tests 9 * platform/gtk/editing/execCommand/print-expected.png: Update expectations 10 * platform/gtk/editing/execCommand/print-expected.txt: 11 1 12 2022-04-14 Antoine Quint <graouts@apple.com> 2 13 -
trunk/LayoutTests/platform/gtk/TestExpectations
r292495 r292904 174 174 webkit.org/b/218349 mathml/presentation/href-enter.html [ ImageOnlyFailure ] 175 175 webkit.org/b/218349 mathml/presentation/href-style.html [ ImageOnlyFailure ] 176 177 # Printing178 webkit.org/b/196542 printing/crash-while-formatting-subframe-for-printing.html [ Crash ]179 webkit.org/b/196542 printing/printing-events.html [ Crash ]180 176 181 177 # ResourceLoading … … 938 934 webkit.org/b/212232 editing/async-clipboard/clipboard-read-while-pasting.html [ Crash ] 939 935 940 webkit.org/b/225921 editing/execCommand/print.html [ Crash ]941 webkit.org/b/225921 fast/media/print-restores-previous-mediatype.html [ Crash ]942 webkit.org/b/225921 printing/print-close-crash.html [ Crash ]943 944 936 #//////////////////////////////////////////////////////////////////////////////////////// 945 937 # End of Crashing tests -
trunk/LayoutTests/platform/gtk/editing/execCommand/print-expected.txt
r221818 r292904 12 12 RenderText {#text} at (0,0) size 693x53 13 13 text run at (0,0) width 687: "\"The quick brown fox jumps over the lazy dog\" uses every letter in the" 14 text run at (68 7,0) width 6: " "14 text run at (686,0) width 7: " " 15 15 text run at (0,27) width 170: "english language." 16 16 RenderBlock (anonymous) at (14,92) size 756x216 … … 18 18 RenderText {#text} at (0,0) size 756x215 19 19 text run at (0,0) width 462: "Here's to the crazy ones, the misfits, the rebels, " 20 text run at (46 2,0) width 193: "the trouble makers, "21 text run at (65 5,0) width 92: "the round"22 text run at (74 7,0) width 6: " "20 text run at (461,0) width 194: "the trouble makers, " 21 text run at (654,0) width 93: "the round" 22 text run at (746,0) width 7: " " 23 23 text run at (0,27) width 243: "pegs in the square holes, " 24 text run at (243,27) width 3 50: "the ones who see things differently. "25 text run at (59 3,27) width 144: "There not fond"26 text run at (73 7,27) width 6: " "24 text run at (243,27) width 349: "the ones who see things differently. " 25 text run at (591,27) width 145: "There not fond" 26 text run at (735,27) width 7: " " 27 27 text run at (0,54) width 510: "of rules, and they have no respect for the status quo, " 28 28 text run at (510,54) width 190: "you can quote then," -
trunk/Source/WebKit/ChangeLog
r292903 r292904 1 2022-04-14 Claudio Saavedra <csaavedra@igalia.com> 2 3 [GTK] Default initialize GTK-specific print info in WebKit::PrintInfo 4 https://bugs.webkit.org/show_bug.cgi?id=196542 5 6 Reviewed by Adrian Perez de Castro. 7 8 printInfoFromWKPrintInfo() will not initialize GTK-specific bits, 9 leading to problems down the road with IPC encoders, so add default values. 10 11 * Shared/PrintInfo.h: 12 1 13 2022-04-15 Zan Dobersek <zdobersek@igalia.com> 2 14 -
trunk/Source/WebKit/Shared/PrintInfo.h
r272207 r292904 32 32 OBJC_CLASS NSPrintInfo; 33 33 #elif PLATFORM(GTK) 34 typedef struct _GtkPrintSettings GtkPrintSettings; 35 typedef struct _GtkPageSetup GtkPageSetup; 34 #include <gtk/gtk.h> 36 35 #include <wtf/glib/GRefPtr.h> 37 36 #else … … 70 69 71 70 #if PLATFORM(GTK) 72 GRefPtr<GtkPrintSettings> printSettings ;73 GRefPtr<GtkPageSetup> pageSetup ;71 GRefPtr<GtkPrintSettings> printSettings { adoptGRef(gtk_print_settings_new()) }; 72 GRefPtr<GtkPageSetup> pageSetup { adoptGRef(gtk_page_setup_new()) }; 74 73 PrintMode printMode { PrintModeAsync }; 75 74 #endif
Note:
See TracChangeset
for help on using the changeset viewer.