Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] BrowserFunction return value?

Does `SwtBrowser::evaluate` work?  If that works, then I think there will almost always be a workaround even if BrowserFunction doesn't fully work.

Ned Twigg
Lead Software Architect, DiffPlug LLC
540-336-8043 (cell)
888-513-6870 (fax)
340 S Lemon Ave #343
3, Walnut, CA 91789

On Wed, Mar 22, 2017 at 8:17 AM, Leo Ufimtsev <Leonidas@xxxxxxxxxx> wrote:
Hello,

I'm working on the webkit2 port on Gtk.

Browser has a "BrowserFunction", with which _javascript_ can call java. One of the features is also for Java to provide a return value back to _javascript_ after the call is finished.

Does anyone know of any use case, production code or location where the BrowserFunction is actually required to provide a meaningful return value from java back to _javascript_?

The reason I'm asking is that it's the only outstanding task for the webkit2 port 1*, but implementing it would require a pretty significant amount of time as one would have to deal with webkit2extensions.

Thank you

[1]
Bug 510905 - [GTK3][Webkit2] Implement webkit2 support for browser function (Part 2: Java return a value from callback.)

--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
Leonidas@xxxxxxxxxx | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top