Граф коммитов

2067 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger f34cb7a7ac Bug 404828 - Followup: remove assertion expectations on a CLOSED TREE. a=tomcat 2015-04-21 01:59:00 +02:00
Brian Birtles 5c7929fd2a Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.

--HG--
rename : dom/animation/AnimationPlayer.cpp => dom/animation/Animation.cpp
rename : dom/animation/AnimationPlayer.h => dom/animation/Animation.h
rename : dom/webidl/AnimationPlayer.webidl => dom/webidl/Animation.webidl
2015-04-21 10:22:09 +09:00
Neil Deakin af1ece91c4 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Geoff Brown 1fedc52d16 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
Brian Birtles 7d31acbd42 Bug 1153734 part 5 - Add AnimationEffectReadonly as a superinterface of KeyframeEffectReadonly; r=smaug
This patch also replaces some tabs with spaces in KeyframeEffect.h because I was
in the area.
2015-04-15 08:48:21 +09:00
Brian Birtles 63e2382338 Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.

This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.

--HG--
rename : dom/animation/Animation.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/Animation.h => dom/animation/KeyframeEffect.h
rename : dom/animation/test/css-animations/test_animation-name.html => dom/animation/test/css-animations/test_effect-name.html
rename : dom/animation/test/css-animations/test_animation-target.html => dom/animation/test/css-animations/test_effect-target.html
rename : dom/animation/test/css-transitions/test_animation-name.html => dom/animation/test/css-transitions/test_effect-name.html
rename : dom/animation/test/css-transitions/test_animation-target.html => dom/animation/test/css-transitions/test_effect-target.html
rename : dom/webidl/Animation.webidl => dom/webidl/KeyframeEffect.webidl
2015-04-15 08:48:21 +09:00
Brian Birtles d5b5205359 Bug 1153734 part 1 - Remove AnimationEffect; r=smaug
Most of this is fairly obvious. However, the addition of 'override' to
ElementPropertyTransition::Name() is not strictly necessary. It was simply added
because while making these changes I accidentally dropped the 'virtual' keyword
from the method in the superclass and the compiler didn't complain. Adding this
will hopefully make it harder to create the same bug in the future.

--HG--
rename : dom/animation/test/css-animations/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-name.html
rename : dom/animation/test/css-transitions/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-name.html
2015-04-15 08:48:20 +09:00
Ms2ger f1fc41b0e5 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
Olli Pettay c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Brian Birtles 6b5fcefb36 Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.

