mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge inbound to m-c a=merge
This commit is contained in:
commit
fac7b8ea5d
@ -474,15 +474,15 @@ skip-if = e10s
|
||||
[browser_dbg_variables-view-edit-watch.js]
|
||||
skip-if = e10s
|
||||
[browser_dbg_variables-view-filter-01.js]
|
||||
skip-if = e10s
|
||||
skip-if = e10s && debug
|
||||
[browser_dbg_variables-view-filter-02.js]
|
||||
skip-if = e10s
|
||||
skip-if = e10s && debug
|
||||
[browser_dbg_variables-view-filter-03.js]
|
||||
skip-if = e10s
|
||||
skip-if = e10s && debug
|
||||
[browser_dbg_variables-view-filter-04.js]
|
||||
skip-if = e10s
|
||||
skip-if = e10s && debug
|
||||
[browser_dbg_variables-view-filter-05.js]
|
||||
skip-if = e10s
|
||||
skip-if = e10s && debug
|
||||
[browser_dbg_variables-view-filter-pref.js]
|
||||
skip-if = e10s
|
||||
[browser_dbg_variables-view-filter-searchbox.js]
|
||||
|
@ -7,16 +7,15 @@
|
||||
|
||||
const TAB_URL = EXAMPLE_URL + "doc_with-frame.html";
|
||||
|
||||
let gTab, gDebuggee, gPanel, gDebugger;
|
||||
let gTab, gPanel, gDebugger;
|
||||
let gVariables, gSearchBox;
|
||||
|
||||
function test() {
|
||||
// Debug test slaves are quite slow at this test.
|
||||
requestLongerTimeout(4);
|
||||
|
||||
initDebugger(TAB_URL).then(([aTab, aDebuggee, aPanel]) => {
|
||||
initDebugger(TAB_URL).then(([aTab,, aPanel]) => {
|
||||
gTab = aTab;
|
||||
gDebuggee = aDebuggee;
|
||||
gPanel = aPanel;
|
||||
gDebugger = gPanel.panelWin;
|
||||
gVariables = gDebugger.DebuggerView.Variables;
|
||||
@ -37,9 +36,7 @@ function test() {
|
||||
ok(false, "Got an error: " + aError.message + "\n" + aError.stack);
|
||||
});
|
||||
|
||||
EventUtils.sendMouseEvent({ type: "click" },
|
||||
gDebuggee.document.querySelector("button"),
|
||||
gDebuggee);
|
||||
sendMouseClickToTab(gTab, content.document.querySelector("button"));
|
||||
});
|
||||
}
|
||||
|
||||
@ -214,7 +211,6 @@ function prepareVariablesAndProperties() {
|
||||
|
||||
registerCleanupFunction(function() {
|
||||
gTab = null;
|
||||
gDebuggee = null;
|
||||
gPanel = null;
|
||||
gDebugger = null;
|
||||
gVariables = null;
|
||||
|
@ -7,16 +7,15 @@
|
||||
|
||||
const TAB_URL = EXAMPLE_URL + "doc_with-frame.html";
|
||||
|
||||
let gTab, gDebuggee, gPanel, gDebugger;
|
||||
let gTab, gPanel, gDebugger;
|
||||
let gVariables, gSearchBox;
|
||||
|
||||
function test() {
|
||||
// Debug test slaves are quite slow at this test.
|
||||
requestLongerTimeout(4);
|
||||
|
||||
initDebugger(TAB_URL).then(([aTab, aDebuggee, aPanel]) => {
|
||||
initDebugger(TAB_URL).then(([aTab,, aPanel]) => {
|
||||
gTab = aTab;
|
||||
gDebuggee = aDebuggee;
|
||||
gPanel = aPanel;
|
||||
gDebugger = gPanel.panelWin;
|
||||
gVariables = gDebugger.DebuggerView.Variables;
|
||||
@ -37,9 +36,7 @@ function test() {
|
||||
ok(false, "Got an error: " + aError.message + "\n" + aError.stack);
|
||||
});
|
||||
|
||||
EventUtils.sendMouseEvent({ type: "click" },
|
||||
gDebuggee.document.querySelector("button"),
|
||||
gDebuggee);
|
||||
sendMouseClickToTab(gTab, content.document.querySelector("button"));
|
||||
});
|
||||
}
|
||||
|
||||
@ -221,7 +218,6 @@ function prepareVariablesAndProperties() {
|
||||
|
||||
registerCleanupFunction(function() {
|
||||
gTab = null;
|
||||
gDebuggee = null;
|
||||
gPanel = null;
|
||||
gDebugger = null;
|
||||
gVariables = null;
|
||||
|
@ -8,16 +8,15 @@
|
||||
|
||||
const TAB_URL = EXAMPLE_URL + "doc_with-frame.html";
|
||||
|
||||
let gTab, gDebuggee, gPanel, gDebugger;
|
||||
let gTab, gPanel, gDebugger;
|
||||
let gVariables, gSearchBox;
|
||||
|
||||
function test() {
|
||||
// Debug test slaves are a bit slow at this test.
|
||||
requestLongerTimeout(2);
|
||||
|
||||
initDebugger(TAB_URL).then(([aTab, aDebuggee, aPanel]) => {
|
||||
initDebugger(TAB_URL).then(([aTab,, aPanel]) => {
|
||||
gTab = aTab;
|
||||
gDebuggee = aDebuggee;
|
||||
gPanel = aPanel;
|
||||
gDebugger = gPanel.panelWin;
|
||||
gVariables = gDebugger.DebuggerView.Variables;
|
||||
@ -36,9 +35,7 @@ function test() {
|
||||
ok(false, "Got an error: " + aError.message + "\n" + aError.stack);
|
||||
});
|
||||
|
||||
EventUtils.sendMouseEvent({ type: "click" },
|
||||
gDebuggee.document.querySelector("button"),
|
||||
gDebuggee);
|
||||
sendMouseClickToTab(gTab, content.document.querySelector("button"));
|
||||
});
|
||||
}
|
||||
|
||||
@ -153,7 +150,6 @@ function prepareVariablesAndProperties() {
|
||||
|
||||
registerCleanupFunction(function() {
|
||||
gTab = null;
|
||||
gDebuggee = null;
|
||||
gPanel = null;
|
||||
gDebugger = null;
|
||||
gVariables = null;
|
||||
|
@ -8,16 +8,15 @@
|
||||
|
||||
const TAB_URL = EXAMPLE_URL + "doc_with-frame.html";
|
||||
|
||||
let gTab, gDebuggee, gPanel, gDebugger;
|
||||
let gTab, gPanel, gDebugger;
|
||||
let gEditor, gVariables, gSearchBox;
|
||||
|
||||
function test() {
|
||||
// Debug test slaves are a bit slow at this test.
|
||||
requestLongerTimeout(2);
|
||||
|
||||
initDebugger(TAB_URL).then(([aTab, aDebuggee, aPanel]) => {
|
||||
initDebugger(TAB_URL).then(([aTab,, aPanel]) => {
|
||||
gTab = aTab;
|
||||
gDebuggee = aDebuggee;
|
||||
gPanel = aPanel;
|
||||
gDebugger = gPanel.panelWin;
|
||||
gEditor = gDebugger.DebuggerView.editor;
|
||||
@ -37,9 +36,7 @@ function test() {
|
||||
ok(false, "Got an error: " + aError.message + "\n" + aError.stack);
|
||||
});
|
||||
|
||||
EventUtils.sendMouseEvent({ type: "click" },
|
||||
gDebuggee.document.querySelector("button"),
|
||||
gDebuggee);
|
||||
sendMouseClickToTab(gTab, content.document.querySelector("button"));
|
||||
});
|
||||
}
|
||||
|
||||
@ -220,7 +217,6 @@ function prepareVariablesAndProperties() {
|
||||
|
||||
registerCleanupFunction(function() {
|
||||
gTab = null;
|
||||
gDebuggee = null;
|
||||
gPanel = null;
|
||||
gDebugger = null;
|
||||
gEditor = null;
|
||||
|
@ -8,16 +8,15 @@
|
||||
|
||||
const TAB_URL = EXAMPLE_URL + "doc_with-frame.html";
|
||||
|
||||
let gTab, gDebuggee, gPanel, gDebugger;
|
||||
let gTab, gPanel, gDebugger;
|
||||
let gVariables, gSearchBox;
|
||||
|
||||
function test() {
|
||||
// Debug test slaves are a bit slow at this test.
|
||||
requestLongerTimeout(2);
|
||||
|
||||
initDebugger(TAB_URL).then(([aTab, aDebuggee, aPanel]) => {
|
||||
initDebugger(TAB_URL).then(([aTab,, aPanel]) => {
|
||||
gTab = aTab;
|
||||
gDebuggee = aDebuggee;
|
||||
gPanel = aPanel;
|
||||
gDebugger = gPanel.panelWin;
|
||||
gVariables = gDebugger.DebuggerView.Variables;
|
||||
@ -36,9 +35,7 @@ function test() {
|
||||
ok(false, "Got an error: " + aError.message + "\n" + aError.stack);
|
||||
});
|
||||
|
||||
EventUtils.sendMouseEvent({ type: "click" },
|
||||
gDebuggee.document.querySelector("button"),
|
||||
gDebuggee);
|
||||
sendMouseClickToTab(gTab, content.document.querySelector("button"));
|
||||
});
|
||||
}
|
||||
|
||||
@ -229,7 +226,6 @@ function prepareVariablesAndProperties() {
|
||||
|
||||
registerCleanupFunction(function() {
|
||||
gTab = null;
|
||||
gDebuggee = null;
|
||||
gPanel = null;
|
||||
gDebugger = null;
|
||||
gVariables = null;
|
||||
|
@ -518,7 +518,7 @@ skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android' || e1
|
||||
skip-if = toolkit == 'android' || (toolkit == 'gonk' && debug) #bug 871015, bug 881443
|
||||
[test_input_files_not_nsIFile.html]
|
||||
[test_ignoreuserfocus.html]
|
||||
skip-if = (toolkit == 'gonk' && debug) #debug-only failure
|
||||
skip-if = (toolkit == 'gonk' && debug) || (os == 'linux' && e10s && debug) # bug 942411
|
||||
[test_fragment_form_pointer.html]
|
||||
[test_bug1682.html]
|
||||
[test_bug1823.html]
|
||||
|
@ -341,11 +341,13 @@ GMPChild::PreLoadLibraries(const std::string& aPluginPath)
|
||||
// This must be in sorted order and lowercase!
|
||||
static const char* whitelist[] =
|
||||
{
|
||||
"bcrypt.dll", // Used for OutputProtectionManager handshake
|
||||
"crypt32.dll", // Used for OutputProtectionManager handshake
|
||||
"d3d9.dll", // Create an `IDirect3D9` to get adapter information
|
||||
"dxva2.dll", // Get monitor information
|
||||
"msauddecmft.dll", // H.264 decoder
|
||||
"msauddecmft.dll", // AAC decoder (on Windows 8)
|
||||
"msmpeg2adec.dll", // AAC decoder (on Windows 7)
|
||||
"msmpeg2vdec.dll", // AAC decoder (on Windows 8)
|
||||
"msmpeg2vdec.dll", // H.264 decoder
|
||||
};
|
||||
static const int whitelistLen = sizeof(whitelist) / sizeof(whitelist[0]);
|
||||
|
||||
|
@ -39,22 +39,11 @@ public:
|
||||
float aSampleRate)
|
||||
: AudioNodeEngine(aNode)
|
||||
, mWriteIndex(0)
|
||||
, mNumberOfChannels(aNumberOfChannels)
|
||||
, mLength(aLength)
|
||||
, mSampleRate(aSampleRate)
|
||||
, mBufferAllocated(false)
|
||||
{
|
||||
// These allocations might fail if content provides a huge number of
|
||||
// channels or size, but it's OK since we'll deal with the failure
|
||||
// gracefully.
|
||||
if (mInputChannels.SetLength(aNumberOfChannels)) {
|
||||
static const fallible_t fallible = fallible_t();
|
||||
for (uint32_t i = 0; i < aNumberOfChannels; ++i) {
|
||||
mInputChannels[i] = new(fallible) float[aLength];
|
||||
if (!mInputChannels[i]) {
|
||||
mInputChannels.Clear();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
virtual void ProcessBlock(AudioNodeStream* aStream,
|
||||
@ -66,6 +55,25 @@ public:
|
||||
// will not go anywhere.
|
||||
*aOutput = aInput;
|
||||
|
||||
// The output buffer is allocated lazily, on the rendering thread.
|
||||
if (!mBufferAllocated) {
|
||||
// These allocations might fail if content provides a huge number of
|
||||
// channels or size, but it's OK since we'll deal with the failure
|
||||
// gracefully.
|
||||
if (mInputChannels.SetLength(mNumberOfChannels)) {
|
||||
static const fallible_t fallible = fallible_t();
|
||||
for (uint32_t i = 0; i < mNumberOfChannels; ++i) {
|
||||
mInputChannels[i] = new(fallible) float[mLength];
|
||||
if (!mInputChannels[i]) {
|
||||
mInputChannels.Clear();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mBufferAllocated = true;
|
||||
}
|
||||
|
||||
// Handle the case of allocation failure in the input buffer
|
||||
if (mInputChannels.IsEmpty()) {
|
||||
return;
|
||||
@ -169,9 +177,11 @@ private:
|
||||
InputChannels mInputChannels;
|
||||
// An index representing the next offset in mInputChannels to be written to.
|
||||
uint32_t mWriteIndex;
|
||||
uint32_t mNumberOfChannels;
|
||||
// How many frames the OfflineAudioContext intends to produce.
|
||||
uint32_t mLength;
|
||||
float mSampleRate;
|
||||
bool mBufferAllocated;
|
||||
};
|
||||
|
||||
class InputMutedRunnable : public nsRunnable
|
||||
|
@ -105,7 +105,7 @@ nsSVGPolyElement::GetMarkPoints(nsTArray<nsSVGMark> *aMarks)
|
||||
if (i == 1) {
|
||||
aMarks->ElementAt(0).angle = angle;
|
||||
} else {
|
||||
aMarks->ElementAt(aMarks->Length() - 2).angle =
|
||||
aMarks->ElementAt(aMarks->Length() - 1).angle =
|
||||
SVGContentUtils::AngleBisect(prevAngle, angle);
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
if (!getBuildConfiguration().parallelJS)
|
||||
quit(0);
|
||||
|
||||
function f() {
|
||||
Function() * (function() {})()
|
||||
}
|
||||
|
15
layout/reftests/svg/marker-orientation-03.svg
Normal file
15
layout/reftests/svg/marker-orientation-03.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<marker id="startMarker" markerUnits="userSpaceOnUse" orient="auto" markerWidth="30" markerHeight="45" refX="15" refY="22.5">
|
||||
<rect fill="red" x="0.5" y="0.5" width="29" height="44"/>
|
||||
</marker>
|
||||
</defs>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
<polyline fill="none" marker-start="url(#startMarker)" points="190 40 220 40 310 190 340 190"/>
|
||||
<rect x="175" y="18" width="30" height="45" fill="lime" />
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 602 B |
@ -200,6 +200,7 @@ fuzzy-if(cocoaWidget,15,19679) fuzzy-if(winWidget,1,8800) fuzzy-if(!cocoaWidget&
|
||||
== marker-viewBox-01.svg marker-viewBox-01-ref.svg
|
||||
== marker-orientation-01.svg marker-orientation-01-ref.svg
|
||||
pref(svg.marker-improvements.enabled,true) == marker-orientation-02.svg marker-orientation-02-ref.svg
|
||||
== marker-orientation-03.svg pass.svg
|
||||
== mask-basic-01.svg pass.svg
|
||||
== mask-basic-02.svg mask-basic-02-ref.svg
|
||||
== mask-basic-03.svg pass.svg
|
||||
|
@ -3534,7 +3534,7 @@ Tab.prototype = {
|
||||
|
||||
setDisplayPort: function(aDisplayPort) {
|
||||
let zoom = this._zoom;
|
||||
let resolution = aDisplayPort.resolution;
|
||||
let resolution = this.restoredSessionZoom() || aDisplayPort.resolution;
|
||||
if (zoom <= 0 || resolution <= 0)
|
||||
return;
|
||||
|
||||
|
23
mobile/locales/en-US/searchplugins/duckduckgo.xml
Normal file
23
mobile/locales/en-US/searchplugins/duckduckgo.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>DuckDuckGo</ShortName>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExQTUzMUNFODI2QjhFRURFRCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4REU3ODU4OUE4OTMxMUUzODAxMUE0MzZGQUQ1RTAwNyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4RE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gNs7OzkQLEPw7nOs+CNh0XEwMWZSYjKsEKJRknM7PC1sNKPmEliQ/lV50eScHQgD4SCxSbkJBGYWpqKgpIuSpp0NG/JqZLDDwTw4omwEg4cLCVZSkiUYN9FrxbVk24XbQU89M3RY5C696ELEUF6LW74cT4TthzeQpe7p+DzX1zFNgW9m8N00VBaCWMpAeTrj0lBi5SnjvQnrUVrU773bt3jTllmVV3/ms17il4V7dGHSnTgrMzrodHtlEZ3/jKH05H5+4SI2qvZy70YL+J+ld8NEMFWmY2s3jYQFKNZedvHVKsXivuF1pJoNp9He1tg59/5JIJRYdR4gYrTmDlRzOpdNBMYk5FafrXhRjIyQVltlAp+wd6wfdPOwQjhxX+dKRvdb7Y4TSOyK4SvnjlIsdzXWyWI3fJ2PFcf83pWone/wUYANRs/BQLVeSGAAAAAElFTkSuQmCC</Image>
|
||||
<Url type="application/x-suggestions+json" method="GET" template="https://ac.duckduckgo.com/ac/">
|
||||
<Param name="q" value="{searchTerms}"/>
|
||||
<Param name="type" value="list"/>
|
||||
</Url>
|
||||
<!-- this is effectively x-moz-phonesearch, but search service expects a text/html entry -->
|
||||
<Url type="text/html" method="GET" template="https://duckduckgo.com/">
|
||||
<Param name="q" value="{searchTerms}" />
|
||||
<Param name="t" value="fpas" />
|
||||
</Url>
|
||||
<Url type="application/x-moz-tabletsearch" method="GET" template="https://duckduckgo.com/">
|
||||
<Param name="q" value="{searchTerms}" />
|
||||
<Param name="t" value="ftas" />
|
||||
</Url>
|
||||
<SearchForm>https://duckduckgo.com</SearchForm>
|
||||
</SearchPlugin>
|
@ -4,3 +4,4 @@ twitter
|
||||
wikipedia
|
||||
yahoo
|
||||
bing
|
||||
duckduckgo
|
||||
|
@ -258,8 +258,17 @@ nsAsyncRedirectVerifyHelper::IsOldChannelCanceled()
|
||||
do_QueryInterface(mOldChan);
|
||||
if (oldChannelInternal) {
|
||||
oldChannelInternal->GetCanceled(&canceled);
|
||||
if (canceled)
|
||||
if (canceled) {
|
||||
return true;
|
||||
}
|
||||
} else if (mOldChan) {
|
||||
// For non-HTTP channels check on the status, failure
|
||||
// indicates the channel has probably been canceled.
|
||||
nsresult status = NS_ERROR_FAILURE;
|
||||
mOldChan->GetStatus(&status);
|
||||
if (NS_FAILED(status)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -216,10 +216,10 @@ Http2Session::LogIO(Http2Session *self, Http2Stream *stream,
|
||||
const char *label,
|
||||
const char *data, uint32_t datalen)
|
||||
{
|
||||
if (!LOG4_ENABLED())
|
||||
if (!LOG5_ENABLED())
|
||||
return;
|
||||
|
||||
LOG4(("Http2Session::LogIO %p stream=%p id=0x%X [%s]",
|
||||
LOG5(("Http2Session::LogIO %p stream=%p id=0x%X [%s]",
|
||||
self, stream, stream ? stream->StreamID() : 0, label));
|
||||
|
||||
// Max line is (16 * 3) + 10(prefix) + newline + null
|
||||
@ -233,7 +233,7 @@ Http2Session::LogIO(Http2Session *self, Http2Stream *stream,
|
||||
if (!(index % 16)) {
|
||||
if (index) {
|
||||
*line = 0;
|
||||
LOG4(("%s", linebuf));
|
||||
LOG5(("%s", linebuf));
|
||||
}
|
||||
line = linebuf;
|
||||
PR_snprintf(line, 128, "%08X: ", index);
|
||||
@ -245,7 +245,7 @@ Http2Session::LogIO(Http2Session *self, Http2Stream *stream,
|
||||
}
|
||||
if (index) {
|
||||
*line = 0;
|
||||
LOG4(("%s", linebuf));
|
||||
LOG5(("%s", linebuf));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -155,10 +155,10 @@ void
|
||||
SpdySession3::LogIO(SpdySession3 *self, SpdyStream3 *stream, const char *label,
|
||||
const char *data, uint32_t datalen)
|
||||
{
|
||||
if (!LOG4_ENABLED())
|
||||
if (!LOG5_ENABLED())
|
||||
return;
|
||||
|
||||
LOG4(("SpdySession3::LogIO %p stream=%p id=0x%X [%s]",
|
||||
LOG5(("SpdySession3::LogIO %p stream=%p id=0x%X [%s]",
|
||||
self, stream, stream ? stream->StreamID() : 0, label));
|
||||
|
||||
// Max line is (16 * 3) + 10(prefix) + newline + null
|
||||
@ -172,7 +172,7 @@ SpdySession3::LogIO(SpdySession3 *self, SpdyStream3 *stream, const char *label,
|
||||
if (!(index % 16)) {
|
||||
if (index) {
|
||||
*line = 0;
|
||||
LOG4(("%s", linebuf));
|
||||
LOG5(("%s", linebuf));
|
||||
}
|
||||
line = linebuf;
|
||||
PR_snprintf(line, 128, "%08X: ", index);
|
||||
@ -184,7 +184,7 @@ SpdySession3::LogIO(SpdySession3 *self, SpdyStream3 *stream, const char *label,
|
||||
}
|
||||
if (index) {
|
||||
*line = 0;
|
||||
LOG4(("%s", linebuf));
|
||||
LOG5(("%s", linebuf));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -158,10 +158,10 @@ void
|
||||
SpdySession31::LogIO(SpdySession31 *self, SpdyStream31 *stream, const char *label,
|
||||
const char *data, uint32_t datalen)
|
||||
{
|
||||
if (!LOG4_ENABLED())
|
||||
if (!LOG5_ENABLED())
|
||||
return;
|
||||
|
||||
LOG4(("SpdySession31::LogIO %p stream=%p id=0x%X [%s]",
|
||||
LOG5(("SpdySession31::LogIO %p stream=%p id=0x%X [%s]",
|
||||
self, stream, stream ? stream->StreamID() : 0, label));
|
||||
|
||||
// Max line is (16 * 3) + 10(prefix) + newline + null
|
||||
@ -175,7 +175,7 @@ SpdySession31::LogIO(SpdySession31 *self, SpdyStream31 *stream, const char *labe
|
||||
if (!(index % 16)) {
|
||||
if (index) {
|
||||
*line = 0;
|
||||
LOG4(("%s", linebuf));
|
||||
LOG5(("%s", linebuf));
|
||||
}
|
||||
line = linebuf;
|
||||
PR_snprintf(line, 128, "%08X: ", index);
|
||||
@ -187,7 +187,7 @@ SpdySession31::LogIO(SpdySession31 *self, SpdyStream31 *stream, const char *labe
|
||||
}
|
||||
if (index) {
|
||||
*line = 0;
|
||||
LOG4(("%s", linebuf));
|
||||
LOG5(("%s", linebuf));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user