Commit Graph

310 Commits

Author SHA1 Message Date
Ryan VanderMeulen
d495ea5eb4 Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Deian Stefan
e48aac3863 Bug 671389 - Part 4: Extend CSP tests for iframe sandbox with CSP sandbox directive tests. r=grobinson 2015-01-23 17:01:00 +01:00
Deian Stefan
8bf8e9b6d3 Bug 671389 - Part 3: Tests for CSP sandbox directive r=grobinson,smaug 2015-01-23 17:01:00 +01:00
Masayuki Nakano
c8bda51c33 Bug 1129406 load event handler should remove itself with proper event name r=smaug 2015-02-05 10:54:04 +09:00
Carsten "Tomcat" Book
bdc3e3723e Merge mozilla-central to b2g-inbound 2015-02-04 15:09:23 +01:00
Kyle Machulis
3667d29346 Bug 782751 - User Timing API Mochitests; r=baku 2015-02-03 21:46:23 -08:00
Alexandre Lissy
d5a9e333ae Bug 1128924 - Fix Mulet detection in mochitests r=smaug 2015-02-03 07:43:00 +01:00
Boris Egorov
4fc4b297fd Bug 1070015 - Throw error if attr object of different element passed; r=bz
In the beginning of Element::removeAttributeNode() we check that attr object
passed to it belongs to the same element (comparing attr.GetElement and this).

If it is different element, throw NotFoundError.

Mochitest to check new behavior included.
2015-01-25 20:39:05 +06:00
Christoph Kerschbaumer
d0db4f8b40 Bug 1126067 - Make JS callers of ios.newChannel call ios.newChannel2 in dom/ - tests (r=sicking) 2015-02-02 20:08:34 -08:00
Mats Palmgren
329b308d98 Bug 1127835 - part 2, test. 2015-02-02 22:34:17 +00:00
Mats Palmgren
897826d457 Bug 1123505 - part 2, tests. 2015-02-02 22:34:17 +00:00
Boris Zbarsky
3074befae9 Bug 511084. Make frame/iframe create a browsing context even if it's the root element. r=smaug 2015-02-02 15:44:03 -05:00
Ryan VanderMeulen
5def7f4a1a Backed out 4 changesets (bug 782751, bug 1127948) for Gaia UI test failures.
Backed out changeset 4d8735e0cc30 (bug 1127948)
Backed out changeset de498dd4e303 (bug 782751)
Backed out changeset fe9436f5474c (bug 782751)
Backed out changeset fff8f6c32743 (bug 782751)
2015-01-30 14:16:40 -05:00
Kyle Machulis
e7a46312fe Bug 782751 - User Timing API Mochitests; r=baku 2015-01-30 09:29:36 -08:00
Phil Ringnalda
f34cfd6f81 Backed out 3 changesets (bug 782751) for various timing failures
Backed out changeset 14594507ec55 (bug 782751)
Backed out changeset e8659e5122e1 (bug 782751)
Backed out changeset c47168517080 (bug 782751)
2015-01-29 22:30:26 -08:00
Kyle Machulis
bb418b6011 Bug 782751 - User Timing API Mochitests; r=baku 2015-01-29 18:04:27 -08:00
Bill McCloskey
84f671eb7f Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley) 2015-01-29 11:28:01 -08:00
Ehsan Akhgari
941438a6a0 Bug 1119503 - Part 4: Add a test for serialization of block elements without style information; r=bzbarsky 2015-01-28 10:02:11 -05:00
Ehsan Akhgari
93488ac912 Bug 1119503 - Part 2: Insert a line break between preformatted block boundaries when creating raw output; r=bzbarsky 2015-01-28 09:58:35 -05:00
Masayuki Nakano
99c3b62e28 Bug 917322 part.21 Ensure to cancel composition when TextInputProcessor is released r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
ff7661cbb2 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
65a78311ea Bug 917322 part.18 Add tests of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
Wes Kocher
e5db1b81af Backed out 5 changesets (bug 1119503) for PGO m-oth failures so I can a=merge today
Backed out changeset 05ee3ae06643 (bug 1119503)
Backed out changeset 5ccef8ecf319 (bug 1119503)
Backed out changeset 8c2129ff8897 (bug 1119503)
Backed out changeset ff9012ee428a (bug 1119503)
Backed out changeset af9f4a6a7b78 (bug 1119503)
2015-01-27 16:04:59 -08:00
Ehsan Akhgari
a70e6a7ccd Bug 1119503 - Part 4: Add a test for serialization of block elements without style information; r=bzbarsky 2015-01-27 13:25:12 -05:00
Ehsan Akhgari
405924982e Bug 1119503 - Part 2: Insert a line break between preformatted block boundaries when creating raw output; r=bzbarsky 2015-01-27 13:25:08 -05:00
Jed Davis
4127cc3899 Bug 1068838 - Fix file input element tests to open files in the parent process. r=sicking
The dom/base tests changed here use SpecialPowers.loadChromeScript to
construct a DOM File in the parent and send it to the child, using the
existing remote-blob infrastructure.  The dom/html tests don't need a
real file, so they now construct in-memory files.

