惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
人人都是产品经理
人人都是产品经理
C
Check Point Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 聂微东
Help Net Security
Help Net Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
博客园 - Franky
阮一峰的网络日志
阮一峰的网络日志
O
OpenAI News
V2EX - 技术
V2EX - 技术
H
Hacker News: Front Page
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
PCI Perspectives
PCI Perspectives
爱范儿
爱范儿
Hacker News - Newest:
Hacker News - Newest: "LLM"
Martin Fowler
Martin Fowler
S
Schneier on Security
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
云风的 BLOG
云风的 BLOG
H
Help Net Security
I
InfoQ
Simon Willison's Weblog
Simon Willison's Weblog
雷峰网
雷峰网
J
Java Code Geeks
V
Visual Studio Blog
MyScale Blog
MyScale Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
Google Online Security Blog
Google Online Security Blog
Spread Privacy
Spread Privacy
有赞技术团队
有赞技术团队
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
www.infosecurity-magazine.com
www.infosecurity-magazine.com
A
About on SuperTechFans
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
TaoSecurity Blog
TaoSecurity Blog
WordPress大学
WordPress大学
S
Securelist
P
Proofpoint News Feed

Recent Commits to xhr:main

Overwrite the charset parameter for URLSearchParams objects · whatwg/xhr@d375b28 Editorial: modernize prose · whatwg/xhr@fe6c5fe Meta: update repository files · whatwg/xhr@0822635 Reset request body when open() is called · whatwg/xhr@38e3f59 Review Draft Publication: August 2025 · whatwg/xhr@84b66b3 Meta: link Korean translation · whatwg/xhr@a170690 Meta: link Simplified Chinese translation · whatwg/xhr@f284317 Allow doubles for ProgressEvent's loaded and total · whatwg/xhr@4a6401c Editorial: fix Bikeshed linking errors · whatwg/xhr@150a3b8 Meta: update link for fragment serialization algorithm · whatwg/xhr@f2f0397 Meta: adjust dfn-for of events on XMLHttpRequestEventTarget · whatwg/xhr@fd438ec Review Draft Publication: February 2024 · whatwg/xhr@fdd619d Meta: update repository files · whatwg/xhr@813e308 Meta: update repository files · whatwg/xhr@a2c40a0 Editorial: use HTML's encoding-parse a URL · whatwg/xhr@a5597b9 Review Draft Publication: February 2023 · whatwg/xhr@1cccb46 Align with Fetch's forbidden request-header refactor · whatwg/xhr@494431a Meta: my employer changed · whatwg/xhr@545cdd5 Meta: update repository files · whatwg/xhr@112c3bb
Add optional submitter argument to FormData constructor · whatwg/xhr@1c2d7f2
jenseng · 2023-01-27 · via Recent Commits to xhr:main

@@ -9,6 +9,11 @@ Translation: ja https://triple-underscore.github.io/XHR-ja.html

99

Translate IDs: enumdef-xmlhttprequestresponsetype xmlhttprequestresponsetype,dictdef-progresseventinit progresseventinit,typedefdef-formdataentryvalue formdataentryvalue

1010

</pre>

111112+

<!-- Temporary: https://github.com/w3c/webdriver-bidi/issues/358 -->

13+

<pre class=link-defaults>

14+

spec:webdriver-bidi; type:dfn; text:event

15+

</pre>

16+1217

<pre class=anchors>

1318

urlPrefix: https://w3c.github.io/DOM-Parsing/; spec: dom-parsing

1419

type: dfn; text: fragment serializing algorithm; url: dfn-fragment-serializing-algorithm

@@ -1609,7 +1614,7 @@ typedef (File or USVString) FormDataEntryValue;

1609161416101615

[Exposed=(Window,Worker)]

16111616

interface FormData {

1612-

constructor(optional HTMLFormElement form);

1617+

constructor(optional HTMLFormElement form, optional HTMLElement? submitter = null);

1613161816141619

undefined append(USVString name, USVString value);

16151620

undefined append(USVString name, Blob blobValue, optional USVString filename);

@@ -1635,16 +1640,27 @@ interface FormData {

16351640

moved to the HTML Standard. [[HTML]]

1636164116371642

<p>The

1638-

<dfn id=dom-formdata constructor for=FormData lt="FormData(form)"><code>new FormData(<var>form</var>)</code></dfn>

1643+

<dfn id=dom-formdata constructor for=FormData lt="FormData(form)"><code>new FormData(<var>form</var>, <var>submitter</var>)</code></dfn>

16391644

constructor steps are:

1640164516411646

<ol>

16421647

<li>

16431648

<p>If <var>form</var> is given, then:

1644164916451650

<ol>

1651+

<li>

1652+

<p>If <var>submitter</var> is non-null, then:

1653+1654+

<ol>

1655+

<li><p>If <var>submitter</var> is not a <a>submit button</a>, then <a>throw</a> a

1656+

{{TypeError}}.

1657+1658+

<li><p>If <var>submitter</var>'s <a>form owner</a> is not <var>form</var>, then <a>throw</a> a

1659+

"{{NotFoundError!!exception}}" {{DOMException}}.

1660+

</ol>

1661+16461662

<li><p>Let <var>list</var> be the result of <a>constructing the entry list</a> for

1647-

<var>form</var>.

1663+

<var>form</var> and <var>submitter</var>.

1648166416491665

<li><p>If <var>list</var> is null, then <a>throw</a> an "{{InvalidStateError!!exception}}"

16501666

{{DOMException}}.