WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
134479
Fix build break on EFL and GTK ports since
r170611
and
r170614
https://bugs.webkit.org/show_bug.cgi?id=134479
Summary
Fix build break on EFL and GTK ports since r170611 and r170614
Gyuyoung Kim
Reported
2014-06-30 18:24:31 PDT
EFL and GTK port have been broken since
r170611
and
r170614
. Those commits were only for mac port.
Attachments
Patch
(5.94 KB, patch)
2014-06-30 18:27 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(6.54 KB, patch)
2014-06-30 18:38 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(11.91 KB, patch)
2014-06-30 20:01 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(19.07 KB, patch)
2014-06-30 21:46 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(19.76 KB, patch)
2014-06-30 23:01 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2
(523.22 KB, application/zip)
2014-07-01 00:10 PDT
,
Build Bot
no flags
Details
Patch
(15.91 KB, patch)
2014-07-01 00:43 PDT
,
Gyuyoung Kim
cgarcia
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2014-06-30 18:27:43 PDT
Created
attachment 234134
[details]
Patch
Gyuyoung Kim
Comment 2
2014-06-30 18:38:55 PDT
Created
attachment 234136
[details]
Patch
Anders Carlsson
Comment 3
2014-06-30 18:45:46 PDT
Comment on
attachment 234136
[details]
Patch I think a better solution would be to make encodeLegacySessionHistoryEntryData and decodeLegacySessionHistoryEntryData build for GTK and EFL as well, there's nothing mac specific about that code.
Gyuyoung Kim
Comment 4
2014-06-30 20:01:31 PDT
Created
attachment 234140
[details]
Patch
Gyuyoung Kim
Comment 5
2014-06-30 20:04:50 PDT
(In reply to
comment #3
)
> (From update of
attachment 234136
[details]
) > I think a better solution would be to make encodeLegacySessionHistoryEntryData and decodeLegacySessionHistoryEntryData build for GTK and EFL as well, there's nothing mac specific about that code.
Andersa, it looks there are two choices we can do. One is to share existing LegacySessionStateCoding.cpp for Mac, Gtk and EFL port. Other is each port has own LegacySessionStateCoding.cpp file. I think it would be good to have own file for each port because each port may has specific code in future. If not, plz let me know. And, I just add dummy functions to fix build break. I need to have time to implement those function for EFL port. If this patch can be landed, I'm going to start to implement those functions.
Gyuyoung Kim
Comment 6
2014-06-30 20:05:39 PDT
CC'ing KaL as well.
Gyuyoung Kim
Comment 7
2014-06-30 21:46:09 PDT
Created
attachment 234144
[details]
Patch
Gyuyoung Kim
Comment 8
2014-06-30 23:01:40 PDT
Created
attachment 234146
[details]
Patch
Carlos Garcia Campos
Comment 9
2014-07-01 00:00:11 PDT
Comment on
attachment 234146
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=234146&action=review
I wonder if we could add a single LegacySessionStateCodingNone.cpp, since this is mac legacy stuff, I guess EFL and GTK+ will not implement it in any case.
> Source/WebKit2/UIProcess/WebPageProxy.cpp:1858 > - if (sessionState.provisionalURL) { > + if (!sessionState.provisionalURL.isNull()) {
This looks unrelated to the build fix, I guess this bug was introduced in
r170627
, so I would file a different bug report for this.
Build Bot
Comment 10
2014-07-01 00:10:35 PDT
Comment on
attachment 234146
[details]
Patch
Attachment 234146
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4927838788517888
New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html
Build Bot
Comment 11
2014-07-01 00:10:42 PDT
Created
attachment 234148
[details]
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-16 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Gyuyoung Kim
Comment 12
2014-07-01 00:12:26 PDT
(In reply to
comment #9
)
> (From update of
attachment 234146
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=234146&action=review
> > I wonder if we could add a single LegacySessionStateCodingNone.cpp, since this is mac legacy stuff, I guess EFL and GTK+ will not implement it in any case.
ok, let me add it for EFL and GTK port.
> > Source/WebKit2/UIProcess/WebPageProxy.cpp:1858 > > - if (sessionState.provisionalURL) { > > + if (!sessionState.provisionalURL.isNull()) { > > This looks unrelated to the build fix, I guess this bug was introduced in
r170627
, so I would file a different bug report for this.
I agree.
Gyuyoung Kim
Comment 13
2014-07-01 00:23:30 PDT
(In reply to
comment #12
)
> (In reply to
comment #9
) > > (From update of
attachment 234146
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=234146&action=review
> > > > I wonder if we could add a single LegacySessionStateCodingNone.cpp, since this is mac legacy stuff, I guess EFL and GTK+ will not implement it in any case. > > ok, let me add it for EFL and GTK port.
I agree to add LegacySessionStateCodingNone.cpp though, I'm not sure if back/forward can work as before behavior. Because, rr170611 and
r170614
removed some existing backforward data. My first patch is to restore previous patch.
https://bugs.webkit.org/attachment.cgi?id=234134&action=review
Gyuyoung Kim
Comment 14
2014-07-01 00:43:34 PDT
Created
attachment 234149
[details]
Patch
Carlos Garcia Campos
Comment 15
2014-07-01 00:51:00 PDT
Is backforward data used for any other thing or only for session save/restore?
Gyuyoung Kim
Comment 16
2014-07-01 00:55:04 PDT
(In reply to
comment #15
)
> Is backforward data used for any other thing or only for session save/restore?
It seems it was only used for session save/restore.
Carlos Garcia Campos
Comment 17
2014-07-01 00:55:16 PDT
Comment on
attachment 234149
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=234149&action=review
Ok, let's try to fix the build asap. Thanks!
> Source/WebKit2/UIProcess/LegacySessionStateCodingNone.cpp:30 > +#include "NotImplemented.h"
This should be <WebCore/NotImplemented.h>
Gyuyoung Kim
Comment 18
2014-07-01 00:57:56 PDT
Committed
r170631
: <
http://trac.webkit.org/changeset/170631
>
Gyuyoung Kim
Comment 19
2014-07-01 00:59:17 PDT
(In reply to
comment #17
)
> (From update of
attachment 234149
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=234149&action=review
> > Ok, let's try to fix the build asap. Thanks! > > > Source/WebKit2/UIProcess/LegacySessionStateCodingNone.cpp:30 > > +#include "NotImplemented.h" > > This should be <WebCore/NotImplemented.h>
Ok, I fixed it. Could you take a look
Bug 134487
as well ?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug