2 * (C) Copyright 2008 Jeremy Maitin-Shepard
4 * Use, modification, and distribution are subject to the terms specified in the
12 function special_buffer (window, element) {
13 this.constructor_begin();
15 conkeror.buffer.call(this, window, element, forward_keywords(arguments));
16 this.generated = false;
19 add_hook.call(this, "buffer_loaded_hook", function () {
20 buffer.generated = true;
23 this.web_navigation.loadURI("chrome://conkeror-gui/content/blank.html", Ci.nsIWebNavigation.LOAD_FLAGS_NONE,
24 null /* referrer */, null /* post data */, null /* headers */);
25 this.constructor_end();
28 special_buffer.prototype.__proto__ = buffer.prototype;
30 // Sub-classes must define a generate method
32 provide("special-buffer");