Yes, I can confirm, that's exactly the method they use.
When you click on the like button from their page, they open a child window and ask their server to make a direct call to graph.facebook.com/pageID. After that, they save a before record with the number of page likes.
When you close the child window (this means you just liked the page), they make another call to the facebook graph, retrieve the before record and check if the number of likes have increased.
var win = window.open(url, name);
win.onunload = afterChildClose; // afterChildClose() is the function.
win.close(); // afterChildClose() should fire now.