Class Index | File Index

Modules


Panels


Templates


Services (XPCOM)


Libraries


All Classes


Report Doc Issue | How To Comment Firebug Code

Class Firebug.CookieModule

This class represents a module for Cookies panel. The module supports activation (enable/disable of the Cookies panel). This functionality has been introduced in Firebug 1.2 and makes possible to control activity of Firebug panels in order to avoid (performance) expensive features.

Defined in: cookieModule.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
Firebug.CookieModule.createCookie(Cookie)
Creates a new cookie in the browser.
<static>  
Firebug.CookieModule.initContext(Context)
Called by the framework when a context is created for Firefox tab.
<static>  
Firebug.CookieModule.initialize(prefDomain, prefNames)
Called by Firebug when Firefox window is opened.
<static>  
Firebug.CookieModule.isEnabled(context)
It's just here to exists (calling base class only)
<static>  
Firebug.CookieModule.onExportAll(context)
Exports all existing cookies in the browser into a cookies.txt file.
<static>  
Firebug.CookieModule.onExportForSite(context)
Exports cookies for the current site into a cookies.txt file This action is available in the Cookies panel toolbar.
<static>  
Firebug.CookieModule.onObserverChange(observer)
Called when an observer (e.g.
<static>  
Firebug.CookieModule.onOptionsMenu(context, panel, items)
Extend Console panel's option menu.
<static>  
Firebug.CookieModule.removeCookies(context, filter)
Removes cookies defined for a website
<static>  
Firebug.CookieModule.shutdown()
Peforms clean up when Firebug is destroyed.
Class Detail
Firebug.CookieModule()
Method Detail
<static> Firebug.CookieModule.createCookie(Cookie)
Creates a new cookie in the browser. This method is used by EditCookie dialog and also when a cookie is pasted from the clipboard.
Parameters:
{Cookie} Cookie
object with appropriate properties. See Cookie object.

<static> Firebug.CookieModule.initContext(Context)
Called by the framework when a context is created for Firefox tab.
Parameters:
{Firebug.TabContext} Context
for the current Firefox tab.

<static> Firebug.CookieModule.initialize(prefDomain, prefNames)
Called by Firebug when Firefox window is opened.
Parameters:
{String} prefDomain
Preference domain (e.g. extensions.firebug)
{Array} prefNames
Default Firebug preference array.

<static> Firebug.CookieModule.isEnabled(context)
It's just here to exists (calling base class only)
Parameters:
context

<static> Firebug.CookieModule.onExportAll(context)
Exports all existing cookies in the browser into a cookies.txt file. This action is available in the Cookies panel toolbar.
Parameters:
context

<static> Firebug.CookieModule.onExportForSite(context)
Exports cookies for the current site into a cookies.txt file This action is available in the Cookies panel toolbar.
Parameters:
context

<static> Firebug.CookieModule.onObserverChange(observer)
Called when an observer (e.g. panel) is added/removed into/from the model. This is the moment when the model needs to decide whether to activate.
Parameters:
observer

<static> Firebug.CookieModule.onOptionsMenu(context, panel, items)
Extend Console panel's option menu.
Parameters:
context
panel
items

<static> Firebug.CookieModule.removeCookies(context, filter)
Removes cookies defined for a website
Parameters:
{Object} context
context, in which the cookies are defined
{Object} filter Optional
filter to define, which cookies should be removed (format: {session: true/false, host: string})

<static> Firebug.CookieModule.shutdown()
Peforms clean up when Firebug is destroyed. Called by the framework when Firebug is closed for an existing Firefox window.

Documentation generated by JsDoc Toolkit 2.3.0 on Sat Jan 05 2013 23:10:38 GMT+0100 (CET)