Bug 518100 - Method to obtain current URL from WebBrowserEditor
Summary: Method to obtain current URL from WebBrowserEditor
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, helpwanted, investigate
Depends on:
Blocks:
 
Reported: 2017-06-11 11:34 EDT by Kentarou Fukuda CLA
Modified: 2018-07-22 11:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kentarou Fukuda CLA 2017-06-11 11:34:14 EDT
To evaluate an accessibility of Web page that opened in WebBrowserEditor, we would like to obtain current URL from WebBrowserEditor. However, it seems that there is no public API that can access to current URL from WebBrowserEditor.

By using internal class, we can get URL from WebBrowserEditorInput. Unfortunately, however, WebBrowserEditorInput keeps initial URL that was used to open WebBrowserEditor. So, even by using internal class, we can't get the URL that currently opened in WebBrowserEditor after users' navigation by using address bar of WebBrowserEditor.

Would you please add some public API to obtain current URL from WebBrowserEditor, or would you please let us know a way to get it by existing APIs?

Thanks.
Comment 1 Lars Vogel CLA 2018-07-04 16:47:59 EDT
Gerrit patch welcome. I would also like to see this API used, e.g., by adding an entry to the context menu ("Copy URL to clipboard"). Currently the context menu shows: Back, Forward, Stop, Reload.

Kentarou, can you provide a Gerrit?