Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Issue 7264014: Gmail mails get modified upon send due to certain extensions (Closed)

Created:
9 years, 6 months ago by abarth-chromium
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Gmail mails get modified upon send due to certain extensions Recently, we changed most code to use the Document URL instead of the DataSource URL to decide how to treat frames. Generally, the Document URL is the "one true URL" for the document. However, this change broke some extensions that were not expecting their content scripts to be injected into some iframes, such as the compose iframe used by Gmail. Gmail creates the iframe with a URL of about:blank but then document.write()s into the iframe, changing the URL of the document. This patch restores the old behavior for the user script slave to maintain compatibility with these extensions. BUG=86742 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91180

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Messages

Total messages: 12 (0 generated)
abarth-chromium
@mihaip: Feel free to bounce this review to someone else if they'd be more appropriate.
9 years, 6 months ago (2011-06-26 20:33:26 UTC) #1
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7264014/diff/1/chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/test.html File chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/test.html (right): http://codereview.chromium.org/7264014/diff/1/chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/test.html#newcode2 chrome/test/data/extensions/api_test/content_scripts/about_blank_iframes/test.html:2: chrome.test.runTests([ It seems like this test could be flaky, ...
9 years, 6 months ago (2011-06-28 00:38:23 UTC) #2
abarth-chromium
Ok. I used another test as a template (something else in this same folder). Perhaps ...
9 years, 6 months ago (2011-06-28 00:45:32 UTC) #3
Mihai Parparita -not on Chrome
On Mon, Jun 27, 2011 at 5:45 PM, <abarth@chromium.org> wrote: > Ok. I used another ...
9 years, 6 months ago (2011-06-28 00:55:11 UTC) #4
abarth-chromium
On Mon, Jun 27, 2011 at 5:55 PM, Mihai Parparita <mihaip@chromium.org> wrote: > On Mon, ...
9 years, 6 months ago (2011-06-28 01:03:11 UTC) #5
abarth-chromium
> Out of curiosity, which test was it? extensions/api_test/content_scripts/all_frames /me is trying the re-organization now.
9 years, 5 months ago (2011-06-30 07:45:55 UTC) #6
abarth-chromium
Test fixenated. Please take another look. Thanks!
9 years, 5 months ago (2011-06-30 08:45:14 UTC) #7
Mihai Parparita -not on Chrome
LGTM
9 years, 5 months ago (2011-06-30 18:37:08 UTC) #8
abarth-chromium
On 2011/06/30 18:37:08, Mihai Parparita wrote: > LGTM Thanks!
9 years, 5 months ago (2011-06-30 18:41:47 UTC) #9
commit-bot: I haz the power
Presubmit check for 7264014-8002 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 5 months ago (2011-06-30 18:41:55 UTC) #10
abarth-chromium
It's very important that we copyright that script. Please hold.
9 years, 5 months ago (2011-06-30 18:43:16 UTC) #11
commit-bot: I haz the power
9 years, 5 months ago (2011-06-30 19:50:08 UTC) #12
Change committed as 91180

Powered by Google App Engine
This is Rietveld 408576698