Commit graph

53 commits

Author SHA1 Message Date
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Christoph Kerschbaumer
bf807bce29 Bug 1399074 - Update more tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-12 17:54:49 +02:00
Andrea Marchesini
9efa4e6493 Bug 1368029 - Remove LRU priority support from ProcessPriorityManager, r=gsvelto 2017-05-26 17:50:17 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Andrea Marchesini
3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Ting-Yu Lin
bc5a26efde Bug 1307252 - Hide the carets when the selection is made by select all. r=kanru,kats
The mochitest for clipboard still needs the mozbrowsercaretstatechanged events,
so we disable "layout.accessiblecaret.hide_carets_for_mouse_input".

MozReview-Commit-ID: CD03lmjwUa9

--HG--
extra : rebase_source : 530d241764d55ed6507f993511c74cf820195283
2016-10-05 15:46:36 +08:00
Alexandre Lissy
6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Ting-Yu Lin
00f0ffd013 Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng, r=smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

DONTBUILD

--HG--
extra : amend_source : 1348306b0eee27ae08cef1b947e383dfded7798c
2015-12-22 14:14:12 +08:00
Nigel Babu
87cf2dd471 Backed out changeset c97319b5cb12 (bug 1221459) 2015-12-22 14:03:16 +05:30
Ting-Yu Lin
69a670793a Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng,smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

--HG--
extra : commitid : GWwMqChxnUT
extra : source : 3f2c650804415aa98f42369bc2061ab2ada98661
extra : amend_source : b8f3a445248397f140723a07ea5bc85ed67d6054
2015-12-22 14:14:12 +08:00
Boris Chiou
50975ecf3c Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Gabriele Svelto
c693511438 Bug 1144132 - Adjust the priority of an activity opener so that it's above other background applications. r=fabrice
--HG--
rename : dom/browser-element/mochitest/priority/test_Background.html => dom/browser-element/mochitest/priority/test_Activity.html
rename : dom/browser-element/mochitest/priority/test_ForegroundLRU.html => dom/browser-element/mochitest/priority/test_MultipleActivities.html
2015-06-13 15:16:00 +02:00
Morris Tseng
bf13766420 Bug 1155493 - Part 4 - Add test for mozbrowsercaretstatechanged. r=kanru 2015-05-28 01:39:00 -04:00
Ryan VanderMeulen
cf9976434d Backed out 4 changesets (bug 1155493) for Android test_browserElement_inproc_CopyPaste.html timeouts/crashes.
Backed out changeset 3bd7adb9f591 (bug 1155493)
Backed out changeset 0380b1684e6b (bug 1155493)
Backed out changeset 58b7c1eaf3c8 (bug 1155493)
Backed out changeset 896beb5088a7 (bug 1155493)
2015-05-25 13:15:06 -04:00
Morris Tseng
bdae42a9c6 Bug 1155493 - Part 4: Add test for mozbrowsercaretstatechanged. r=kchen
--HG--
extra : source : 37cf24967016342b1bfe069c32321489d730bec3
2015-05-19 21:00:00 -04:00
Gabriele Svelto
ae624cb0f7 Bug 1157030 - Revert bug 1142806. r=khuey 2015-04-30 11:25:29 +02:00
Kan-Ru Chen (陳侃如)
0f190a6665 Bug 1142806 - Try to keep at least one foreground process at any time. r=gsvelto
--HG--
rename : dom/browser-element/mochitest/priority/test_Keyboard.html => dom/browser-element/mochitest/priority/test_DelayedBackgroundTransition.html
2015-04-13 16:25:09 +08:00
Gabriele Svelto
8988e8ef03 Bug 892371 - Add mochitests covering LRU priority adjustments for both foreground and background processes. r=khuey 2015-03-10 21:28:05 +01:00
Gabriele Svelto
243ffd8828 Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey 2015-02-25 09:37:38 +01:00
Gabriele Svelto
1f8afa872a Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
Kan-Ru Chen (陳侃如)
630d892dd6 Bug 1090759 - Part 3. Fix tests broken by DOM Promise's asyncness r=smaug 2014-10-31 10:39:14 +08:00
Kan-Ru Chen (陳侃如)
4fc798d590 Bug 1090759 - Part 2. Use DOM Promise in browserElementTestHelpers.js. r=smaug 2014-10-31 10:39:14 +08:00
Kan-Ru Chen (陳侃如)
b7d831b788 Bug 1090759 - Part 1. Use pushPermissions in browserElementTestHelpers.js. r=smaug 2014-10-31 10:39:13 +08:00
Morris Tseng
7e5806cf78 Bug 987040 - Part 4: mochitest for mozbrowserselectionchange api. r=ehsan 2014-07-28 01:21:00 +02:00
Ryan VanderMeulen
1037218183 Merge inbound to m-c. 2013-12-16 16:58:27 -05:00
Alan Huang
223ff1be02 Backed out changesets 21b77163bf9f and ebcfdf7200db (bug 922919) because the logging code is no longer needed. r=khuey 2013-12-10 11:25:01 +08:00
Jason Orendorff
c94166ded7 Bug 793860, part 0c - Declare some accidentally undeclared variables. r=ahuang.
--HG--
extra : rebase_source : b2d03a16926a924717e687516521d58614487d3c
2013-12-16 06:02:26 -06:00
Alan Huang
8eb7f04576 Bug 922919 - Set three preferences in one asynchronous call to fix timing bug. r=khuey 2013-11-11 16:10:20 +08:00
Alan Huang
f43546ed61 Bug 922919: Add logging to detect "Intermittent test_BackgroundLRU.html | Test timed out". r=khuey 2013-11-07 11:14:27 +08:00
Alan Huang
f36c0848bb Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey 2013-10-01 11:54:59 +08:00
Mark Hammond
a459f7acd2 Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Mark Hammond
0ca51642ad Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Justin Lebar
261c93bc2f Bug 870181 - Part 3: Test that we downgrade processes' CPU priorities when appropriate. r=bent 2013-05-09 16:27:06 -04:00
Justin Lebar
b6fbaf6db2 Bug 844323 - Part 3: ProcessPriorityManager tests. r=nsm,khuey 2013-04-25 20:53:26 -04:00
Tanvi Vyas
7e9705819e Bug 834836 - Disable mixed content blocking when running tests that rely on mixed active content loads to test security state. r=smaug 2013-04-04 14:52:52 -07:00
Justin Lebar
4ca15feade Bug 852847 - Part 2: Do things later in our browser-element tests, thus avoiding doing things before the browser-element machinery has loaded. r=kk1ff
Also set network.disable.ipc.security to true and leave it that way. This prevents security errors in the tests which happen when we pop the pref.

