Written on Jul 16, 2018
https://stackoverflow.com/questions/6658313/generate-a-git-patch-for-a-specific-commit
Did you know Firefox has a feature that allows you to right click on the search box of your favorite website and create a shortcut for it? So for example, if I wanted to create a shortcut for google.com
TODO
git remote add unified hg::https://hg.mozilla.org/mozilla-unified
TODO
explain the differencegit fetch unified bookmarks/beta
or git fetch unified bookmarks/esr60
git checkout bookmarks/beta
or git checkout bookmarks/esr60
git pull
TODO
TODO
Option 1
If you need to debug your try build and you want to do it on another machine, simply ``
Option 2
pore
a tool made by my mentor.
See specific comment here.
From https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getData, we see that
The
DataTransfer.getData()
method retrieves drag data (as a DOMString) for the specified type. If the drag operation does not include data, this method returns an empty string.
This does not mention anything about actually retrieving data from the clipboard. But this could be a typo. Still, I’m having a hard time locating where in DataTransfer::GetData
DataTransferItem::DataNoSecurityCheck(...)
gets called. I’m going to debug and see at which point the above function gets called.
Update
I stepped through Clipboard::WriteText(...)
and discovered that eventually DataTransferItem::GetData(...)
indirectly calls DataTransferItem::DataNoSecurityCheck(...)
, so I had to refactor my code.