{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":5581406,"defaultBranch":"main","name":"dom","ownerLogin":"whatwg","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-08-28T05:59:06.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2226336?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726845352.0","currentOid":""},"activityList":{"items":[{"before":"a98d125cfe654fd05ab5e4e0a5800e6f03d88a3c","after":null,"ref":"refs/heads/translation","pushedAt":"2024-09-20T15:15:52.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"}},{"before":"484c8bc037b22009e3f497f1695e28cd552ff601","after":"7cacda2f9c78dcabadcf1bfbdb81268ab9600835","ref":"refs/heads/main","pushedAt":"2024-09-20T15:15:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Meta: link Simplified Chinese translation\n\nAlso pull in some recent whatwg/spec-factory changes while here.\n\nCloses #1309.","shortMessageHtmlLink":"Meta: link Simplified Chinese translation"}},{"before":null,"after":"a98d125cfe654fd05ab5e4e0a5800e6f03d88a3c","ref":"refs/heads/translation","pushedAt":"2024-09-20T15:13:45.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Meta: link Simplified Chinese translation\n\nAlso pull in some recent whatwg/spec-factory changes while here.\n\nCloses #1309.","shortMessageHtmlLink":"Meta: link Simplified Chinese translation"}},{"before":"c65997805ae84d20d6a9f1a9ce5ddc666b265d60","after":"ad05126f89cfdea83a8cb848b1fceb878db31601","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-27T14:10:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Camel case","shortMessageHtmlLink":"Camel case"}},{"before":"28111191655eabafc70e107f73302d9b46faa9dd","after":"c65997805ae84d20d6a9f1a9ce5ddc666b265d60","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-27T14:00:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"`` -> `` plus fix punctuation error","shortMessageHtmlLink":"<span> -> <a> plus fix punctuation error"}},{"before":"30ded0c6104db3b6c565393040839a7d1bc1a889","after":"28111191655eabafc70e107f73302d9b46faa9dd","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-26T18:18:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Remove trailing whitespace","shortMessageHtmlLink":"Remove trailing whitespace"}},{"before":"1b2ec1c7c176cad1c56c5ec8638d6472f893e18f","after":"30ded0c6104db3b6c565393040839a7d1bc1a889","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-26T18:15:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Fix punctuation","shortMessageHtmlLink":"Fix punctuation"}},{"before":"93c2a53550ff4c1ea3eb65b4483bd3a923eeac21","after":"1b2ec1c7c176cad1c56c5ec8638d6472f893e18f","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-26T18:06:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Populate the `MutationRecord`","shortMessageHtmlLink":"Populate the MutationRecord"}},{"before":"d45ca59e7dda501fda2a5f0661bbde0706be500b","after":"93c2a53550ff4c1ea3eb65b4483bd3a923eeac21","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-26T18:04:56.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Remove mutation events flag references","shortMessageHtmlLink":"Remove mutation events flag references"}},{"before":"0b5f3aace9d318aea00b8278e01f7a6ab2932782","after":"484c8bc037b22009e3f497f1695e28cd552ff601","ref":"refs/heads/main","pushedAt":"2024-08-21T13:27:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Correct a variable name from 'element' to 'result'","shortMessageHtmlLink":"Correct a variable name from 'element' to 'result'"}},{"before":"054356dbe4d46e30a8766c02e5e05d6875f377f9","after":"0b5f3aace9d318aea00b8278e01f7a6ab2932782","ref":"refs/heads/main","pushedAt":"2024-08-21T06:06:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Mark dependent abort signals as aborted before firing events\n\nThe assert in 4.2.1 of \"create a dependent abort signal\" fails when\r\ncreating a dependent signal while dispatching abort events or running\r\nabort algorithms if abort had not yet been propagated to one of the\r\nsources.\r\n\r\nThis fix splits \"signal abort\" into two phases: first, set the abort\r\nreason on the signal being aborted and all of its unaborted dependents;\r\nnext, run the abort algorithms and dispatch events for the signal and\r\nthose same dependents. Note that:\r\n 1. Dependent signals do not themselves have dependent signals, which\r\n means it's unnecessary to recursively call \"signal abort\"\r\n 2. This approach retains the existing event dispatch order, while\r\n ensuring the abort state is synced before any JS runs\r\n\r\nThis fixes #1293.","shortMessageHtmlLink":"Mark dependent abort signals as aborted before firing events"}},{"before":"9680975555a9a4510e3372fa91c84d04da16d005","after":"d45ca59e7dda501fda2a5f0661bbde0706be500b","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-19T14:10:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Initial atomic move skeleton","shortMessageHtmlLink":"Initial atomic move skeleton"}},{"before":null,"after":"9680975555a9a4510e3372fa91c84d04da16d005","ref":"refs/heads/state-preserving-atomic-move","pushedAt":"2024-08-19T14:08:45.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Initial atomic move skeleton","shortMessageHtmlLink":"Initial atomic move skeleton"}},{"before":"ad422bef2890c14c92e8d618ac372e16b808b0c5","after":"054356dbe4d46e30a8766c02e5e05d6875f377f9","ref":"refs/heads/main","pushedAt":"2024-08-15T15:12:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Update to use new \"report an exception\" algorithm in HTML\n\nIt's necessary to specify which global these are reported to. This seems\r\nto be the event listener callback's realm's global in the event listener\r\ncase, and the custom element constructor's realm, based on a combination\r\nof consistency with the related sites in HTML and browser behavior --\r\nthough browser behavior for custom elements isn't consistent in the\r\n(unusual) case of custom elements across realms.\r\n\r\nPart of https://github.com/whatwg/html/issues/10516.","shortMessageHtmlLink":"Update to use new \"report an exception\" algorithm in HTML"}},{"before":"e8e6516e06730c4e49f371f69955d33b33155f28","after":null,"ref":"refs/heads/lookupprefix","pushedAt":"2024-08-14T11:04:54.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"}},{"before":"6db6c7d03e3b29078ebdc160371a3777649f3354","after":"ad422bef2890c14c92e8d618ac372e16b808b0c5","ref":"refs/heads/main","pushedAt":"2024-08-14T11:04:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Correct lookupPrefix() after fourteen years\n\nSince it was introduced in https://github.com/whatwg/dom/commit/43213eda4f80407950a897cc0b654ded5615809e we never invoked locating a namespace prefix correctly.\n\nFixes #1302.","shortMessageHtmlLink":"Correct lookupPrefix() after fourteen years"}},{"before":"e1b39e07b5301dbfcdeee5db86d2540c0aacbe79","after":null,"ref":"refs/heads/amazingness","pushedAt":"2024-08-14T11:04:11.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"}},{"before":"809bfa24535b1d55d761d8add353e1c3fde05801","after":"6db6c7d03e3b29078ebdc160371a3777649f3354","ref":"refs/heads/main","pushedAt":"2024-08-14T11:04:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Correct doAmazingness() example\n\nAs this is a frequently made error, having it wrong in DOM does the community a disservice.\n\nFixes #1300.","shortMessageHtmlLink":"Correct doAmazingness() example"}},{"before":null,"after":"e1b39e07b5301dbfcdeee5db86d2540c0aacbe79","ref":"refs/heads/amazingness","pushedAt":"2024-08-13T14:04:24.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Correct doAmazingness() example\n\nAs this is a frequently made error, having it wrong in DOM does the community a disservice.\n\nFixes #1300.","shortMessageHtmlLink":"Correct doAmazingness() example"}},{"before":null,"after":"e8e6516e06730c4e49f371f69955d33b33155f28","ref":"refs/heads/lookupprefix","pushedAt":"2024-08-13T13:44:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Correct lookupPrefix() after fourteen years\n\nSince it was introduced in https://github.com/whatwg/dom/commit/43213eda4f80407950a897cc0b654ded5615809e we never invoked locating a namespace prefix correctly.\n\nFixes #1302.","shortMessageHtmlLink":"Correct lookupPrefix() after fourteen years"}},{"before":"c499e716a0bdc0d1735e0b0f3ae72d8caff22db9","after":"809bfa24535b1d55d761d8add353e1c3fde05801","ref":"refs/heads/main","pushedAt":"2024-08-13T09:28:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Revert 'Trusted Types integration for \"converting nodes into a node\"'\n\nThis reverts commit 720a4fc20f0c7d9aa430ed418db92e474fdcf185.\r\n\r\nThese changes aren't needed given the current protection model used for script elements. See https://github.com/w3c/trusted-types/issues/537 for context.","shortMessageHtmlLink":"Revert 'Trusted Types integration for \"converting nodes into a node\"'"}},{"before":"7c494e57b80db3ac30ed3a4e92eda838dbf63bc9","after":"c499e716a0bdc0d1735e0b0f3ae72d8caff22db9","ref":"refs/heads/main","pushedAt":"2024-08-05T05:43:37.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"domenic","name":"Domenic Denicola","path":"/domenic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/617481?s=80&v=4"},"commit":{"message":"Update use of Web IDL \"invoke a callback function\"\n\nThe single use, in mutation observers, no longer needs to deal with reporting the exception itself, but simply request that Web IDL do so.\r\n\r\nPart of https://github.com/whatwg/webidl/issues/1425.","shortMessageHtmlLink":"Update use of Web IDL \"invoke a callback function\""}},{"before":"e09d65d9b0699efed697878a5d1086c9d65d3ffc","after":null,"ref":"refs/heads/review-draft-2024-06","pushedAt":"2024-06-17T11:23:09.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"}},{"before":"0616094da9e308fbf50e5bd1da17462dca19d121","after":"7c494e57b80db3ac30ed3a4e92eda838dbf63bc9","ref":"refs/heads/main","pushedAt":"2024-06-17T11:23:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Review Draft Publication: June 2024","shortMessageHtmlLink":"Review Draft Publication: June 2024"}},{"before":null,"after":"e09d65d9b0699efed697878a5d1086c9d65d3ffc","ref":"refs/heads/review-draft-2024-06","pushedAt":"2024-06-17T11:18:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Review Draft Publication: June 2024","shortMessageHtmlLink":"Review Draft Publication: June 2024"}},{"before":"fb21a6d9153b698e6644b739902627b9870f47d9","after":null,"ref":"refs/heads/post-insertion-steps","pushedAt":"2024-06-05T08:29:12.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"}},{"before":"abaa3fb25a4ec8f7f3bcd7deea9083d0dcb1787a","after":"0616094da9e308fbf50e5bd1da17462dca19d121","ref":"refs/heads/main","pushedAt":"2024-06-05T08:29:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"annevk","name":"Anne van Kesteren","path":"/annevk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1544111?s=80&v=4"},"commit":{"message":"Introduce DOM post-connection steps\n\nFor any given insert operation, these steps run for each inserted node synchronously after all node insertions are complete. This closes #732.\r\n\r\nThe goal here is to separate the following:\r\n\r\n1. Script-observable but not-script-executing insertion side effects\r\n - This includes synchronously applying styles to the document, etc...\r\n2. Script-executing insertion side effects\r\n - This includes creating an iframe's document and synchronously firing its load event\r\n\r\nFor any given call to insert, the above model allows us to keep all of (1) running synchronously after each node's insertion (as part of its insertion steps), while pushing all script-executing (or DOM tree-modifying or frame tree-modifying etc.) side effects to the new set of post-connection steps, which run synchronously during insertion, but _after all_ nodes finish their insertion.\r\n\r\nThis essentially makes insertions \"atomic\" from the perspective of script, since script will not run until a given batch of DOM insertions are complete. This two-stage approach aligns the spec with a model most similar to Blink & Gecko's implementation, and fixes #808. This PR also helps out with https://github.com/whatwg/html/issues/1127 and https://github.com/whatwg/dom/issues/575 (per https://github.com/whatwg/dom/pull/732#issuecomment-467403090).\r\n\r\nTo accomplish, this we audited all insertion side effects on the web platform in https://docs.google.com/document/d/1Fu_pgSBziVIBG4MLjorpfkLTpPD6-XI3dTVrx4CZoqY/edit#heading=h.q06t2gg4vpw, and catalogued whether they have script-observable side-effects, whether they invoke script, whether we have tests for them, and how each implementation handles them. This gave us a list of present \"insertion steps\" that should move to the \"post-connection steps\", because they invoke script and therefore prevent insertions from being \"atomic\". This PR is powerless without counterpart changes to HTML, which will actually _use_ the post-connection steps for all current insertion steps that invoke script or modify the frame tree. The follow-up HTML work is tracked here:\r\n\r\n- https://github.com/whatwg/html/pull/10188\r\n- https://github.com/whatwg/html/issues/10241","shortMessageHtmlLink":"Introduce DOM post-connection steps"}},{"before":"705aa2f054cd5452132ea287072f886d2b1389e6","after":"fb21a6d9153b698e6644b739902627b9870f47d9","ref":"refs/heads/post-insertion-steps","pushedAt":"2024-06-03T10:26:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"in => of","shortMessageHtmlLink":"in => of"}},{"before":"7e18bc488c1eec71bb84eeabdf7f2fae320cca8a","after":"705aa2f054cd5452132ea287072f886d2b1389e6","ref":"refs/heads/post-insertion-steps","pushedAt":"2024-05-31T11:49:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Remove whitespace","shortMessageHtmlLink":"Remove whitespace"}},{"before":"ffa0b2ee207257431be3c417418464d01639e449","after":"7e18bc488c1eec71bb84eeabdf7f2fae320cca8a","ref":"refs/heads/post-insertion-steps","pushedAt":"2024-05-31T11:47:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"domfarolino","name":"Dominic Farolino","path":"/domfarolino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9669289?s=80&v=4"},"commit":{"message":"Fix phrase-level wrapping","shortMessageHtmlLink":"Fix phrase-level wrapping"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMFQxNToxNTo1Mi4wMDAwMDBazwAAAAS8Gw13","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMFQxNToxNTo1Mi4wMDAwMDBazwAAAAS8Gw13","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNS0zMVQxMTo0NzowMS4wMDAwMDBazwAAAARY9u3d"}},"title":"Activity ยท whatwg/dom"}