As a convenient side-effect, these tests are now enabled for desktop
e10s (they were already being run out-of-process on B2G); most of them
failed before this change due to the code that's being moved/removed.
2015-01-26 16:23:00 -08:00
Ehsan Akhgari
342935e501 Bug 1123062 - Fall back to looking at the tag for determining if an element is preformatted when there is no style information available; r=bzbarsky 2015-01-24 15:02:07 -05:00
Anuj Agarwal
ec777ead6b Bug 1060938 - Add mochitest for Element.removeAttributeNode(). r=bz 2015-01-22 06:34:00 -05:00
Ryan VanderMeulen
4e8a9ca540 Bug 1107443 - Disable the newly-added test_window_define_nonconfigurable.html beause it started permafailing because the code it landed with was disabled.
CLOSED TREE
2015-01-23 12:56:49 -05:00
Boris Zbarsky
5a7338fcaa Bug 1107443 part 6. Make attempts to define a non-configurable property via WindowProxy throw. r=peterv,jorendorff 2015-01-23 09:54:15 -05:00
Ehsan Akhgari
f732e66097 Bug 1124985 - Annotate the reason for the setTimeout usage in test_XHR_timeout.html 2015-01-23 08:38:15 -05:00
Christoph Kerschbaumer
5c6deb4695 Bug 1122445 - CSP: don't normalize path for CSP checks - test updates (r=sstamm) 2015-01-21 16:09:20 -08:00
Wes Kocher
0f016d6a1b Backed out 2 changesets (bug 1122445) for cppunit failures
Backed out changeset 1481719fc830 (bug 1122445)
Backed out changeset b685648927c6 (bug 1122445)
2015-01-21 15:16:05 -08:00
Christoph Kerschbaumer
9597b78839 Bug 1122445 - CSP: don't normalize path for CSP checks - test updates (r=sstamm) 2015-01-21 13:52:28 -08:00
Phil Ringnalda
cd848381e8 Backed out 4 changesets (bug 1117650) because moving tests causes WebRTC tests to move from running first in a linux64 debug mochitest-e10s chunk to running last in another chunk, and they fail if they run last in a chunk
CLOSED TREE

Backed out changeset 9318cab3bd13 (bug 1117650)
Backed out changeset aff44058c799 (bug 1117650)
Backed out changeset eef01ed4d406 (bug 1117650)
Backed out changeset 1b25392be437 (bug 1117650)
2015-01-20 22:48:32 -08:00
Christoph Kerschbaumer
fedb3d2381 Bug 1117650 - Part 3 - Move all CORS tests into dom/security/test (r=sicking) 2015-01-05 09:47:13 -08:00
Christoph Kerschbaumer
aabcc49d6f Bug 1117650 - Part 2 - Move all MixedContentBlocker tests into dom/security/test (r=tanvi) 2015-01-04 22:02:17 -08:00
Christoph Kerschbaumer
fa454cff91 Bug 1117650 - Part 1 - Move all CSP tests into dom/security/test (r=sstamm) 2015-01-04 22:01:02 -08:00
Phil Ringnalda
3da585422a Bug 788999 followup, reenable test_fileapi_slice.html on OS X 10.8 since whatever caused it to hang two years ago seems to be gone 2015-01-18 19:53:21 -08:00
Phil Ringnalda
47fc675776 Bug 1060869 followup, only add disabling test_fileapi_slice.html on Mulet, since that's the only new platform it caused it to fail on 2015-01-18 19:34:29 -08:00
Ehsan Akhgari
b56236b349 Bug 1113238 - Part 1: Make our plaintext and HTML serializers aware of CSS preformatted styles; r=bzbarsky
This code is super-hairy, but I think this is the minimum amount of changes
that we need.

