Commit Graph

692 Commits

Author SHA1 Message Date
Tom Tromey
5b6fe925f0 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-24 07:01:00 -04:00
Franziskus Kiefer
5ee41802be Bug 1184781 - additional referrer tests - redirect. r=christophkerschbaumer 2015-07-22 10:07:00 -07:00
Boris Zbarsky
3b33d5b413 Bug 1107443. Make WindowProxy throw if you attempt to explicitly define a non-configurable property. r=peterv 2015-07-23 11:51:09 -04:00
Franziskus Kiefer
32ef1d3d0b Bug 1175736 - Add iframe referrer attribute tests. r=ckerschb, r=baku 2015-07-20 08:40:04 -07:00
Andrea Marchesini
3ae9a492a0 Bug 1185381 - Make FileList clonable - patch 4 - tests, r=smaug 2015-07-22 17:04:54 +01:00
Franziskus Kiefer
f137dc3ea7 Bug 1185997 - Split referrer tests to avoid intermittent timeouts. r=RyanVM 2015-07-21 16:47:30 -07:00
Franziskus Kiefer
a5d8edce0b Bug 1174913 - anchor and area mochitests. r=bz 2015-06-18 09:01:27 -07:00
Sam E. Giles
d1bb276329 Bug 1177914 - throw a NotSupportedError when running document.importNode on a ShadowRoot or Document. r=wchen 2015-07-17 11:11:14 -07:00
Ryan VanderMeulen
bf45776a3c Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
f2bf2f76dd Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Bill McCloskey
7ca545cb59 Bug 1177013 - test_cpows.xul test for CPOW cancelation (r=dvander) 2015-07-15 14:37:12 -07:00
Boris Zbarsky
5e2335828e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Ehsan Akhgari
0ce5593917 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Carsten "Tomcat" Book
b6419e2c04 Backed out changeset e11a8496bf63 (bug 1180535) 2015-07-11 14:13:32 +02:00
Ehsan Akhgari
8ec8b088ab Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
Wes Kocher
2cb909875a Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE 2015-07-10 15:36:39 -07:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari
608fdc76f3 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Bill McCloskey
f5c237bd98 Bug 1173947 - Make getRandomValues message be urgent (r=mrbkap) 2015-07-07 17:24:42 -07:00
Boris Zbarsky
9d484432d5 Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Ehsan Akhgari
1e10bad094 Bug 1180523 - Part 1: Store the audio mute/volume information on the outer window; r=baku
This is needed so that we can preserve this information across navigations.
2015-07-07 01:36:09 -04:00
Bill McCloskey
8fb249be8c Bug 1177013 - Modernize test_cpows.xul (r=dvander) 2015-07-06 19:58:44 -07:00
Ehsan Akhgari
b802f622f8 Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 21:21:19 -04:00
Ehsan Akhgari
56fd6df57d Backout bug 1180539 for test failures 2015-07-06 10:50:35 -04:00
Ehsan Akhgari
cad4a2cc68 Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 09:10:06 -04:00
Phil Ringnalda
cae35eaf19 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
c814934749 Bug 1177013 - Modernize test_cpows.xul (r=dvander) 2015-07-02 17:18:10 -07:00
Franziskus Kiefer
1ab4ff9a8a Bug 1166910 - Add tests for referrer attribute for img tag. r=ckerschb, r=hsivonen 2015-06-05 15:25:24 -07:00
Masayuki Nakano
a65780bd5b Bug 1179086 ContentEventHandler should use /n on Mac rather than /r r=smaug+smichaud+josh 2015-07-02 10:00:44 +09:00
Boris Zbarsky
5aea6ec315 Bug 959992. Go back to not treating properties that the named properties object exposes as enumerable. r=peterv 2015-07-01 14:15:22 -04:00
Olli Pettay
4794222292 Bug 1174951, try to fix the intermittent failure in test_XHRDocURI.html, r=bz 2015-07-01 15:39:56 +03:00
Carsten "Tomcat" Book
e8200d1de4 Backed out changeset 981a1dbe042b (bug 1166910) 2015-07-01 08:18:58 +02:00
Franziskus Kiefer
3e6e557dff Bug 1166910 - referrer attribute for img tag, tests. r=hsivonen 2015-06-05 15:25:24 -07:00
Blake Kaplan
efe53571bc Bug 1151848 - Bump the priority of this message so that cpowWindow.screen works without crashing. r=billm 2015-06-23 17:34:00 -04:00
Franziskus Kiefer
6d1d070f27 Bug 1101288 - disabling single test to avoid intermittent. r=Kwierso 2015-06-29 08:24:01 -07:00
Andrea Marchesini
9b4c082329 Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
Olli Pettay
50c7bad95d Bug 1174951, test history API only after load event, r=bz 2015-06-24 12:13:15 -07:00
Valentin Gosu
94c872bed1 Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug 2015-06-10 03:31:36 +03:00
Birunthan Mohanathas
ea5e153ab3 Bug 1103651 - Merge content/test/unit/ into dom/base/test/unit/. r=mrbkap 2015-06-17 06:38:22 -07:00
Andrea Marchesini
f96fc95fdd Bug 1170246 - Improving nsGlobalWindow::ConvertDialogOptions and adding some gTests, r=ehsan 2015-06-17 12:17:33 +01:00
Andrea Marchesini
949d2bb91b Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
Ryan VanderMeulen
937d35105a Backed out changesets a08167680328 and b008f158e91f (bug 1093611) for talos svgr timeouts. 2015-06-16 15:37:37 -04:00
Valentin Gosu
64c8ea4639 Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug 2015-06-16 19:46:18 +03:00
Boris Zbarsky
2c03d918ef Bug 1165851 part 2. Add a test for the desired createAttribute/getAttribute behavior. r=smaug 2015-06-16 12:18:00 -04:00
Boris Zbarsky
a05ed5f7a8 Bug 1165851 part 1. Back out bug 1060938 and bug 1075702 pending spec changes because they are implementing a spec that's not web compatible. r=smaug 2015-06-16 12:17:57 -04:00
Ryan VanderMeulen
425b4d9128 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE
2015-06-15 13:06:23 -04:00
Andrea Marchesini
068d9fc360 Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-15 14:08:25 +01:00
Olli Pettay
e00c7cbfc0 Bug 1173215, don't set mChromeXHRDocURI when dealing with non-XHR documents, r=bz 2015-06-13 02:34:52 +03:00
Christoph Kerschbaumer
863867d4ec Bug 1117650 - Part 3: Move all CSP tests into dom/security/test. r=sstamm 2015-06-08 16:21:50 -07:00
Christoph Kerschbaumer
f150525b99 Bug 1117650 - Part 2: Move all MixedContent tests into dom/security/test. r=tanvi 2015-06-08 16:21:43 -07:00
Christoph Kerschbaumer
d65d94543a Bug 1117650 - Part 1: Move all CORS tests into dom/security/test. r=sicking 2015-06-08 16:21:31 -07:00
Ehsan Akhgari
1b9af9fc20 Bug 1143570 - Part 1: Use an nsBlockInFlowLineIterator to determine whether a BR frame is visible or not; r=roc 2015-06-09 15:58:55 -04:00
Kathy Brade
9910bfa450 Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam 2015-06-07 09:02:00 -04:00
Marcos Caceres
d542b77384 Bug 1170385 - Adds csp-on-violate-policy to RemoteAddonsParent.jsm. r=billm
* Adds csp-on-violate-policy to TOPIC_WHITELIST of RemoteAddonsParent.jsm + enables dependent tests
 * Enables dependent tests
