Description<browser>: Always read <browser>.src attribute from <object>.src.
If we navigate to 'http://www.google.com', then navigate to '' (empty src), reading <browser>.src would now give us (expected) 'http://www.google.com' since we ignore setting empty src attribute in browser_plugin.cc.
BUG=149001
TEST=In web inspector, setting src on <browser> element and reading it.
Added platform app test for verifying the change.
Ran content_browsertests for BrowserPluginTest* and BrowserPluginHostTest*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162011
Patch Set 1 #Patch Set 2 : Actual patch + fix renderer BrowserPlugin + test. #Patch Set 3 : Rename dir. #
Total comments: 4
Patch Set 4 : Address comments from fsamuel@ #
Total comments: 2
Patch Set 5 : Ignore empty src_ altogether for SetSrcAttribute. #
Total comments: 2
Patch Set 6 : Adding comment that empty src would never be shipped to browser process. #
Total comments: 7
Patch Set 7 : Address comments from creis@ #Messages
Total messages: 17 (0 generated)
|