gecko-dev/devtools/client
Sami Jaktholm 9afc5381bb Bug 1239920 - Ignore unexpected requests in browser_console_netlogging.js;r=bgrins
The problem here is that the test expects to receive a request for the
|test-network-request.html| but the waitForFinishedRequest() accepts any
request that happens to occur at the same time. In this particular bug,
a GMP update is triggered during the test and the waitForFinishedRequest()
promise resolves with that particular request which obviously isn't the
one the test was expecting.

These changes add an optional predicate function parameter to
waitForFinishedRequest() which will be called for each completed request
and the returned promise only resolves when the predicate returns true for
a request.

Also, browser_console_netlogging.js begins to use the aforementioned
functionality by passing a predicate that only accepts the request for
|test-network-request.html| effectively fixing the intermittent failure.


MozReview-Commit-ID: AWhMRjrqP8i
2016-03-25 08:11:06 +02:00
..
aboutdebugging Bug 1257873 - Split Addons and Workers into separate Target classes in about:debugging. r=ochameau 2016-03-18 09:08:00 -04:00
animationinspector Bug 1253493 - Part2: Show iterationStart to the GUI. r=pbro 2016-03-23 13:06:43 +09:00
canvasdebugger Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins 2016-03-25 10:01:12 -07:00
commandline Bug 1233463 - Ensure waiting for toolbox initialization in browser_cmd_csscoverage_startstop.js. r=jryans 2016-03-16 06:42:19 -07:00
debugger Bug 1258981 - sources-view.js: The popupshown listener is incorrectly removed. r=jlongster 2016-03-23 02:59:00 -04:00
eyedropper Bug 1253886 - Re-add reference to common.css from the eyedropper frame;r=pbrosset 2016-03-08 09:54:47 -08:00
framework Bug 1258333 - Prevent errors when unhighlighting when the toolbox is closed; r=zer0 2016-03-23 17:26:25 +01:00
inspector Bug 1250835 - Display swatch for angles in the rules panel. r=miker 2016-03-08 23:04:54 +01:00
jsonview Bug 1244912 - JSON Viewer: hide object summary when object is expanded; r=jryans 2016-03-22 15:36:52 +01:00
locales Bug 1241815 - Show a message when filtering yields no matches; r=jsantell 2016-03-23 13:08:29 -07:00
memory Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins 2016-03-25 10:01:12 -07:00
netmonitor Backed out changeset 792ec1f6bbbf (bug 1258361) for failing on own test 2016-03-22 14:02:44 +01:00
performance Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins 2016-03-25 10:01:12 -07:00
preferences Bug 1245121 - Enable JSON Viewer on !RELEASE_BUILD. r=Honza 2016-03-04 17:03:39 -06:00
projecteditor Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
promisedebugger Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau 2016-02-16 16:10:25 -08:00
responsive.html Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
responsivedesign Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
scratchpad Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-11 08:33:44 -08:00
shadereditor Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
shared Bug 1259241 - Update demangling library to 1.0.1 to fix a memory leak. r=fitzgen 2016-03-23 14:48:00 -04:00
shims Bug 1252287 - Repair gDevTools shim to use Services.jsm. r=ochameau 2016-03-01 10:34:51 -06:00
sourceeditor Bug 1258793 - Upgrade to CodeMirror 5.13.0 r=bgrins 2016-03-23 12:41:06 -04:00
storage Bug 1231154 - Make cookies table fields editable via double-click in storage inspector r+pbro 2016-03-01 23:36:39 +00:00
styleeditor Bug 1242988 - Replac styleeditor's _ l10n function with getString. r=pbro 2016-03-22 02:55:00 -04:00
themes Bug 1241815 - Show a message when filtering yields no matches; r=jsantell 2016-03-23 13:08:29 -07:00
webaudioeditor Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
webconsole Bug 1239920 - Ignore unexpected requests in browser_console_netlogging.js;r=bgrins 2016-03-25 08:11:06 +02:00
webide Bug 1255809 - Sign extensions needed by devtools/client/webide/test/test_simulators.html, r=jryans 2016-03-15 12:24:39 -04:00
definitions.js Bug 1246514 - Switch toolbox-options.xul to HTML. r=bgrins 2016-02-26 23:40:14 +01:00
devtools-startup.js Bug 1248600 - Remove registerBrowserWindow/forgetBrowserWindow calls from /browser/. r=jryans 2016-02-24 02:06:42 -08:00
devtools-startup.manifest Bug 1248600 - Remove registerBrowserWindow/forgetBrowserWindow calls from /browser/. r=jryans 2016-02-24 02:06:42 -08:00
jar.mn Bug 1250835 - Display swatch for angles in the rules panel. r=miker 2016-03-08 23:04:54 +01:00
main.js Bug 1247203 - Register tools and themes in the sorted order. r=jryans 2016-03-04 07:51:12 -08:00
moz.build Bug 1245875 - Remove Tilt from tree. r=vporof,jwalker 2016-03-03 02:27:22 -08:00