Repository navigation
Conversation
This was referenced Nov 5, 2026
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 5, 2026 16:23
2701341 to
a2b35e6
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
2 times, most recently
from
November 5, 2026 18:42
49c7b24 to
67d149e
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
2 times, most recently
from
November 6, 2026 00:01
5a25aae to
c23831a
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
2 times, most recently
from
November 6, 2026 01:36
5e33d61 to
3d68c1c
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 6, 2026 01:45
0207c88 to
c3a8c33
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
from
November 6, 2026 01:45
3d68c1c to
9160988
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 6, 2026 14:27
c3a8c33 to
7cfe512
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
from
November 6, 2026 14:27
9160988 to
159401b
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 6, 2026 15:08
7cfe512 to
f995e73
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
from
November 6, 2026 15:08
159401b to
2d1d3dc
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 6, 2026 16:20
f995e73 to
cdc2c89
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
from
November 6, 2026 16:20
2d1d3dc to
3cefe90
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 6, 2026 19:01
cdc2c89 to
7f27156
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
from
November 6, 2026 19:01
3cefe90 to
72f8e98
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 6, 2026 20:32
7f27156 to
e7c0bcd
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
2 times, most recently
from
November 9, 2026 00:01
04de19b to
961f2fb
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
2 times, most recently
from
November 9, 2026 00:37
5aaf2af to
b205d96
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
2 times, most recently
from
November 9, 2026 04:23
2c0dc91 to
949c6cb
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-04-standard-events
branch
from
November 9, 2026 06:55
949c6cb to
d5aa3fe
Compare
Ji-One1
force-pushed
the
jb/storefront-e2e-v2-03-catalog
branch
from
November 9, 2026 06:55
961a217 to
bc2e072
Compare
Ji-One1
marked this pull request as ready for review
November 9, 2026 06:56
Contributor
|
We detected some changes in |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Selected Shopify Standard Events can explain an add attempt or rejection without treating an event's cart data as the current cart. This PR defines the read-only event script and its evidence format.
What this changes
documentfor an explicit selection from the supported-event list. Record document and element events once, including non-bubbling element events; ignore events dispatched directly onwindow. An empty selection records nothing.document.open()and same-origin popup document replacement in a reused JavaScript realm. Observeevent.promisewithout dispatching events or changing storefront state.safeParsefor event headers and retained phase fields. Parseinput,settled,failed, andunsettledrecords; reject malformed messages and messages longer than 65,536 JavaScript string code units.shopify:cart:lines-updateinput action, context, and line IDs, merchandise IDs, and quantities; its settled cartuserErrors; andshopify:cart:errorinput code and error. Other supported events keep headers and phase metadata only. Failed promises retain error name/message; unsettled records retain their reason. Standard Event evidence saves no cart IDs or other cart fields.unsettledrecord for an awaited event whose outcome was not received.document.open(), and same-realm popup replacement.Developer impact
Internal tooling only; no published Hydrogen exports change and no changeset is needed. Browser installation over CDP is separate from this script and parser.
Out of scope
No Hydrogen analytics capture, automatic capture of every event, cart reader, or verdict logic.
Risk
Truncated fields and omitted payloads can remove diagnostic detail. Saved line IDs, error messages, and other retained values remain private owner data; bounds and field selection are not secret redaction. Events on a reused document can be missed before its listeners are re-armed.
Stack: 04/15. Previous: #4310. Next: #4313.