2 * (C) Copyright 2008 Jeremy Maitin-Shepard
4 * Use, modification, and distribution are subject to the terms specified in the
10 function special_buffer(window, element) {
11 this.constructor_begin();
13 conkeror.buffer.call(this, window, element, forward_keywords(arguments));
14 this.generated = false;
17 add_hook.call(this, "buffer_loaded_hook", function () {
18 buffer.generated = true;
21 this.web_navigation.loadURI("chrome://conkeror/content/blank.html", Ci.nsIWebNavigation.LOAD_FLAGS_NONE,
22 null /* referrer */, null /* post data */, null /* headers */);
23 this.constructor_end();
26 special_buffer.prototype.__proto__ = buffer.prototype;
28 // Sub-classes must define a generate method