Commit Graph

396 Commits

Author SHA1 Message Date
Ms2ger
82c2faeae3 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Cameron McCormack
55844d9667 Bug 1149042 - Call AttributeWillChange before a style="" attribute gets created when touching element.style. r=smaug 2015-04-10 10:41:35 +10:00
Christoph Kerschbaumer
2dc5972079 Bug 1147562 - Update remaining callsites of newChannel before landing the shim in dom/ (r=sicking) 2015-04-09 10:10:33 -07:00
Ehsan Akhgari
83148340e9 Bug 1151873 - Unit test 2015-04-09 10:12:27 -04:00
Boris Zbarsky
0b36359499 Bug 1151940 part 3. Make some writable cssom-view attributes that we only allow setting from chrome act the way readonly replaceables would when called from content. r=smaug 2015-04-08 22:50:45 -04:00
Christoph Kerschbaumer
77cca243fa Bug 921493 - CSP: test whitelisting of scheme-relative sources (r=dveditz) 2015-03-30 22:27:46 -07:00
Christoph Kerschbaumer
bf7029ec63 Bug 1004703 - ignore 'unsafe-inline' if nonce- or hash-source specified - tests (r=sstamm) 2015-04-07 09:06:22 -07:00
Christoph Kerschbaumer
cd8e38c959 Bug 1086999 - CSP: Asterisk (*) wildcard should not allow blob:, data:, or filesystem: when matching source expressions - tests (r=sstamm) 2015-02-10 14:54:36 -08:00
Ryan VanderMeulen
eccfcb8a87 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Tom Tromey
ddd9e95730 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Jed Davis
0eaca8b927 Bug 1143934 - Fix assorted forms mochitests for e10s-compatibility. r=smaug
The bug 143220 test no longer attempts to read the chrome value property
from the input elements, because that would use PBlob::GetFilePath which
isn't allowed on B2G, and those checks aren't really necessary anymore.
2015-03-31 20:33:00 -04:00
Blake Kaplan
2104fc3943 Bug 1145854 - Don't leak WrapperOwner::className's string. r=billm 2015-03-27 13:12:37 -07:00
Christoph Kerschbaumer
7486771b10 Bug 1147026 - CSP should ignore query string when checking a resource load - tests (r=dveditz) 2015-03-25 22:40:25 -07:00
Alexandre Lissy
944a871aef Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Bill McCloskey
e7aee957c0 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Bill McCloskey
3f7c172b58 Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug) 2015-03-19 06:43:39 -07:00
Phil Ringnalda
bc03d24e02 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
d15acaca2d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Bill McCloskey
5c5bd121de Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug) 2015-03-18 16:09:27 -07:00
William Chen
d336ec30e7 Bug 1130028 - Custom elements, set registered prototype in compartment of caller of registerElement. r=mrbkap 2015-03-02 09:48:30 -08:00
Ryan VanderMeulen
a12c6d2dfc Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
12af381a9e Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Bill McCloskey
9f9ecf4e04 Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug) 2015-03-13 08:24:14 -07:00
Boris Zbarsky
f93ad8e329 Bug 1142478 followup. Fix bogus test, and don't get the value of an invalid CheckedInt. Then we can reopen the CLOSED TREE. 2015-03-12 22:59:00 -04:00
Boris Zbarsky
e9ab0b6864 Bug 1142478. Fix integer attribute parsing to not lose track of leading zeroes. r=sicking 2015-03-12 21:46:57 -04:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Christoph Kerschbaumer
a546c14189 Bug 1036399 - Multiple CSP policies should be combined towards an intersection (r=sstamm) 2015-02-09 15:32:36 -08:00
Jason Orendorff
f4f54e1e08 Bug 828137, part 2 - Make [[Set]] always fail on window elements. With this change, window[0] = null; is a TypeError in strict mode code. r=bz. 2015-02-11 11:47:39 -06:00
Jason Orendorff
93b2f19ac6 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz. 2015-02-11 11:38:36 -06:00
Alexandre Lissy
e30ef38a2d Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal 2015-03-11 08:15:00 -04:00
Jed Davis
1fb2cb6088 Bug 1034143: Step 1: Fix tests for bug 945152 and bug 1008126. r=smaug
This bug will make jar:http:// no longer eligible for the memory-mapping
optimization tested in these test cases, so this patch changes them
to use local files, which is the case that that optimization is meant
for.  Specifically, it changes them to chrome tests and pre-resolves
the chrome: URL of the jar file so that nsJARChannel recognizes it as a
local file.

