<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [GTK] Allow to save and restore session"
   href="https://bugs.webkit.org/show_bug.cgi?id=115600#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [GTK] Allow to save and restore session"
   href="https://bugs.webkit.org/show_bug.cgi?id=115600">bug 115600</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=115600#c9">comment #9</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=115600#c8">comment #8</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=115600#c7">comment #7</a>)
&gt; &gt; &gt; Comment on <span class=""><a href="attachment.cgi?id=266798&amp;action=diff" name="attach_266798" title="Patch">attachment 266798</a> <a href="attachment.cgi?id=266798&amp;action=edit" title="Patch">[details]</a></span>
&gt; &gt; &gt; Patch
&gt; &gt; &gt; 
&gt; &gt; &gt; View in context:
&gt; &gt; &gt; <a href="https://bugs.webkit.org/attachment.cgi?id=266798&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=266798&amp;action=review</a>
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewSessionState.cpp:136
&gt; &gt; &gt; &gt; +    g_return_val_if_fail(state, nullptr);
&gt; &gt; &gt; &gt; +    IPC::ArgumentEncoder encoder;
&gt; &gt; &gt; &gt; +    encoder &lt;&lt; state-&gt;sessionState.backForwardListState;
&gt; &gt; &gt; &gt; +    encoder &lt;&lt; state-&gt;sessionState.renderTreeSize;
&gt; &gt; &gt; &gt; +    encoder &lt;&lt; state-&gt;sessionState.provisionalURL;
&gt; &gt; &gt; &gt; +    return g_bytes_new(encoder.buffer(), encoder.bufferSize());
&gt; &gt; &gt; 
&gt; &gt; &gt; NO.
&gt; &gt; &gt; 
&gt; &gt; &gt; Don't do this, we DON'T want to rely on the IPC encoding for this.
&gt; &gt; 
&gt; &gt; Ok, I simply didn't know it. What's the right way then? Should I use my own
&gt; &gt; encoding/decoding thing?
&gt; 
&gt; Yes. Preferably something that can be extended without breaking the format.
&gt; 
&gt; FWIW, the reason we don't want this is because it means we can't change the
&gt; IPC format without breaking compat. We did this on OS X in the past and it
&gt; caused us lots of pain.</span >

Ok, understood, thanks for the explanation. I'll rework it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>