Commit Graph

538757 Commits

Author SHA1 Message Date
Sebastian Hengst
2748dd52d2 Backed out changeset 6da58c7bb247 (bug 1365649) for frequently failing devtools/client/netmonitor/test/browser_net_simple-request-data.js. r=backout 2017-05-28 11:32:16 +02:00
Sebastian Hengst
877985ac99 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Sebastian Hengst
650ec6b428 Backed out changeset 22e7144f857c (bug 1242505) 2017-05-28 11:31:17 +02:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Sebastian Hengst
2aea17aeb6 Backed out changeset c9c01c06908a (bug 1242505) 2017-05-28 11:31:06 +02:00
Sebastian Hengst
ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini
94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01:00
Paolo Amadini
71878bc0cf Bug 1242505 - Part 4 - Add self-tests for unhandled rejection handling in browser-chrome tests. r=Mossop
MozReview-Commit-ID: 9gloXfhfZ3x

--HG--
rename : testing/mochitest/tests/browser/browser_fail_add_task.js => testing/mochitest/tests/browser/browser_fail_add_task_uncaught_rejection.js
extra : rebase_source : 31e3a52cb783a656119253e6a380260883bb0de3
2017-05-27 09:15:19 +01:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Paolo Amadini
8cac26aed1 Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : de5fa91a5e9769c7ca42fc2c00ea54f169a3e12b
2017-05-25 15:00:29 +01:00
Paolo Amadini
6886a4fb81 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 83a77cbfe5629abe99ae575b57592361ea9627b8
2017-05-25 15:00:22 +01:00
Paolo Amadini
07056b1bad Bug 1365649 - Improve browser-chrome self-tests and the "fail-if" manifest property handling. r=Mossop
The browser-chrome self-test files now use the setExpectedFailuresForSelfTest function to specify the exact number of assertion failures that will be triggered. Also, most failures are now intercepted when specifying the "fail-if" property in a "browser.ini" manifest, while previously only those triggered using the "ok" function were intercepted. This allows re-enabling several browser-chome self-tests.

MozReview-Commit-ID: DlDjWaJPfvH

--HG--
extra : rebase_source : 498914c84ab69dd484fb5487ad9967073c331fd3
2017-05-27 09:12:02 +01:00
Kilik Kuo
c6bf611b7a Bug 1350241 -Part2: Create a customized player based on ExoPlayer and inject customzied {Audio,Video}Renderers as the source of HLS demuxed samples. r=jolin,jya
MozReview-Commit-ID: CAyaxKUoJzm

--HG--
extra : rebase_source : fd8d3c019236a1ffe3172fbf1d8855b8aadf8de6
2017-05-25 20:48:43 +08:00
Dan Glastonbury
4b414a3c6c Bug 1367646 - Update WebRTC with cubeb_device_collection changes. r+jesup r=jesup,kinetik
MozReview-Commit-ID: 3llJO2vWPJh

--HG--
extra : rebase_source : 70ef5201d310b1b034c24070c572e26a001e24a5
2017-05-25 15:28:24 +10:00
Kilik Kuo
7f124232fa Bug 1350241 -Part1: Provide data structure of {Audio,Video}Info and demuxed sample for the use of HLS on Fennec. r=jolin,jya
MozReview-Commit-ID: 11triLS84Gq

--HG--
extra : rebase_source : a1c0d04a476560156ddf4919ab4fc277833b4db1
2017-05-25 12:46:06 +08:00
Henrik Skupin
cbf941ed71 Bug 1336254 - Use http://no-ssl.mozqa.com to access test pages on mozqa.com without SSL. r=maja_zf
All connections to mozqa.com which do not use SSL have to be done
to a unique subdomain. This was requested to lower the amount of
active HTTP endpoints.

MozReview-Commit-ID: JAFjQFhTCxT

--HG--
extra : rebase_source : 7f584f4a3848b122eadd6e25799d43718352a03d
2017-05-26 18:29:35 +02:00
Masayuki Nakano
b923eafc5c Bug 1367690 Optimize Selection::selectFrames() r=mats
Selection::selectFrames() always creates two content iterators.  However, if the range is in a node and it doesn't have children, we don't need walk the DOM tree.  So, it should create content iterators only when they are necessary.

Additionally, both Selection::selectFrames() and Selection::SelectAllFramesForContent() handle first content twice, but it's not necessary.

Finally, they query interface to retrieve nsIContent* from nsINode* a lot.

