DescriptionCrOS - Fix file picker to route callbacks using TabContents
Previously, when the user clicked open/save/cancel in the CrOS file picker, it would route that callback data to the frontmost tab. Sometimes other tabs can switch to frontmost, however. Use set_associated_tab_contents() to inform the extension function implementions of the tab to which to route the callbacks. This also adds a test from tbarzic for the referenced bug.
BUG=chromium-os:18956
TEST=browser_tests FileManagerDialogTest.*, also verify you can open the file picker and open/save/cancel under normal conditions
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99327
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|