nsPlainTextSerializer::IsInPre() before this patch is completely broken, and
I changed it to maintain a stack of bools representing whether the elements
that we saw as we were traversing the tree are preformatted or not.

nsXHTMLContentSerializer maintains this information using a counter, which is
broken in case pre and non-preformatted elements are stacked underneath each
other, but I'm not sure why this code is using a counter and I didn't want to
change it drastically, so for now I'm just making it look at the element's
style first as opposed to its tag name.

Follow-up work may include exploring whether nsXHTMLContentSerializer should
use a stack similar to nsPlainTextSerializer, and also audit this code for
more places where things are hardcoded based on tag names where we should be
really looking at the style.
2015-01-16 15:56:40 -05:00
Anuj Agarwal
95c08ec3bc Bug 1075702 - Added mochitest for Element.setAttributeNode(). r=bz 2015-01-15 05:13:00 +01:00
Anuj Agarwal
c3ac9ac39a Bug 1075702 - Fixed implementation of Element.setAttributeNode(). r=bz 2015-01-15 05:12:00 +01:00
Ryan VanderMeulen
52b4158ca8 Backed out 4 changesets (bug 1113238) for mochitest-dt failures.
Backed out changeset 8439a009837d (bug 1113238)
Backed out changeset 34b89a4f9dea (bug 1113238)
Backed out changeset ce0ed9dc4d6d (bug 1113238)
Backed out changeset 9dd632bab2aa (bug 1113238)

CLOSED TREE
2015-01-13 13:50:12 -05:00
Ehsan Akhgari
d1cdb11577 Bug 1113238 - Part 1: Make our plaintext and HTML serializers aware of CSS preformatted styles; r=bzbarsky
This code is super-hairy, but I think this is the minimum amount of changes
that we need.

nsPlainTextSerializer::IsInPre() before this patch is completely broken, and
I changed it to maintain a stack of bools representing whether the elements
that we saw as we were traversing the tree are preformatted or not.

nsXHTMLContentSerializer maintains this information using a counter, which is
broken in case pre and non-preformatted elements are stacked underneath each
other, but I'm not sure why this code is using a counter and I didn't want to
change it drastically, so for now I'm just making it look at the element's
style first as opposed to its tag name.

Follow-up work may include exploring whether nsXHTMLContentSerializer should
use a stack similar to nsPlainTextSerializer, and also audit this code for
more places where things are hardcoded based on tag names where we should be
really looking at the style.
2015-01-13 12:03:53 -05:00
Tillmann Karras
ce3c033898 Bug 707484 - Allow setting XHR.responseType before open(); r=smaug 2015-01-13 09:51:09 +01:00
Ms2ger
b6209feab0 Bug 1119752 - Remove test_DOMException.html. rs=smaug
Since bug 1119174, the assertions in this test have been covered by the
following web-platform tests:

* WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html
* WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor.html
2015-01-09 11:50:45 +01:00
Valentin Gosu
31ba391d3f Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug 2014-11-12 05:59:24 +02:00
Kaustabh Datta Choudhury
e62929464a Bug 1116776 - test_bug990812.xul leaves a window open during the test run. r=jmaher 2015-01-12 09:31:36 -05:00
Alex Verstak
5b8f00360b Bug 1113438 - Update SetReferrerWithPolicy to (a) send referrer when https->http and policy is ORIGIN_WHEN_XORIGIN and (b) use the triggering principal for this cross-origin check. r=sstamm,mcmanus 2015-01-08 01:46:00 +01:00