You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change RefCells in the DOM to a custom JSRefCell/DOMRefCell #3050
A-content/domInteracting with the DOM from web contentI-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.I-safetySome piece of code violates memory safety guarantees.
To implement the safety assertions, let's add a local_data! in layout_interface that LayoutTask::new initializes. Borrow and borrow_in_layout can check it inside cfg!(debug) blocks, since I'm pretty sure task-local data is relatively slow right now.
A-content/domInteracting with the DOM from web contentI-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.I-safetySome piece of code violates memory safety guarantees.
Activity
tetsuharuohzeki commentedon Aug 9, 2014
Does this import cell.rs from rust master and custom it?
Or we introduce a new sub-type object like this?:
jdm commentedon Aug 10, 2014
I think it makes sense to wrap the original type like your example.
auto merge of #3574 : saneyuki/servo/cell, r=jdm
jdm commentedon Oct 16, 2014
To implement the safety assertions, let's add a local_data! in layout_interface that LayoutTask::new initializes. Borrow and borrow_in_layout can check it inside cfg!(debug) blocks, since I'm pretty sure task-local data is relatively slow right now.
auto merge of #3695 : saneyuki/servo/cell, r=jdm
tetsuharuohzeki commentedon Oct 16, 2014
Once we'll replace all usage of RefCell in script to DOMRefCell for the above safety checking. I'll start to work it :)
auto merge of #3737 : saneyuki/servo/cell, r=jdm
auto merge of #3737 : saneyuki/servo/cell, r=jdm
auto merge of #3737 : saneyuki/servo/cell, r=jdm
auto merge of #3737 : saneyuki/servo/cell, r=jdm
auto merge of #3737 : saneyuki/servo/cell, r=jdm