--HG--
rename : dom/animation/AnimationTimeline.cpp => dom/animation/DocumentTimeline.cpp
rename : dom/animation/AnimationTimeline.h => dom/animation/DocumentTimeline.h
rename : dom/animation/test/animation-timeline/test_animation-timeline.html => dom/animation/test/document-timeline/test_document-timeline.html
rename : dom/animation/test/animation-timeline/test_request_animation_frame.html => dom/animation/test/document-timeline/test_request_animation_frame.html
2015-04-10 10:34:22 +09:00
Olli Pettay eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Doug Turner 3dc192b085 Bug 1038811 - Push Notifications - Tests. r=nsm 2015-04-10 20:19:28 -07:00
Ryan VanderMeulen 23b2440390 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
James Cheng d7b40ea760 Bug 1026350 - Part 1: Inputport API implementation. r=baku 2015-04-08 03:07:00 -04:00
John Schoenick 4ce46f5512 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 -05:00
Boris Zbarsky 3dbe43d96c 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
Mark Banner d4d7432759 Bug 1147940 - Remove the dom.webcrypto.enabled pref as it is no longer necessary. r=smaug,r=rbarnes 2015-04-08 19:23:05 +01:00
Nikhil Marathe c9908ee8be Bug 1109751 - Request and Response constructors should set mime type. r=baku
--HG--
extra : rebase_source : 8efaf2edd3f3c5d1cd7c49615ac735805a4f4e84
2015-02-03 12:59:32 -08:00
Nikhil Marathe 9b5f6b134f Bug 1109751 - Consume FormData support in Fetch API. r=baku
--HG--
extra : __touch-noise__ : 2181078256
extra : transplant_source : %A4%7F%FF%9CV%9F%2C%F7%C1%A0%BBoc%CC%BB%0E%8E%F5%80%C1
2015-04-03 22:55:15 -07:00
Wes Kocher e73d6e8c9e Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00
Nikhil Marathe dd5c91927a Bug 1109751 - Consume FormData support in Fetch API. r=baku
--HG--
extra : transplant_source : %B0%0F%AB%E9%DBV%D1%86%980%28L%EC%CBI%0A%09%26%FDS
extra : histedit_source : 39fe8278cf135aa63a59ef4024432fab9ce5c7ee
2015-04-02 10:51:13 -07:00
Jan-Ivar Bruaroey b711b1abcf Bug 1046245 - enumerateDevices (harmless interface version) r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Randell Jesup 2b3486247c Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey a0143ecf52 Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda 24b4f38005 Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
CLOSED TREE

Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00
Jan-Ivar Bruaroey 08e703b65e Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Ryan VanderMeulen 003e8f5278 Backed out 6 changesets (bug 1046245) for bustage on a CLOSED TREE.
Backed out changeset 222c2f9e3bc9 (bug 1046245)
Backed out changeset 4251eef464a2 (bug 1046245)
Backed out changeset 592f4cc23197 (bug 1046245)
Backed out changeset 5bfb9a1c0550 (bug 1046245)
Backed out changeset e966a5df87b6 (bug 1046245)
Backed out changeset 609f3ca64004 (bug 1046245)
2015-03-28 16:24:25 -04:00
Jan-Ivar Bruaroey f33f50277c Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Nick Fitzgerald 2edf06beb3 Bug 1038238 - Part 0: Make js/src/vm/SavedStacks.h use 1-based column numbers,
like js::ComputeStackString and other browsers do; r=jorendorff

https://bugzilla.mozilla.org/show_bug.cgi?id=1038238
2015-03-27 13:08:46 -07:00
Ryan VanderMeulen 3b75ea9aff Backed out 4 changesets (bug 1139560) for update-the-source-set.html w-p-t failures.
Backed out changeset ffcb5e699ef5 (bug 1139560)
Backed out changeset a0ef86da9b15 (bug 1139560)
Backed out changeset dc2cd9c336c9 (bug 1139560)
Backed out changeset 1e8b305f26b0 (bug 1139560)

CLOSED TREE
2015-03-27 15:56:55 -04:00
Josh Matthews 2cf094b2c9 Bug 1139560 - Fix mochitest expectations for currentSrc. r=orange for a CLOSED TREE 2015-03-27 15:36:18 -04:00
Nikhil Marathe 5e45307f84 Bug 1146059 - Remove Response.finalURL. r=ehsan
--HG--
extra : rebase_source : 6b22c835c2599d20d625b7b0706c625b06080b23
2015-03-21 17:49:29 -07:00
Ehsan Akhgari 3ae4ca6b18 Bug 1126819 - Part 1: Respect the RequestInit.cache member in Request's constructor; r=nsm 2015-03-23 15:46:57 -04:00
Nikhil Marathe f01e92414c Bug 1144249 - fix fetch no-cors mode. r=bkelly
A no-cors mode request should not go through a nsCORSProxyListener, which can only handle same-origin and cors mode.

The test for no-cors was passing allowOrigin, which was converting it into a CORS request, which is why it was passing.

I also realized that it is port 8888 and not 8000, so fixed that in some of the redirect tests.