--HG--
extra : rebase_source : 95f7ca7c3b71cdc0e3e6fd1cfb663a5653f3ab6f
2013-03-28 15:51:10 -04:00
Josh Matthews
7482ee38c6 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
315334a8d5 Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
8574d2db42 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Ed Morley
f41c087da9 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
4d20bfdcc1 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Gregor Wagner
4b599bd464 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Justin Lebar
7079a51003 Bug 741755 - Part 4: Tests for goBack / goForward on <iframe mozbrowser>. r=smaug
--HG--
rename : dom/browser-element/mochitest/browserElement_CanGoBack.js => dom/browser-element/mochitest/browserElement_BackForward.js
rename : dom/browser-element/mochitest/test_browserElement_oop_CanGoBack.html => dom/browser-element/mochitest/test_browserElement_oop_BackForward.html
2012-06-21 14:23:48 -04:00
Justin Lebar
5304ed44a0 Bug 764232 - Disable oop browser element tests on Windows using the build system. r=vingtetun
This lets us have true "oop-only" tests.
2012-06-13 17:26:10 -04:00
Justin Lebar
31954f2dce Bug 762049 - Part 5: Disable OOP tests on Windows. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
7b6656d5f8 Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
5c8a78fdac Bug 762049 - Part 3: Rename browserFrameHelpers to browserElementTestHelpers. r=mounir
--HG--
rename : dom/browser-element/mochitest/browserFrameHelpers.js => dom/browser-element/mochitest/browserElementTestHelpers.js
2012-06-09 12:05:31 -04:00
Justin Lebar
a457400b0b Backed out changeset e129ca091029 (bug 762049)
--HG--
rename : dom/browser-element/mochitest/browserElementTestHelpers.js => dom/browser-element/mochitest/browserFrameHelpers.js
2012-06-07 20:04:28 -04:00