Note that the bug 945152 test jar file remains in the file list for
plain mochitests as well as being added to chrome.ini; there is a test
in another directory that uses it, and a later patch in this series will
add another.
2015-03-10 17:00:01 -07:00
Blake Kaplan
b9d723a7c1 Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm 2015-03-10 14:36:01 -07:00
Carsten "Tomcat" Book
fcc855696d Backed out changeset 6c7ebb2f5a92 (bug 1134006) for bustage 2015-03-10 12:37:24 +01:00
Blake Kaplan
f064117eb7 Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm 2015-03-09 15:01:00 +01:00
Blake Kaplan
1675ef4213 Bug 1140636 - Test CPOW function identity. r=billm 2015-03-06 15:46:00 +01:00
Boris Zbarsky
cb2a1d6e2a Bug 453969. Fix the race in test_bug382113.html so we don't set our child-onload-fired boolean to false _after_ the child onload has already fired. r=froydnj 2015-03-09 21:36:47 -04:00
Dave Townsend
6a3d2c64f5 Bug 1139628 - Test (r=billm) 2015-03-09 17:54:25 -07:00
Carsten "Tomcat" Book
9f406a7b29 Backed out changeset df26246112ad (bug 828137) 2015-03-09 16:49:34 +01:00
Carsten "Tomcat" Book
1d7c82f8f2 Backed out changeset c2ffd91dee7c (bug 828137) 2015-03-09 16:49:32 +01:00
Jason Orendorff
46d53b144a Bug 828137, part 2 - Make [[Set]] always fail on window elements. With this change, window[0] = null; is a TypeError in strict mode code. r=bz. 2015-02-11 11:47:39 -06:00
Jason Orendorff
50c193277b Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz. 2015-02-11 11:38:36 -06:00
Nikhil Marathe
57039ce2c7 Bug 1133861 - Enable the Fetch API by default. r=jst 2015-02-22 01:52:10 -08:00
Olli Pettay
f80595bce7 Bug 1139964 part 3. Add a test. r=bzbarsky 2015-03-06 01:08:06 -05:00
Nikhil Marathe
9a1c4444d2 Bug 1139667 - CSP tests for fetch(). r=ckirschb 2014-10-16 11:26:39 -07:00
Ehsan Akhgari
b8a69dd6ba Bug 1125963 - Part 1: Fix serialization of the pre-wrap elements that Thunderbird relies on; r=bzbarsky
This ensures that the plaintext serializer doesn't use the preformatted
text code path if we have encountered a pre-wrap element that
Thunderbird uses (which means setting white-space: pre-wrap and width:
NNch on the body element.)

It also ensures that we use 0 as the wrap column number passed down to
the plaintext serializer, instead of -1, which this code seems to be
unable to handle properly.
2015-03-04 00:50:17 -05:00
Anish
b9d3be97ea Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Alex Verstak
407672102f Bug 1091883 - Added test, this is fixed by a fix to bug 1113438. r=sstamm CLOSED TREE 2015-01-05 09:09:51 -08:00
Tooru Fujisawa
2adc4406e1 Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Patrick McManus
2c0421d96a Bug 967792 - Make localhost resolve offline. r=dragana 2015-02-25 14:02:38 -05:00
Ryan VanderMeulen
8fcbb92fd8 Backed out changeset 13d9a5e39eb3 (bug 967792) for Gaia unit test failures. 2015-02-25 11:39:14 -05:00