--HG--
extra : rebase_source : a959877e9fc65ae177dfd480258d164d7b2e6af5
2015-03-17 08:47:04 -07:00
Nikhil Marathe ac84e104df Bug 1143857 - Add FormData serialize support to Fetch API. r=ehsan
--HG--
extra : rebase_source : e971be3409e5c8de982e8ffcfcc87dcebb4c3867
2015-03-17 08:32:04 -07:00
Nikhil Marathe 6d65226133 Bug 1140791 - Run fetch tests on main thread and workers. r=ehsan
--HG--
rename : dom/tests/mochitest/fetch/worker_test_fetch_basic.js => dom/tests/mochitest/fetch/test_fetch_basic.js
rename : dom/tests/mochitest/fetch/worker_test_fetch_basic_http.js => dom/tests/mochitest/fetch/test_fetch_basic_http.js
rename : dom/tests/mochitest/fetch/worker_test_fetch_cors.js => dom/tests/mochitest/fetch/test_fetch_cors.js
rename : dom/workers/test/fetch/test_request.html => dom/tests/mochitest/fetch/test_request.html
rename : dom/workers/test/fetch/worker_test_request.js => dom/tests/mochitest/fetch/test_request.js
rename : dom/workers/test/fetch/test_response.html => dom/tests/mochitest/fetch/test_response.html
rename : dom/workers/test/fetch/worker_test_response.js => dom/tests/mochitest/fetch/test_response.js
extra : rebase_source : d889a24b81681948f67604bacd95f05fac96ef57
2015-03-11 14:48:58 -07:00
Blake Kaplan 086b2fab59 Bug 1112040 - Add a mochitest. r=bholley 2015-03-16 08:39:46 -07:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Nikhil Marathe af18a63f82 Bug 1133861 - Enable the Fetch API by default. r=jst
--HG--
extra : rebase_source : 97dc853238ad7ce4cec7277c4732bf3f4ec1b962
2015-02-22 01:52:10 -08:00
Jan de Mooij 0158166339 Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku 2015-03-06 09:50:51 +01:00
Dave Townsend 3e934217ce Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap
--HG--
extra : rebase_source : e9eb26724c1889d893aa717fa6b4c7811099bc6b
2015-03-03 14:07:08 -08:00
Ben Kelly bc355cdce2 Bug 940273 - Part 5 - Expose Service Worker Cache as window.caches when pref is enabled. r=ehsan 2015-03-02 14:22:00 +01:00
Blake Kaplan 4f3801c238 Bug 1077002 - Add a test. r=jimm 2015-02-26 14:23:45 -08:00
Gabor Krizsanits 4f96dc64d4 Bug 1134981 - Quick fix in registerElement. r=bz 2015-02-26 15:20:37 +01:00
Mike Conley 448f596abf Bug 1077168 - Cancel in-flight Webapp install jobs from windows that change location. r=myk.
Installing a Webapp is an asynchronous job, and there is a pocket of time
between when web content requests to install an app and before the browser
displays an installation prompt that the outer window of the content can
browse away. This pocket of time is typically used by XHR to request the
web app resources and verify their contents.

This pocket of time is, essentially, bug 771294, and is a bit of a security
problem.

This problem was originally patched over on Desktop by checking in the parent
process that the outer window was still at the same URI as it had been when it
made the request. I'm not entirely sure if Android / B2G made similar checks.

With separated content processes, however, the browser front-end can no longer
performantly check to ensure that the outer window is at the same URI.

We solve this problem by sending up a message in the content process when
the location of an outer window making use of navigator.mozApps changes.
We hold a Map of "actions" mapping to in-flight installs mapped by the
outer window ID of the requesting content. When we notice a location
change, we mark those actions as cancelled. When the XHR returns, we have
it check the state of its actions, and if they're cancelled, it aborts
further action.

Normally, this wouldn't be necessary, since any XHR initiated by the
content window would be cancelled once the location changed, but in
this case, the XHR is occurring in Webapps.jsm, and is not influenced
by the outer window of the content.

--HG--
extra : rebase_source : 5f95002a21c96c5cbf3dca8ca265400448251b43
2015-02-10 13:18:47 -05:00
Anish 45de248a8b 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 c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Bill McCloskey c2f40fe8a3 Bug 1131317 - Always unwrap objects before wrapping them in XPCWrappedJS (r=mrbkap) 2015-02-18 10:42:28 -08:00
Masatoshi Kimura 02889442ad Bug 1129756 - Revert test changes in bug 1041631 since Symbols are reenabled. r=jorendorff 2015-02-05 22:44:10 +09:00