Commit Graph

224 Commits

Author SHA1 Message Date
L. David Baron
05d5d9dfa9 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ehsan Akhgari
08ba6f9b51 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
486f369f1f Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
b855a12fa5 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Jonathan Mayer
4bd2d83991 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Georg Fritzsche
961f449d4a Bug 842687 - Test for uint32_t plug-in value; r=bsmedberg 2013-02-20 20:17:21 +01:00
David Keeler
c5d99fd5ae bug 838290 - make nsIPluginHost.getPermissionStringForType more robust r=bsmedberg 2013-02-13 10:15:40 -08:00
Drew Willcoxon
9815eb95b6 Bug 648675 - Allow comments and URL opt-in in content/plugin crash UI. r=dolske,ted 2013-02-14 15:57:50 -08:00
Georg Fritzsche
8c689a1dbd Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Ed Morley
ecf12df05c Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley
d284176066 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche
8780b762d1 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche
64e6c63551 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Daniel Holbert
5a45d4e7a1 Bug 836455: Sanity-check the result of 'fread()' in nptest.cpp to fix opt build warning. r=bsmedberg 2013-02-11 10:16:51 -08:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Raymond Lee
72b1eac15e Bug 806723 - Port plugin test_privatemode.xul to the new per-tab PB APIs r=jdm
--HG--
rename : dom/plugins/test/mochitest/test_privatemode.xul => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
extra : rebase_source : 482bddf5f3af6be0aa92ef53783e2153860f5478
2013-01-25 13:59:54 +08:00
Georg Fritzsche
b8e8e1bc08 Bug 813245 - Sanity-check for mimetype count from pluginreg.dat. r=bsmedberg 2012-12-21 16:12:46 +01:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
David Keeler
59e22a4f43 bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Masatoshi Kimura
2a245d47d2 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Daniel Holbert
9c4c24d5fb Bug 821528: Remove unused static function "pluginDrawWindow()" from nptest_droid.cpp. r=blassey 2012-12-19 13:12:46 -08:00
Jim Mathies
f5523fcce2 Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
John Schoenick
6c4c40316f Bug 822040 - Cleanup the channel when plugins reject their initial stream. r=josh 2012-12-16 19:36:02 -08:00
Daniel Holbert
546cb6d420 back out FAIL_ON_WARNINGS labeling from bug 821392, since there's one remaining android-only warning in that directory. (CLOSED TREE) 2012-12-13 16:26:30 -08:00
Daniel Holbert
09458593c2 Bug 821392: Mark pluginSupportsAsyncDXGIDrawing as 'inline' instead of 'static' to fix build warning for .cpp files that #include it without using that method. r=Bas 2012-12-13 15:53:03 -08:00
Georg Fritzsche
d543e765a5 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
Ehsan Akhgari
7dafd40798 Bug 806723 - Part 0: Don't run test_privatemode.xul in per-window PB builds 2012-12-06 00:26:04 -05:00
Bobby Holley
645bf15f18 Bug 808608 - Fix up tests to work with new behavior. r=bz,me 2012-11-21 13:20:05 -08:00
Seth Fowler
c42d3467d8 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Benjamin Smedberg
15167b0f9e Bug 791244 test fixup - allow for the pref to be unset by default, r=gfritzsche
--HG--
extra : transplant_source : kuU%89j%A3%2A%DF%E0%D0%A5S%07%5D%99z%1D%7B%B1%C8
2012-11-20 10:32:41 -05:00
Jim Mathies
219d437ae4 Bug 810810 - Fixup misc. directory issues with plugin tests. r=bsmedberg, glandium 2012-11-17 14:35:24 -06:00
Josh Matthews
f170d080f0 Bug 722850 - Part 4: Make plugins provide the channel of the owning document when manipulating cookies. r=bsmedberg 2012-11-16 16:40:22 +00:00
Ed Morley
f1e15b22a9 Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures 2012-11-16 14:18:41 +00:00
Josh Matthews
7e9fe96633 Bug 722850 - Part 4: Make plugins provide the channel of the owning document when manipulating cookies. r=bsmedberg 2012-11-16 12:32:57 +00:00
Ed Morley
69866f44ad Backout a9541226ccd5 (bug 766886) to re-enable the test on debug builds, now the cause of the intermittent failure has been fixed 2012-11-13 17:16:36 +00:00
Georg Fritzsche
e2d5724aef Bug 805330 - Cleanup and attempt to avoid intermittent orange from bug 751809. r=josh 2012-10-29 18:27:32 +01:00
Karl Tomlinson
47fe4611b0 b=810426 Flush() old surfaces before the plugin may redraw r=roc
--HG--
extra : transplant_source : n%F7%0D%20J%D9%DF%CBY%60J0%09%F2%02h2%DC%C6%E7
2012-11-11 21:10:32 -08:00
Karl Tomlinson
c1da212b69 b=807728 use mozPaintCount instead of getPaintCount to keep track of when the browser gets updates rather than when the plugin provides them
--HG--
extra : transplant_source : Rc%0D2%F2%BF%B6%B0%B5%FB%3Cx%EC.%9EC%28%D5%2Cf
2012-11-11 21:06:08 -08:00
Karl Tomlinson
226c9bfc31 disable test for bug 807728 due to win debug failure
--HG--
extra : rebase_source : c72b0814e628a811dfcc48513ab4078123ac279e
2012-11-08 13:12:29 +13:00
Karl Tomlinson
0a93781164 test for bug 807728
--HG--
extra : transplant_source : Y%9F%88%0CW%10Ko3r%1Ej%C2%D3%237%E5%BFu%B1
2012-11-08 10:15:42 +13:00
Phil Ringnalda
57ee1d4b4b Bug 766886 - Reenable test_pluginstream_seek_close.html to see whether it leaks, or only test_streamatclose.html does 2012-10-28 13:11:28 -07:00
Phil Ringnalda
b51c6336e4 Bug 766886 - Disable test_streamatclose.html in debug builds for frequent leaks 2012-10-28 13:09:37 -07:00
Ed Morley
d96dc9fce6 Bug 766886 - Disable test_pluginstream_seek_close.html for intermittent leaks 2012-10-27 17:16:21 -04:00
Josh Aas
c23d372216 Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Robert O'Callahan
7f239f3743 Bug 626245. Part 2: Fix test_convertpoint to poll until the plugin is in the right place. r=matspal
--HG--
extra : rebase_source : e949763a9925736723617ca3f829c52b4a5e40d1
2012-10-08 17:46:52 +13:00
Nathan Froyd
14c4b5f9e8 Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan 2012-10-05 17:28:24 -04:00
Rafael Ávila de Espíndola
2b545412b3 Bug 790830 - "Assertion failed: (len == 9 || len == 8), function parseHexColor" in test plugin. r=joshmoz. 2012-10-10 13:54:43 -04:00
Steven Michaud
8650a61e2a Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Matt Woodrow
e79b288e75 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
6bcc0bc124 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ted Mielczarek
072f55125f bug 705047 - re-enable OOP crashreporter tests on mac. r=philor 2012-09-20 10:50:21 -04:00
Georg Fritzsche
0b48ef3fc4 Bug 791215 - Test for plugin hang submission. r=ted 2012-09-21 19:38:37 +02:00
Karl Tomlinson
a984124d85 reftest for bug 777946 r=roc
--HG--
extra : transplant_source : -%F70%922y%A0H%9E%F9%1D%20%A2%96u%D3%2A%0F%B5%1E
2012-09-18 10:15:35 +12:00
Ed Morley
d8eec8e75e Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Karl Tomlinson
3f52f70c45 reftest for bug 777946 r=roc
--HG--
extra : transplant_source : %5C%A9i%A5%D9B%12%5B%3E%E7%96%85%AF%A6WN%29%D6%F9n
2012-09-06 16:57:21 +12:00
SADINENI RAVI CHANDRA
f38dfb3765 Bug 654618: Fix signed/unsigned comparison warnings in nptest.cpp. r=bsmedberg 2012-09-10 23:53:04 -07:00
Georg Fritzsche
40a04e4be6 Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
Jan Beich
cd507f028e Bug 787730 - Don't assume NULL to be a character; r=ehsan 2012-09-06 12:53:00 -04:00
Mike Hommey
68052c3774 Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Phil Ringnalda
f284fdc546 Bug 705047 followup, the || and or keys are right next to each other 2012-09-03 23:42:34 -07:00
Phil Ringnalda
35230b345c Bug 705047 - Disable the plugin crash notification tests that fail on 10.7 on 10.8 too, where they fail too
--HG--
extra : rebase_source : 6a6810ce9ae266cd4a5471f89ec40cefb433505d
2012-08-29 21:33:34 -07:00
Marco Castelluccio
06e9980fa6 Bug 778029 - Fix distorted windowless flash with X11 GL layers. r=BenWa 2012-09-01 11:35:56 -04:00
Georg Fritzsche
2ff77751e7 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Ehsan Akhgari
2962d2eed1 Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Georg Fritzsche
d4c52b352e Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Ed Morley
bcf1b25e7a Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Karl Tomlinson
bf312c647a b=782185 use extend_pad when compositing image layers even for Quartz and X11 r=roc
--HG--
extra : transplant_source : %F7%24N%7E%E0y%C4%2C%D4%9B%DB%83B_Ai6%A1%7E%91
2012-08-14 23:47:49 +12:00
Georg Fritzsche
9037e4a2d2 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
David Keeler
c9b632ded8 Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Phil Ringnalda
debd135a9a Back out ecb6aaee9601 (Bug 781133) for Windows moth orange
--HG--
extra : rebase_source : 1b1945149e808faf3b83eee5afe08bd84fe831e7
2012-08-08 22:44:21 -07:00
Georg Fritzsche
0cded142db Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ryan VanderMeulen
355728ff0a Backout ac8d6c79a074 (bug 781133) and fccc68cc904f (bug 781124) for Windows bustage on a CLOSED TREE. 2012-08-08 18:30:26 -04:00
Georg Fritzsche
44d743d83e Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Christian Holler
fd3a2936b7 Bug 779111 - Disable certain mochitests in dom/plugins when building without
crash reporter. r=ted
2012-08-02 23:03:14 +02:00
Georg Fritzsche
5421b7b3f8 Bug 764660 - Collect and report on CPU utilization of a hung plugin process. r=bbondy 2012-07-25 14:38:43 +02:00
John Schoenick
77a3b1e6cd Bug 777098 - Add test. r=bholley 2012-07-27 16:44:52 -07:00
Bobby Holley
627c0e6696 Bug 771202 - Tests. r=bsmedberg 2012-07-13 13:20:08 +02:00
Ed Morley
a66ba53172 Backout 776f008404bf (bug 771202) for mochitest-3 orange 2012-07-13 11:07:26 +01:00
Bobby Holley
eb84cf6716 Bug 771202 - Tests. r=bsmedberg 2012-07-13 10:55:14 +02:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
729030ee5b Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Andrew McCreight
251ed86372 Bug 752340 - use a finalizer in FunctionProxyClass. r=jorendorff 2012-07-02 20:04:23 -07:00
Matt Woodrow
4b10a2b53c Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Martin Stransky
8e60b812d6 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen
7990326241 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Martin Stransky
02b62af313 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Mats Palmgren
bb7e931269 Bug 760088 - Move the SimpleTest.finish() after the final test is done. r=josh 2012-06-12 00:32:39 +02:00
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
aee92f1d56 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Bas Schouten
1399685948 Bug 734404 - Part 4: Add reftests for DXGI async drawing model. r=roc 2012-05-30 07:14:30 +02:00
Bas Schouten
2fb1ef9692 Bug 734404 - Part 3: Add code to test plugin to support DXGI async drawing. r=roc 2012-05-30 07:14:30 +02:00
Phil Ringnalda
575dc94164 Bug 705047 - Bail early from the plugin crash tests that expose our inability to handle plugin crashes on 10.7, r=ted 2012-05-20 15:27:45 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00