mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1238080 - Remove trailing whitespace from nsIWebBrowserChrome.idl and test_window_bar.html. r=baku
IGNORE IDL because this is only whitespace changes.
This commit is contained in:
parent
fac93b4426
commit
b93523f396
@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=642338
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=642338">Mozilla Bug 642338</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
@ -42,7 +42,7 @@ function testWindow(w)
|
||||
function checkFeature(feature, prefname) {
|
||||
if (prefname === undefined)
|
||||
prefname = feature;
|
||||
|
||||
|
||||
if (SpecialPowers.getBoolPref('dom.disable_window_open_feature.' + prefname)) {
|
||||
is(w[feature].visible, true, feature + ' should always be true.');
|
||||
}
|
||||
@ -81,7 +81,7 @@ var allBarsWindow =
|
||||
'personalbar=yes,status=yes,scrollbars=yes',
|
||||
true);
|
||||
|
||||
var noBarsWindow =
|
||||
var noBarsWindow =
|
||||
window.open('file_window_bar.html?false', 'no-bars',
|
||||
'menubar=no,toolbar=no,location=no,' +
|
||||
'personalbar=no,status=no,scrollbars=no',
|
||||
|
@ -31,8 +31,8 @@ interface nsIWebBrowserChrome : nsISupports
|
||||
/**
|
||||
* The currently loaded WebBrowser. The browser chrome may be
|
||||
* told to set the WebBrowser object to a new object by setting this
|
||||
* attribute. In this case the implementer is responsible for taking the
|
||||
* new WebBrowser object and doing any necessary initialization or setup
|
||||
* attribute. In this case the implementer is responsible for taking the
|
||||
* new WebBrowser object and doing any necessary initialization or setup
|
||||
* as if it had created the WebBrowser itself. This includes positioning
|
||||
* setting up listeners etc.
|
||||
*/
|
||||
@ -53,7 +53,7 @@ interface nsIWebBrowserChrome : nsISupports
|
||||
const unsigned long CHROME_SCROLLBARS = 0x00000200;
|
||||
const unsigned long CHROME_TITLEBAR = 0x00000400;
|
||||
const unsigned long CHROME_EXTRA = 0x00000800;
|
||||
|
||||
|
||||
// createBrowserWindow specific flags
|
||||
const unsigned long CHROME_WITH_SIZE = 0x00001000;
|
||||
const unsigned long CHROME_WITH_POSITION = 0x00002000;
|
||||
@ -98,12 +98,12 @@ interface nsIWebBrowserChrome : nsISupports
|
||||
|
||||
// Note: The modal style bit just affects the way the window looks and does
|
||||
// mean it's actually modal.
|
||||
const unsigned long CHROME_MODAL = 0x20000000;
|
||||
const unsigned long CHROME_MODAL = 0x20000000;
|
||||
const unsigned long CHROME_OPENAS_DIALOG = 0x40000000;
|
||||
const unsigned long CHROME_OPENAS_CHROME = 0x80000000;
|
||||
|
||||
|
||||
const unsigned long CHROME_ALL = 0x00000ffe;
|
||||
|
||||
|
||||
/**
|
||||
* The chrome flags for this browser chrome. The implementation should
|
||||
* reflect the value of this attribute by hiding or showing its chrome
|
||||
@ -118,20 +118,20 @@ interface nsIWebBrowserChrome : nsISupports
|
||||
void destroyBrowserWindow();
|
||||
|
||||
/**
|
||||
* Tells the chrome to size itself such that the browser will be the
|
||||
* Tells the chrome to size itself such that the browser will be the
|
||||
* specified size.
|
||||
* @param aCX new width of the browser
|
||||
* @param aCY new height of the browser
|
||||
*/
|
||||
void sizeBrowserTo(in long aCX, in long aCY);
|
||||
|
||||
|
||||
/**
|
||||
* Shows the window as a modal window.
|
||||
* @return (the function error code) the status value specified by
|
||||
* in exitModalEventLoop.
|
||||
*/
|
||||
void showAsModal();
|
||||
|
||||
|
||||
/**
|
||||
* Is the window modal (that is, currently executing a modal loop)?
|
||||
* @return true if it's a modal window
|
||||
@ -145,4 +145,3 @@ interface nsIWebBrowserChrome : nsISupports
|
||||
*/
|
||||
void exitModalEventLoop(in nsresult aStatus);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user