This patch fixes those issues too.

MozReview-Commit-ID: 5bfYz6Zuqkg

--HG--
extra : rebase_source : cb65a313f1a9af0e0520e3fece7c065d11018aa0
2017-05-28 09:37:10 +09:00
Phil Ringnalda
c7eabb648d Merge m-c to autoland
MozReview-Commit-ID: 6uWMtNFyX5e
2017-05-27 21:34:27 -07:00
Dan Glastonbury
9224fdaf13 Bug 1367646 - Update cubeb from upstream to 087dc94. r=kinetik
MozReview-Commit-ID: E1D2XCtugqW

--HG--
extra : rebase_source : 20d630e763aa840d1a07e0edf128206dd8b679e8
2017-05-25 14:45:04 +10:00
Micah Tigley
d7a7ea94cf Bug 1348471 - Display a message when the grid outline cannot effectively be fitted inside the layout panel. r=gl
MozReview-Commit-ID: 57cikdLW3IV
2017-05-24 19:40:07 -06:00
Nicholas Nethercote
da7ad06b3b Bug 1353998 - Start measuring Stylo style sheet memory usage. r=heycam.
--HG--
extra : rebase_source : 85f83566643e7b4c2276f0bf3fbb1a907f58fe0e
2017-05-30 11:03:51 +10:00
Kris Maglione
fea32e83c0 Bug 1357490: Follow-up: Disable OOP xpcshell tests on OS-X.
MozReview-Commit-ID: 2lkMt7rAWNP
2017-05-29 19:27:24 -07:00
Kris Maglione
4f9fa18383 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => browser/components/extensions/test/xpcshell/head_remote.js
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-common.ini
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-remote.ini
extra : source : 3737f31a7ec3dcc68068e817b4b016b76c857d9e
extra : absorb_source : dda25d718165c99dd6cd0233921367a28035c01c
2017-05-29 14:10:27 -07:00
Kris Maglione
357f0eefb9 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => toolkit/components/extensions/test/xpcshell/head_e10s.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
rename : toolkit/components/extensions/test/xpcshell/xpcshell-remote.ini => toolkit/components/extensions/test/xpcshell/xpcshell-e10s.ini
extra : source : 33f6f0354aded142e7a41d5a6209d0d95c4c7521
extra : absorb_source : e8c14432bfe17b5d4767e14eadbbb408df4dd664
2017-05-29 14:09:36 -07:00
Phil Ringnalda
1c31cbe46c Backed out 2 changesets (bug 1357490) for promise chain failed to handle a rejection QI failures
CLOSED TREE

Backed out changeset 3737f31a7ec3 (bug 1357490)
Backed out changeset 33f6f0354ade (bug 1357490)

MozReview-Commit-ID: 2Q4bUrnntlZ
2017-05-29 16:34:00 -07:00
Chris Pearce
b7b2dab14d Bug 1355252 - Backed out changeset c19d32e2a710. r=backout
MozReview-Commit-ID: 7pTa64IsIq2

--HG--
extra : rebase_source : 27ec010599614d1402e9621149cb953464ec7603
2017-05-30 10:34:13 +12:00
Chris Pearce
1a44af43a6 Bug 1355252 - Backed out changeset ddb3969de046. r=backout
MozReview-Commit-ID: cdH0WSFOaz

