Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transferables #361

Merged
merged 55 commits into from
Mar 27, 2019
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
538e781
Started thoughts on Buffers
kristoferbaxter Feb 15, 2019
bb28c1e
Added Nodes and Removed Nodes in structure
kristoferbaxter Feb 15, 2019
244c9f5
Uint16Array representation
kristoferbaxter Feb 26, 2019
90d2bed
Merge in latest master
kristoferbaxter Feb 26, 2019
29e046d
Move all transmissions to a single helper method.
kristoferbaxter Feb 27, 2019
3adaa70
Mutators implemented
kristoferbaxter Mar 3, 2019
2066765
Continued progress toward working
kristoferbaxter Mar 3, 2019
0bfec1a
Performance testing
kristoferbaxter Mar 4, 2019
32145cb
Working
kristoferbaxter Mar 12, 2019
ef185e9
Fixes for mutation observer tests
kristoferbaxter Mar 13, 2019
7732ede
Tests pass now.
kristoferbaxter Mar 13, 2019
6dfb693
Remove unused comment
kristoferbaxter Mar 13, 2019
3c36c07
Move to replacement TransferrableNode
kristoferbaxter Mar 13, 2019
212829d
Fix forEach
kristoferbaxter Mar 13, 2019
4d082dd
Private for no reason
kristoferbaxter Mar 13, 2019
b7ce6cd
Repair SVG Element creation
kristoferbaxter Mar 14, 2019
be186e0
Continue moving transfer to updated location and remove unused items
kristoferbaxter Mar 14, 2019
f00e0fb
Dont modify tsconfig automatically VSCode :(
kristoferbaxter Mar 14, 2019
d7a4306
Refactored debugger to be inline with Command Executors
kristoferbaxter Mar 15, 2019
bd61a93
Ensure correct number of print methods from CommandExecutors are remo…
kristoferbaxter Mar 15, 2019
6ac6c58
Fix up comment on Rollup Plugin
kristoferbaxter Mar 15, 2019
be15c7f
Removed replacement directory, merged back to transfer
kristoferbaxter Mar 15, 2019
5102198
No need for these helpers
kristoferbaxter Mar 15, 2019
6fee67d
Pin rollup-plugin-replace
kristoferbaxter Mar 15, 2019
9246f4b
Continued merging long tasks and added tests for Transferable format
kristoferbaxter Mar 21, 2019
84c7d3a
Add Long Task API in worker thread
kristoferbaxter Mar 21, 2019
ab11375
Main thread tests and Long Task tests now pass
kristoferbaxter Mar 21, 2019
d153ed6
Format message for property range replacement
kristoferbaxter Mar 21, 2019
1b9e310
Last cleanup for ObjectExpression replacement
kristoferbaxter Mar 21, 2019
a2b463f
Long task demo
kristoferbaxter Mar 21, 2019
d9c10df
merge with master
kristoferbaxter Mar 22, 2019
1ba684e
Reduce low priority changes
kristoferbaxter Mar 23, 2019
d0bac3d
Property names cannot be invalid across bridge
kristoferbaxter Mar 23, 2019
184592d
Merge branch 'master' of github.com:ampproject/worker-dom into buffer
kristoferbaxter Mar 23, 2019
c79262b
Fix binding error in Element.innerHTML setter
kristoferbaxter Mar 23, 2019
1f9049a
Remove shorthand not relevant to review
kristoferbaxter Mar 23, 2019
4428b51
Use Local Name for Elements, restore comment support in node creation
kristoferbaxter Mar 23, 2019
0223f51
Only collect information to transmit to main thread after the DOM ent…
kristoferbaxter Mar 23, 2019
50f0f99
Memory info for dbmon
kristoferbaxter Mar 23, 2019
73a75b3
HFS+ still doesn't understand capitalization of filenames
kristoferbaxter Mar 23, 2019
da3a451
Fix Windows build issue with new Emitter
kristoferbaxter Mar 23, 2019
7538f11
Serial for cb tests requiring a document
kristoferbaxter Mar 23, 2019
92b2c34
Fix for #371, remove a slice of the childNodes
kristoferbaxter Mar 23, 2019
5049021
Made test for removing child node elements a little more through
kristoferbaxter Mar 23, 2019
f3d1ce6
Made test for removing child node elements a little more through
kristoferbaxter Mar 23, 2019
ff89789
Run Prettier on all .js files
kristoferbaxter Mar 25, 2019
8705002
Remove +1 on end positions within a Transferable
kristoferbaxter Mar 27, 2019
fc313b6
Element.getBoundingClientRectAsync now removes its event listener
kristoferbaxter Mar 27, 2019
402e60d
Make WorkerContext.worker readonly
kristoferbaxter Mar 27, 2019
883af70
Remove unused statement
kristoferbaxter Mar 27, 2019
3b9623d
Remove unused callbacks on WorkerDOMConfiguration
kristoferbaxter Mar 27, 2019
9878d19
Fix comment on upgrade method
kristoferbaxter Mar 27, 2019
3c0a6da
Fix for #371, remove a slice of the childNodes (#383)
kristoferbaxter Mar 27, 2019
abcdff1
Merge branch 'buffer' of github.com:ampproject/worker-dom into buffer
kristoferbaxter Mar 27, 2019
36fe2cb
Merge branch 'prettier-js' of github.com:ampproject/worker-dom into b…
kristoferbaxter Mar 27, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added Nodes and Removed Nodes in structure
  • Loading branch information
kristoferbaxter committed Feb 15, 2019
commit bb28c1ea02cb18946605b057937e98adfe518463
3 changes: 3 additions & 0 deletions src/transfer/DocumentMutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ function serializeMutations(mutations: MutationRecord[]): MutationFromWorker {
UInt32, // PropertyName (Identifier, 0 = not used)
UInt32, // NewValue (Identifer, 0 = not used)
UInt32, // OldValue (Identifer, 0 = not used)
...Array<UInt32>.length(AddedNodeCount) // AddedNode Identifiers
...Array<UInt32>.length(RemovedNodeCount) // RemovedNode Identifers
...(Array<number, )
]
// Structure [MutationRecordType]
/*
Expand Down