---
 dom/base/test/csp/browser.ini                         | 1 -
 toolkit/components/addoncompat/RemoteAddonsParent.jsm | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
2015-06-04 18:17:32 -04:00
Wes Kocher
0351d0fe25 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Kyle Zentner
8f3f9f3e2f Bug 1169837 - Remove box-sizing: padding-box in FF UI & Gecko Tests. r=dholbert 2015-06-02 08:46:00 -04:00
Marcos Caceres
21c80fd7b7 Bug 1089255 - Implement and test manifest-src CSP directive. r=bholley, r=dveditz, r=ckerschb
---
 dom/base/nsContentPolicyUtils.h                    |   1 +
 dom/base/nsDataDocumentContentPolicy.cpp           |   3 +-
 dom/base/nsIContentPolicy.idl                      |   2 +-
 dom/base/nsIContentPolicyBase.idl                  |   7 +-
 dom/base/nsISimpleContentPolicy.idl                |   2 +-
 dom/base/test/csp/browser.ini                      |   4 +
 dom/base/test/csp/browser_test_web_manifest.js     | 265 +++++++++++++++++++++
 .../csp/browser_test_web_manifest_mixed_content.js |  55 +++++
 dom/base/test/csp/file_CSP_web_manifest.html       |   6 +
 dom/base/test/csp/file_CSP_web_manifest.json       |   1 +
 .../test/csp/file_CSP_web_manifest.json^headers^   |   1 +
 dom/base/test/csp/file_CSP_web_manifest_https.html |   4 +
 dom/base/test/csp/file_CSP_web_manifest_https.json |   1 +
 .../csp/file_CSP_web_manifest_mixed_content.html   |   9 +
 .../test/csp/file_CSP_web_manifest_remote.html     |   8 +
 dom/base/test/csp/file_csp_testserver.sjs          |  14 +-
 dom/base/test/csp/mochitest.ini                    |   7 +
 dom/base/test/moz.build                            |   5 +-
 dom/fetch/InternalRequest.cpp                      |   3 +
 dom/fetch/InternalRequest.h                        |   2 +-
 .../security/nsIContentSecurityPolicy.idl          |   3 +-
 dom/ipc/manifestMessages.js                        |  25 +-
 dom/security/nsCSPUtils.cpp                        |   7 +
 dom/security/nsCSPUtils.h                          |  10 +-
 dom/security/nsMixedContentBlocker.cpp             |   1 +
 dom/webidl/CSPDictionaries.webidl                  |   1 +
 extensions/permissions/nsContentBlocker.cpp        |   6 +-
 netwerk/mime/nsMimeTypes.h                         |   1 +
 28 files changed, 439 insertions(+), 15 deletions(-)
 create mode 100644 dom/base/test/csp/browser.ini
 create mode 100644 dom/base/test/csp/browser_test_web_manifest.js
 create mode 100644 dom/base/test/csp/browser_test_web_manifest_mixed_content.js
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json^headers^
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_mixed_content.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_remote.html
2015-06-02 15:42:19 -04:00
Ryan VanderMeulen
0ffa99a47a Backed out changeset 4126c66c9a80 (bug 1166728) for Gaia sound_manager_test.js failures.
CLOSED TREE
2015-05-29 15:16:53 -04:00
Kyle Zentner
4bf19f4100 Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert 2015-05-29 09:17:00 -04:00
Ryan VanderMeulen
142a036045 Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug. 2015-05-29 12:48:22 -04:00
Kyle Zentner
2facd36063 Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert 2015-05-27 09:57:00 -04:00
Franziskus Kiefer
2cbe29a536 Bug 1168538 - Add compiled code test for referrer directive to TestCSPParser. r=ckerschb 2015-05-28 15:02:23 -07:00
Ryan VanderMeulen
19dc73f937 Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
J. Ryan Stinnett
43cd9c8934 Bug 1168823 - Repair XML syntax highlighting. r=jst 2015-05-28 09:12:41 -05:00
Ryan VanderMeulen
23edecd38b Backed out changeset dd96df1da2b5 (bug 1166728) for making test_bug320799.html permafail on Mulet.
CLOSED TREE
2015-05-28 11:01:18 -04:00
Kyle Zentner
54efc7bf52 Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert 2015-05-27 09:57:00 -04:00
Hiroyuki Ikezoe
b43d654673 Bug 1168726 - Use performange.getEntriesByType instead of getEntries in test if there is no clear reason. r=baku 2015-05-27 14:50:00 +02:00
Franziskus Kiefer
254b27ce82 Bug 1165501 - using most recent referrer policy found in the document. r=sstamm 2015-05-27 13:29:00 -07:00
Andrea Marchesini
cc4a733e10 Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
Kan-Ru Chen
bc21b2ac3a Bug 1004864 - Use SpecialPowers.pushPermissions in test_messagemanager_targetchain.html. r=smaug 2015-05-25 02:58:00 -04:00
Franziskus Kiefer
e91a48876b Bug 1161221 - Split http referrer tests and enable them on all platforms except https on b2g. r=sstamm 2015-05-14 11:07:38 -07:00
Fabrice Desré
1b5c6b4f6c Bug 1161677 - Expose dev mode state read-only through the navigator.hasFeature() api r=ehsan 2015-05-23 17:38:24 -07:00
Christoph Kerschbaumer
b9e76daa73 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Franziskus Kiefer
5d054649ef Bug 1163743 - Test changes for changing origin-when-crossorigin to origin-when-cross-origin. r=sstamm 2015-05-11 16:18:05 -07:00
Ehsan Akhgari
fa0a409d85 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Boris Zbarsky
e07d2ac8bd Bug 1163898 followup. Fix a test that was expecting the buggy mozAnon behavior. CLOSED TREE. 2015-05-12 17:14:34 -04:00
Bill McCloskey
2b06432939 Bug 1162838 - Allow sending initial process data to content processes (r=smaug) 2015-05-11 17:19:16 -07:00
Geoff Brown
5d27ca7373 Bug 1140454 - Skip some tests on Android 4.3 Debug for intermittent failures; r=me,trivial 2015-05-09 20:04:44 -06:00
Olli Pettay
6d1cd574a7 Backout Bug 1149555 because of tresize regression, a=backout 2015-05-08 20:12:41 +03:00
Andrea Marchesini
398940b3cd Bug 1160892 - Url.createObjectURL(blob) should support punycode origins, r=smaug 2015-05-07 19:20:33 +01:00
Andrea Marchesini
6cb0a32603 Bug 1156875 - patch 2 - Unify the registration of blob URIs in WorkerPrivate and nsIGlobalObject, r=bent 2015-05-07 08:06:24 +01:00
Andrea Marchesini
ab6fa89a07 Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Olli Pettay
ad61f4a541 Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Tooru Fujisawa
ade74d278c Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
ziyunfei
ec33d43a0e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Andrea Marchesini
97f8c61da1 Bug 1158437 - dom::File should accept negative date values, r=smaug 2015-04-27 12:17:19 +01:00
Hiroyuki Ikezoe
d479c7b413 Bug 1157985 - Use getEntriesByName to search by name attribute. r=qdot 2015-04-23 17:41:00 -04:00
Boris Zbarsky
361b5d3d9a Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug 2015-04-22 20:30:10 -04:00
Olli Pettay
8aa39c4458 Bug 1013743, MutationObserver should observe only the subtree it is attached to, r=wchen 2015-04-21 17:58:29 -07:00
Bill McCloskey
7303c795ef Bug 1155224 - Add targetFrameLoader property to messages (r=smaug) 2015-04-20 23:32:59 -07:00
Ted Mielczarek
dbfb883711 bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug 2015-04-17 16:17:26 -04:00
Ehsan Akhgari
aa9d593a94 Bug 1154679 - Part 1: Remove the usage of is_loosely from test_domrequesthelper.xul; r=Ms2ger 2015-04-18 19:10:17 -04:00
Neil Deakin
0e272ede50 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Valentin Gosu
bc4ddb96ea Bug 1149913 - Disable bug 1093611. Set pref dom.url.encode_decode_hash to true r=honzab 2015-04-16 05:25:10 +03:00
Geoff Brown
c1fd985224 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
Ms2ger
2aad41dbe8 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
73b7319f72 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
14af4c8bf6 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
b4e342d168 Bug 1151873 - Unit test 2015-04-09 10:12:27 -04:00
Boris Zbarsky
b69560d8fb 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
082750bb48 Bug 921493 - CSP: test whitelisting of scheme-relative sources (r=dveditz) 2015-03-30 22:27:46 -07:00
Christoph Kerschbaumer
e4bbbf6295 Bug 1004703 - ignore 'unsafe-inline' if nonce- or hash-source specified - tests (r=sstamm) 2015-04-07 09:06:22 -07:00
Christoph Kerschbaumer
5c24245419 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
7b24f34150 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Tom Tromey
95011c43c2 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Jed Davis
b4659fa150 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
0ef2e0f8d2 Bug 1145854 - Don't leak WrapperOwner::className's string. r=billm 2015-03-27 13:12:37 -07:00
Christoph Kerschbaumer
b46a9b4f84 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
5170c04fa0 Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Bill McCloskey
f5757e406b Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Bill McCloskey
908f118fe1 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
f2f4dd47f1 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
430b09a885 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Bill McCloskey
b7da8b29ac 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
90ba41bf90 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
fa73ab5dc5 Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
d7b8a10852 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Bill McCloskey
b1ae13de6d 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
ab8690b300 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
5a40af442e 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
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Christoph Kerschbaumer
3caeeb1a1f Bug 1036399 - Multiple CSP policies should be combined towards an intersection (r=sstamm) 2015-02-09 15:32:36 -08:00
Jason Orendorff
00a12f9d85 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
07299d8a9e Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz. 2015-02-11 11:38:36 -06:00
Alexandre Lissy
97d133bdfe 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
f0cca672e0 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
ea17c64e11 Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm 2015-03-10 14:36:01 -07:00
Carsten "Tomcat" Book
13d30c69c3 Backed out changeset 6c7ebb2f5a92 (bug 1134006) for bustage 2015-03-10 12:37:24 +01:00
Blake Kaplan
087f62829c Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm 2015-03-09 15:01:00 +01:00
Blake Kaplan
b56b9a58b8 Bug 1140636 - Test CPOW function identity. r=billm 2015-03-06 15:46:00 +01:00
Boris Zbarsky
3e8648ff0b 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
a66fc609bb Bug 1139628 - Test (r=billm) 2015-03-09 17:54:25 -07:00
Carsten "Tomcat" Book
fc419d3fc2 Backed out changeset df26246112ad (bug 828137) 2015-03-09 16:49:34 +01:00
Carsten "Tomcat" Book
fd9a43811d Backed out changeset c2ffd91dee7c (bug 828137) 2015-03-09 16:49:32 +01:00
Jason Orendorff
a8c180e115 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
7ec6070dc3 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz. 2015-02-11 11:38:36 -06:00
Nikhil Marathe
7ea1877f6f Bug 1133861 - Enable the Fetch API by default. r=jst 2015-02-22 01:52:10 -08:00
Olli Pettay
7acc9b2652 Bug 1139964 part 3. Add a test. r=bzbarsky 2015-03-06 01:08:06 -05:00
Nikhil Marathe
c5edf398b9 Bug 1139667 - CSP tests for fetch(). r=ckirschb 2014-10-16 11:26:39 -07:00
Ehsan Akhgari
951174421d 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
9b39f2745a 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
59bc7a37d2 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
ea796feb69 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
9dbe80428a Bug 967792 - Make localhost resolve offline. r=dragana 2015-02-25 14:02:38 -05:00
Ryan VanderMeulen
c2280b978d Backed out changeset 13d9a5e39eb3 (bug 967792) for Gaia unit test failures. 2015-02-25 11:39:14 -05:00
Patrick McManus
2d3aa533f6 bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Dirkjan Ochtman
d64f30be42 Bug 853162 - Remove XMLHttpRequest.sendAsBinary() interface. r=smaug
Should use send(Blob) instead. Thanks to Ms2ger for help fixing test failures.
2015-02-08 17:01:44 +01:00
Olli Pettay
f39dbd97b9 Bug 1037687, load iframes in shadow DOM, r=wchen 2015-02-24 16:41:43 +02:00
Bill McCloskey
b90b84272c Bug 1128798 - [e10s] Make a version of nsIContentPolicy that doesn't pass the node as a parameter (r=mrbkap,tanvi,ckerschb) 2015-02-20 08:54:12 -08:00
Bill McCloskey
0106771e5b Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Anish
d6962a9b5b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
24df8222d0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e982da177f Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano
32cd0c7c75 Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
0196cae971 Bug 1119609 part.17 TextInputProcessor shouldn't allow to begin input transaction with different TextEventDispatcher during dispatching an event r=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
1ec237cdfe Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
87a233cc00 Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
a429c2230d Bug 1119609 part.10 Support all key and code values which are enough stable in DOM Level 3 KeyboardEvent key/code Values rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
c3fea59f8f Bug 1119609 part.9 Make a check in runUnloadTests2() of window_nsITextInputProcessor disabled due to unknown random failure r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
032c8111e8 Bug 1119609 part.8 nsITextInputProcessor.keydown() and nsITextInputProcessor.keyup() should be able to only modify its modifier state without dispatching key events r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
8a60028480 Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
f461315911 Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
d871a79e9c Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
4b1af70b99 Bug 1119609 part.4 Add keydown() and keyup() to nsITextInputProcessor r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Ryan VanderMeulen
89fce379aa Backed out changesets b7d9158b53e7 and 820a0cabcb92 (bug 1131375) for Windows bustage.
CLOSED TREE
2015-02-18 14:47:27 -05:00
Bill McCloskey
b3b7a862d5 Bug 1131375 - Test for message ordering (r=Mossop) 2015-02-18 10:38:41 -08:00
Carsten "Tomcat" Book
0195978f3b Backed out changeset d168a14d3f71 (bug 967792) for suspicion of causing OS X xpcshell test failures on a CLOSED TREE 2015-02-17 09:48:33 +01:00
Patrick McManus
1eaf9d05c2 bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Olli Pettay
babb280125 Bug 1118689, Don't try to load an image if its container docshell is gone, r=bz 2015-02-13 04:44:32 +02:00
Christoph Kerschbaumer
afa15b4fb0 Bug 1121857 - CSP: document.baseURI should not get blocked if baseURI is null - tests (r=sstamm) 2015-01-21 12:03:39 -08:00
Andrea Marchesini
f979d0f95a Bug 1121722 - Chrome-only DOM File constructors should use lastModified attribute. r=bz 2015-02-10 09:31:00 +01:00
Gabor Krizsanits
1925b59d34 Bug 1090592 - GetPrototypeOf hook for CPOWProxyHandler. r=billm 2015-02-10 16:29:41 +01:00
Masayuki Nakano
b9ddb90367 Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug 2015-02-10 17:09:29 +09:00
Phil Ringnalda
0aea730d1e Back out 3 changesets (bug 1117650) for allowing an ASan mochitest-2 leak exactly like they allowed it on try
CLOSED TREE