--HG--
extra : rebase_source : 3b1eebcf7323cbcc037d1a2e0d92a923f217d811
2017-05-30 10:33:30 +12:00
Geoff Brown
72cf96c3de Bug 1332970 - Allow assertion in test_restyles.html; r=hiro
Frequent intermittent assertions have been happening for a long time.
2017-05-29 16:03:51 -06:00
Kris Maglione
365c2b4b31 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => browser/components/extensions/test/xpcshell/head_remote.js
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-common.ini
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-remote.ini
extra : rebase_source : 099c7825e08689c910dc5f0e03db633c44b01022
extra : histedit_source : 24b679d028c1519f884630c606227f43cbca2a97%2C5265e99c4c850ad4b7ddaabb2d49e7ef739bb56a
2017-05-29 14:10:27 -07:00
Kris Maglione
3a2fc75838 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => toolkit/components/extensions/test/xpcshell/head_e10s.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
rename : toolkit/components/extensions/test/xpcshell/xpcshell-remote.ini => toolkit/components/extensions/test/xpcshell/xpcshell-e10s.ini
extra : rebase_source : 05fb233ac80a170d53888fe473a3135c22f95f13
extra : histedit_source : 4a655b3f582ea090a46584ae38119202d037de0f%2Cfcde51f55e5a3e1aed13c85051fdc6fe004e0ff1
2017-05-29 14:09:36 -07:00
Ehsan Akhgari
1bdcddf20c Bug 1361709 - Move FlushPendingLinkUpdatesFromRunnable to idle dispatch; r=smaug 2017-05-29 16:22:24 -04:00
Gabriel Luong
c00006d22f Bug 1321238 - Add unit tests for the Grid List and Display setting components. r=jdescottes 2017-05-29 15:54:35 -04:00
Jan de Mooij
c267850d09 Bug 1355573 - Fix AtomizeAndCopyChars to validate length before taking the lock as it may reenter. r=anba 2017-05-29 21:29:11 +02:00
Phil Ringnalda
40aaa48351 Backed out changeset ad742747a8d0 (bug 1321238) for (at least) eslint failures
MozReview-Commit-ID: Em8hWRGDB3Y
2017-05-29 11:45:33 -07:00
Ehsan Akhgari
632ef747e7 Bug 1368286 - Take the idle queue into account in nsThread::HasPendingEvents(); r=smaug 2017-05-29 14:34:34 -04:00
Gabriel Luong
5edbe33f43 Bug 1321238 - Add unit tests for the Grid List and Display setting components. r=jdescottes 2017-05-29 14:23:56 -04:00
Andreas Farre
912c9f8f9c Bug 1368335 - Add test for idle dispatch after global window suspend. r=smaug 2017-05-29 18:58:35 +02:00
Andreas Farre
d73636b6e1 Bug 1368335 - Don't dispatch idle executor when window has suspended. r=smaug 2017-05-29 18:58:26 +02:00
Geoff Brown
ccf301673c Bug 1352668 - Skip test browser_ext_browserAction_popup_preload.js on win-opt; r=me,test-only
Test has been failing frequently on Windows since May 12.
2017-05-29 10:36:39 -06:00
Geoff Brown
1afd12debb Bug 1157576 - Skip test browser_bug706743.js on e10s, again, for ongoing failures; r=me,test-only 2017-05-29 10:36:37 -06:00
Nicolas B. Pierron
8ea6209d25 Bug 1364117 - Encode JS bytecode of scripts which are parsed on the main thread. r=mrbkap 2017-05-29 16:01:37 +00:00
Jonathan Kew
30cba7385b Bug 1365278 - Remove WORD_CACHE_* telemetry probes that provide little value for their cost. r=milan 2017-05-29 16:19:36 +01:00
Olli Pettay
5e7b0d0105 Bug 1368358 - ThrottledEventQueue::Inner::IsOnCurrentThread should work similarly to other IsOnCurrentThread implementations, r=bkelly
--HG--
extra : rebase_source : 976c25959938bb6572c95ff6120552b9ebad65d7
2017-05-29 17:04:36 +03:00
Jeremy Chen
66780bc3e6 Bug 1340561 - fix comment for the re-enabled svg crashtest. comment-only, no review, DONTBUILD
This test has been re-enabled for stylo in bug 1342596, but the comment
is somehow left.

MozReview-Commit-ID: BDbJGSCz8io
2017-05-29 21:58:12 +08:00
Petr Sumbera
acc89e9d56 Bug 1367775 - libstagefright build should avoid _GLIBCXX_OS_DEFINES on Solaris. r=gerald 2017-05-29 00:36:19 -07:00
Junior Hsu
1eb95dd7bf Bug 1363659 - Ensure not sending IPC constructor in HTTP channel when shutting down, r=nwgh 2017-05-26 03:10:00 +02:00
Junior Hsu
6d29e8963d Bug 1363659 - Ensure not sending file channel constructor when shutting down, r=valentin 2017-05-26 03:10:00 +02:00
Junior Hsu
90f88bd0ac Bug 1363659 - Ensure not sending IPC constructor in FTP channel when shutting down, r=valentin 2017-05-26 03:09:00 +02:00
Junior Hsu
b2a039ad47 Bug 1363659 - Ensure not sending data channel constructor when shutting down, r=valentin 2017-05-26 03:09:00 +02:00
Junior Hsu
d3b4793122 Bug 1363659 - Ensure not sending dns request constructor when shutting down, r=valentin 2017-05-26 03:08:00 +02:00