Skip to content

rename files to use a .tentative.html convention since they correspond with a proposed HTML feature - #2

Merged
scottjehl merged 1 commit into
video-loading-attrfrom
scottjehl/tentative-rename
Jan 8, 2026
Merged

scottjehl merged 1 commit into
video-loading-attrfrom
scottjehl/tentative-rename

Conversation

@scottjehl

Copy link
Copy Markdown
Member

No description provided.

@scottjehl scottjehl self-assigned this Jan 8, 2026
@CLAassistant

CLAassistant commented Jan 8, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@zachlysobey

Copy link
Copy Markdown

LGTM

@scottjehl
scottjehl merged commit bb70f86 into video-loading-attr Jan 8, 2026
1 of 2 checks passed
scottjehl pushed a commit that referenced this pull request Mar 10, 2026
Make reporting of sourceFile, lineNumber, column more consistent

Changes the test so that it checks for nulls.

Added test (#2) that has script running and therefore should have source
information.

/content-security-policy/reporting-api/report-to-directive-allowed-in-meta.https.sub.html
also had the same problem, of expecting source code information with no
running javascript. Checks for null instead.

See https://w3c.github.io/webappsec-csp/#create-violation-for-global

Differential Revision: https://phabricator.services.mozilla.com/D278839

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1909705
gecko-commit: cdb2d306e3f6e3c8e23075b67592682a91e8fcdb
gecko-reviewers: dom-core, smaug
scottjehl pushed a commit that referenced this pull request Mar 23, 2026
…s#58514)

To "prepare the script element" [1] exits early when the element is disconnected.
In this test, the script element represented by frag_script_2 which logs "inline script #3"
is disconnected in the preceeding script (frag_script_1 / "inline script #2").
Since post-connection steps [2] are executed in the tree order, by the time we are to
"prepare the script element" on frag_script_2 / "inline script #3", the script element is
already disconnected and the script will not be executed.

This test failing in Chrome and Safari but passing in Firefox. After the change, the test
passes in Chrome and Safari and fails in Firefox.

[1] https://html.spec.whatwg.org/multipage/scripting.html#prepare-the-script-element
[2] https://dom.spec.whatwg.org/#concept-node-post-connection-ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants