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

推荐订阅源

T
Tenable Blog
博客园_首页
Vercel News
Vercel News
WordPress大学
WordPress大学
美团技术团队
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Y
Y Combinator Blog
博客园 - 【当耐特】
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
腾讯CDC
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Recent Announcements
Recent Announcements
雷峰网
雷峰网
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
The Register - Security
The Register - Security
Jina AI
Jina AI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
P
Privacy & Cybersecurity Law Blog
Recorded Future
Recorded Future
Help Net Security
Help Net Security
N
News and Events Feed by Topic
博客园 - Franky
P
Proofpoint News Feed
L
LINUX DO - 热门话题
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
D
Docker
Google DeepMind News
Google DeepMind News
有赞技术团队
有赞技术团队
IT之家
IT之家
Security Latest
Security Latest
L
LangChain Blog
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
J
Java Code Geeks

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}}.