Backed out changeset 73d0f6b58639 (bug 1117650)
Backed out changeset 646b7dddf7c5 (bug 1117650)
Backed out changeset eed379ade07e (bug 1117650)
2015-02-08 23:07:51 -08:00
Christoph Kerschbaumer
3c32a76a04 Bug 1117650 - Part 3 - Move all CORS tests into dom/security/test (r=sicking) 2015-01-05 09:47:13 -08:00
Christoph Kerschbaumer
520629bc54 Bug 1117650 - Part 2 - Move all MixedContentBlocker tests into dom/security/test (r=tanvi) 2015-01-04 22:02:17 -08:00
Christoph Kerschbaumer
a142cf284b Bug 1117650 - Part 1 - Move all CSP tests into dom/security/test (r=sstamm) 2015-02-06 12:40:52 -08:00
Mats Palmgren
612bf8b472 Bug 1129356 - Traverse the placeholder's parent for abs.pos. frames when determining the used value for 'user-select'. r=roc 2015-02-09 00:16:11 +00:00
Ryan VanderMeulen
1c576a7b21 Backed out changeset 2ad2c849f0be (bug 1013743) for Gij failures. 2015-02-06 09:07:25 -05:00
Olli Pettay
82ef6db371 Bug 1013743, MutationObserver should observe only the subtree it is attached to, r=wchen 2015-02-06 12:55:24 +02:00
Olli Pettay
cb911b4f4b Bug 1126851, window object should special case only resize event dispatched to itself, r=bz 2015-02-06 12:42:23 +02:00
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
Ben Kelly
caa055b45e Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking 2015-01-08 11:21:52 -05:00
Ryan VanderMeulen
2a41e56c16 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-01-06 10:55:03 -05:00
Gavin Sharp
ef5aee70ca Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Boris Zbarsky
1a03a27e8c Bug 1107592 part 1. Implement a DOMException constructor. r=peterv 2015-01-02 17:08:33 -05:00
Alexandre Poirot
c63e752559 Bug 1047571 - Blacklist mulet's failing tests. r=ahal 2014-12-29 12:49:56 -08:00
Christoph Kerschbaumer
0c4b839c26 Bug 1117311 - CSP: Allowing paths that start with '_' - tests (r=sstamm) 2015-01-04 19:58:25 -08:00
Michal Novotny
2296e00d57 Bug 792831 - WebSocket permessage compression extension, r=jduell 2014-12-29 12:43:40 +01:00
Bill McCloskey
0a8f8f83e5 Backout bug 1072980 due to regressions (a=backout) 2014-12-20 21:15:36 -08:00
Bill McCloskey
ec17353436 Bug 1072980 - Add test for passing CPOWs to C++ (r=mrbkap) 2014-12-18 17:34:23 -08:00
Jeremy Chen
cf0a3a63cb Bug 1109486 - Mochitest test case. r=smaug 2014-12-17 15:58:37 +08:00
Sid Stamm
a29e8ee137 Disable test for bug 965727 on b2g on a CLOSED TREE 2014-12-17 16:32:14 -05:00
Sid Stamm
19210b8aab Bug 965727 - Implement tests for CSP referrer directive. (r=ckerschb) 2014-12-17 14:14:03 -05:00
Morris Tseng
74e60fddd3 Bug 1101364 - Part 2: Add Mochitest. r=mats 2014-12-12 01:15:00 -05:00
Ehsan Akhgari
20474e5ba7 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Boris Zbarsky
b015920226 Bug 1012798 part 2. Stop defining a value property named "window" on the global. r=peterv 2014-12-09 14:44:37 -05:00
Christoph Kerschbaumer
6d492307ff Bug 1094067 - CSP: Parser should follow path production from RFC 3986 - parser tests (r=sstamm) 2014-11-14 15:06:27 -08:00
Christoph Kerschbaumer
a860aaa126 Bug 949706 - CSP: Correct handling of web workers importing scripts that get redirected (r=sstamm) 2014-11-21 12:54:51 -08:00
Sid Stamm
1a3fc8120d Bug 949706 - tests for CSP enforcement on redirects in CSS-based image loading and worker script importing (r=ckerschb) 2014-12-04 13:43:54 -08:00