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

Issue 1323043002: Define "opaque" FormData objects. (Closed)

Created:
5 years, 3 months ago by Mike West
Modified:
5 years, 3 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, blink-reviews-html_chromium.org, Inactive, dglazkov+blink, vivekg_samsung, vivekg
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Define "opaque" FormData objects. As defined at [1], opaque FormData objects block JavaScript access to 'get()', 'getAll()', 'has()', and iteration. The data is available internally for consumption in Fetch, but can't be directly accessed by JavaScript in a page's context. [1]: https://w3c.github.io/webappsec/specs/credentialmanagement/#opaque-formdata BUG=526995 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201559

Patch Set 1 #

Patch Set 2 : oops. #

Patch Set 3 : Make Philip happy. #

Patch Set 4 : Dropping makeOpaque again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -1 line) Patch
M Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/DOMFormData.h View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/html/DOMFormData.cpp View 1 2 5 chunks +18 lines, -0 lines 0 comments Download
A Source/core/html/DOMFormDataTest.cpp View 1 1 chunk +77 lines, -0 lines 0 comments Download
M Source/core/html/FormData.idl View 3 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
Mike West
Mind taking a look at this, Philip? -mike
5 years, 3 months ago (2015-09-01 09:41:44 UTC) #2
philipj_slow
Should there be some caller to makeOpaque() somewhere, and is this observable to scripts so ...
5 years, 3 months ago (2015-09-01 11:53:12 UTC) #3
Mike West
On 2015/09/01 at 11:53:12, philipj wrote: > Should there be some caller to makeOpaque() somewhere, ...
5 years, 3 months ago (2015-09-01 12:05:54 UTC) #4
philipj_slow
LGTM, I don't know if the web-exposed makeOpaque() is actually useful, but maybe for feature ...
5 years, 3 months ago (2015-09-01 12:36:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323043002/60001
5 years, 3 months ago (2015-09-01 13:06:58 UTC) #8
Mike West
On 2015/09/01 at 12:36:32, philipj wrote: > LGTM, I don't know if the web-exposed makeOpaque() ...
5 years, 3 months ago (2015-09-01 13:06:59 UTC) #9
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 16:06:00 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201559

Powered by Google App Engine
This is Rietveld 408576698