Commit Graph

5219 Commits

Author SHA1 Message Date
Jason Orendorff
c4905dda94 Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke. 2014-03-10 16:28:43 -05:00
Ed Morley
b0b98b2931 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Ed Morley
9026e74f7f Backed out changeset d19f076a7451 (bug 923247) 2014-03-10 17:04:01 +00:00
Andrea Marchesini
b664898c5b Bug 923247 - patch 3 - audio-active/inactive notifications per window, r=ehsan, r=roc
--HG--
rename : content/html/content/test/wakelock.ogg => dom/base/test/audio.ogg
2014-03-10 16:36:24 +00:00
Andrea Marchesini
5c90d4d8c7 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Carsten "Tomcat" Book
b73790913d Merge mozilla-central to mozilla-inbound 2014-03-10 12:34:00 +01:00
Carsten "Tomcat" Book
c5cb46f60a Backed out changeset 5423f1b0599e (bug 979481) 2014-03-10 12:31:34 +01:00
Brian Birtles
138adeb229 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
51753ab71b Bug 979658 part 2 - Add nsDOMWindowUtils.getOMTAStyle; r=dbaron
nsDOMWindowUtils.getOMTAOrComputedStyle falls back to using getComputedStyle
when an OMTA style is not available. However, in order to be sure we are testing
OMTA, this patch adds getOMTAStyle which returns an empty string if no OMTA
style is available.

This patch also includes some minor stylistic tweaks. The method signature for
getOMTAOrComputedStyle now takes an nsIDOMElement parameter rather than
nsIDOMNode in order to simplify error-checking. (When we support OMTA of
pseudo-elements we will have to adjust the method signature but for now we only
support elements.) Also, some lines have been wrapped, ErrorResult is
declared closer to where it is used, and the return value aResult is only
truncated when returning NS_OK.
2014-03-10 13:47:12 +09:00
Brian Birtles
92acec8bfb Bug 979658 part 1 - Add check that caller is chrome to GetOMTAOrComputedStyle; r=dzbarsky
Every other exposed method in nsDOMWindowUtils except getViewPortInfo and
getViewId performs this check. This patch makes getOMTAOrComputedStyle check the
caller is chrome as well.
2014-03-10 13:47:11 +09:00
Robert O'Callahan
f87fd81842 Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
c8a214195d Bug 975931. Part 10: Refactor nsDOMWindowUtils to use a shared GetDocument method. r=matspal
--HG--
extra : rebase_source : 171cd80958a92efcf16ebd249c73f46dbdedb012
2014-03-08 22:22:28 +13:00
Andrew McCreight
e91cb76669 Bug 977940, part 2 - Don't automatically trigger the ghost window detector during ICC. r=smaug 2014-03-08 05:38:53 -08:00
Andrew McCreight
ae691fcc12 Bug 977940, part 1 - Don't run the ghost window detector more than every 45 seconds. r=smaug 2014-03-08 05:38:52 -08:00
Masayuki Nakano
2c3296d1bb Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Ryan VanderMeulen
d76583a0fc Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob
9c93a3d8aa Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Luke Wagner
731533e709 Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Bobby Holley
8c2b8ca542 Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm 2014-03-06 15:26:17 -08:00
Jan de Mooij
d64a9d454e Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Robert O'Callahan
6a2a74cd42 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Andrew McCreight
0018ba6e34 Bug 963844 - Scale ICC budget by time between slices. r=smaug
If we exceed the desired length of time between ICC slices, proportionally scale up the slice budget to try to ensure a constant amount of collection work is done per unit of time, even when the browser is under heavy load.

As part of this, track the time the last slice from the current ICC ended.
2014-03-06 10:54:37 -08:00
Vaibhav Agarwal
9a59a5c96d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Luke Wagner
b43e1257fc Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Ryan VanderMeulen
02ecb5a5d6 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Bobby Holley
d923095634 Bug 979481 - Don't depend on the default global for the SafeJSContext in nsJSUtils::ReportPendingException. r=bz 2014-03-06 08:55:00 -08:00
Benoit Jacob
323054beb0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Richard Barnes
70dae16942 Bug 936340 - Implement navigator.sendBeacon r=sicking 2014-03-06 10:51:23 -05:00
Ehsan Akhgari
65a4f26667 Backed out changeset 98cc8a50348f (bug 936340) because it misses the test_beaconElectrolysis.html file, which breaks the build 2014-03-06 09:04:45 -05:00
Richard Barnes
137fe8d659 Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-03-06 08:52:50 -05:00
Ryan VanderMeulen
3d07d638ad Merge b2g-inbound to m-c. 2014-03-05 16:01:53 -05:00
Boris Zbarsky
4b3ac033b1 Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Andrea Marchesini
f9cfcef2a3 Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug 2014-03-05 03:28:20 +00:00
Andrea Marchesini
f247026039 Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Yuan Xulei
260442ce9a Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Masayuki Nakano
d26caa0d74 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Andrew McCreight
b08be36469 Bug 979047, part 5 - Make sure we have at least one early forgetSkippable timer fire. r=smaug
With ICC, ccDelay can get close to NS_CC_SKIPPABLE_DELAY, but we want to always want to run at least one forgetSkippable before the actual CC.
2014-03-04 16:21:48 -08:00
Andrew McCreight
150f32e631 Bug 979047, part 4 - Run ICCSliceTime() after PrepareForCollectionSlice. r=smaug
This way we take into account time spent finishing off a GC, or something.
2014-03-04 16:21:48 -08:00
Andrew McCreight
14d6458449 Bug 979047, part 3 - Make sure we trigger a GC after a current ICC when we poke the GC. r=smaug 2014-03-04 16:21:48 -08:00
Andrew McCreight
b6b53568d5 Bug 979047, part 2 - Remove unused endGCTime assignments. r=smaug 2014-03-04 16:21:48 -08:00
Andrew McCreight
97df06cc1d Bug 979047, part 1 - Only clear mBeginSliceTime in EndCycleCollectionCallback. r=smaug
Run FinishCycleCollectionSlice only once per slice, and only if we've previously run PrepareForCycleCollectionSlice.
2014-03-04 16:21:48 -08:00
Andrew McCreight
6d6e9c420b Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 15:39:42 -08:00
Wes Kocher
55ae71a452 Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE 2014-03-04 14:15:33 -08:00
Andrew McCreight
dc81f67e51 Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 13:33:44 -08:00
Masayuki Nakano
988a8c3033 Bug 974318 part.9 Use WidgetTextEvent::mRanges on CompositionStringSynthesizer r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
793376edad Bug 974318 part.1 Add WidgetTextEvent::mRanges which is an array class of TextRange r=smaug 2014-03-04 22:48:26 +09:00
Andrea Marchesini
e104f14409 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Ed Morley
7d716105c8 Backed out changeset 508848ad378a (bug 939562) for causing bug 978450 2014-03-03 16:54:26 +00:00
Andrea Marchesini
9c9de5345e Bug 978522 - Console must use LinkedList instead a nsTArray, r=smaug 2014-03-03 00:20:34 +00:00
Jan de Mooij
53c60cb160 Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
Masayuki Nakano
3d0ba958a1 Bug 975688 part.26 Rename nsDOMUIEvent to mozilla::dom::UIEvent r=smaug
--HG--
rename : dom/events/nsDOMUIEvent.cpp => dom/events/UIEvent.cpp
rename : dom/events/nsDOMUIEvent.h => dom/events/UIEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano
1237687ca3 Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug
--HG--
rename : dom/events/nsDOMTouchEvent.cpp => dom/events/TouchEvent.cpp
rename : dom/events/nsDOMTouchEvent.h => dom/events/TouchEvent.h
2014-02-28 23:58:42 +09:00
Boris Zbarsky
f73bafbb6a Bug 952596 followup to fix dumb typo and reopen CLOSED TREE. 2014-02-28 09:09:11 -05:00
Boris Zbarsky
f5403eb543 Bug 952596. HasActiveDocument should just clearly assert that it's only called on inner windows. r=smaug 2014-02-28 08:57:14 -05:00
Boris Zbarsky
5b9a40cc0b Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
Andrea Marchesini
27aa10cd04 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Andrea Marchesini
0ccdca4ca3 Bug 965860 - patch 6 - Console.count(), r=khuey 2014-02-27 23:39:24 +00:00
Andrea Marchesini
155f130757 Bug 965860 - patch 5 - Console inner-window-destroyed observer, r=khuey 2014-02-27 23:39:17 +00:00
Andrea Marchesini
9e6c310068 Bug 965860 - patch 4 - Console format string, r=khuey 2014-02-27 23:39:12 +00:00
Andrea Marchesini
5d074ae75a Bug 965860 - patch 3 - Console replacable in IDL, r=bz 2014-02-27 23:39:06 +00:00
Andrea Marchesini
80210d8dab Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Andrea Marchesini
07f3b7d454 Bug 965860 - patch 1 - Convert ConsoleAPIStorage in a Service, r=msucan, r=khuey
--HG--
rename : dom/base/ConsoleAPIStorage.jsm => dom/base/ConsoleAPIStorage.js
2014-02-27 23:38:54 +00:00
Andrew McCreight
537eb6fa81 Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
Peter Van der Beken
46ee609d7b Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Masayuki Nakano
01a476057d Bug 975688 part.15 Rename nsDOMMouseEvent to mozilla::dom::MouseEvent r=smaug
--HG--
rename : dom/events/nsDOMMouseEvent.cpp => dom/events/MouseEvent.cpp
rename : dom/events/nsDOMMouseEvent.h => dom/events/MouseEvent.h
2014-02-27 19:51:15 +09:00
Peter Van der Beken
6f93fad4e2 Bug 923054 part 2 - Convert DataTransfer to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=smaug 2014-02-26 22:23:31 -05:00
Blake Kaplan
0c0626e88d Bug 956704 - Only suppress animation frames when entering a modal state. r=smaug 2014-02-26 15:59:03 -08:00
Blake Kaplan
3ea889d5c2 Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug 2014-02-26 15:58:21 -08:00
Carsten "Tomcat" Book
e428ad4fe3 Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE 2014-02-26 16:02:15 +01:00
Jan de Mooij
f8a1ec2850 Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Luke Wagner
4c59cb92eb Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
John Schoenick
940c023e49 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-25 13:30:03 -08:00
Carsten "Tomcat" Book
38c9d559f9 Backed out changeset 0cea4bded6f8 (bug 936340) for mochitest-3 bustage on a CLOSED TREE 2014-02-25 16:00:47 +01:00
Carsten "Tomcat" Book
8f2d51be14 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Carsten "Tomcat" Book
6ed4d39459 merge b2g-inbound to mozilla-central 2014-02-25 14:30:13 +01:00
Richard Barnes
a6c346f6cb Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-02-25 08:40:54 -05:00
Shih-Chiang Chien
2013e435dc Bug 898949 - Part 1, add optios in permission prompt for Video/Audio device selection. r=fabrice,khuey 2013-09-10 17:41:59 +02:00
Boris Zbarsky
9fd5b838b1 Bug 973849. Allow clearInterval/clearTimeout calls with no arguments; just treat them as no-ops. r=smaug 2014-02-23 00:01:26 -05:00
Phil Ringnalda
aeab0a83a7 Back out ab395abf96b9:837481767455 (bug 972312) for Windows build bustage
CLOSED TREE
2014-02-22 21:39:13 -08:00
Boris Zbarsky
a74668e111 Bug 973849. Allow clearInterval/clearTimeout calls with no arguments; just treat them as no-ops. r=smaug 2014-02-23 00:01:26 -05:00
Boris Zbarsky
f5da038d79 Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug 2014-02-23 00:01:12 -05:00
Ryan VanderMeulen
c7a5ff34d2 Backed out changeset 2d021370c57f (bug 965990) for causing bug 973307. 2014-02-21 16:54:42 -05:00
Robert O'Callahan
e099a6db18 Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow
--HG--
extra : rebase_source : d40cf8624f93b85298cc501ff315522220522fb6
2014-02-12 17:41:57 +13:00
Wes Kocher
a5dcf6f444 Backed out 7 changesets (bug 406541, bug 738396, bug 852315, bug 971273, bug 971279) for various java/plugin-related failures on a CLOSED TREE
Backed out changeset 13cc8a7ee925 (bug 852315)
Backed out changeset 23dfc36f99d4 (bug 852315)
Backed out changeset fb56bd7c0feb (bug 406541)
Backed out changeset b24d1437c6f3 (bug 738396)
Backed out changeset 5028e1290b45 (bug 971279)
Backed out changeset 34ecdab0cfc2 (bug 971279)
Backed out changeset 95b4aa01923d (bug 971273)
2014-02-20 16:19:30 -08:00
John Schoenick
d0fbe23ec1 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-20 14:38:02 -08:00
Andrew McCreight
38957cb028 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Andrew McCreight
9264ccbc55 Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz 2014-02-20 12:55:40 -08:00
Bobby Holley
a1f5e4896b Bug 973401 - Handle null from GetURI. r=smaug 2014-02-19 18:23:48 -08:00
Andrew McCreight
7ca0781046 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Andrew McCreight
5087973976 Backout bug 951491 on suspicion of causing Valgrind leaks 2014-02-19 16:10:58 -08:00
Andrew McCreight
558195773a Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Andrew McCreight
fbecfce6d2 Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz 2014-02-19 13:27:15 -08:00
Boris Zbarsky
e15f10d52f Bug 973905. setTimeout/setInterval with a string first arg but more than two arguments should still work (and ignore the extra arguments). r=smaug 2014-02-19 10:13:38 -05:00
Boris Zbarsky
2166b04394 Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey 2014-02-19 10:13:38 -05:00
Boris Zbarsky
d6d5a58892 Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey 2014-02-23 00:01:12 -05:00
Jan Varga
3c75c767d9 Bug 963064 - FileHandle cleanup. r=bent 2014-02-24 21:56:13 +01:00
Andrew McCreight
58fa248662 Bug 972856 - Use PR_Now() for CC timestamp in JSON log. r=smaug 2014-02-18 09:58:40 -05:00
Jan-Ivar Bruaroey
f609395190 Bug 949907 - GetUserMediaDevices cleanup + untie GetUserMediaRequest obj from DOM. r=jesup 2014-02-14 11:32:58 -08:00
Phil Ringnalda
243fc36595 Merge m-c to f-t 2014-02-17 15:27:12 -08:00
Julian Seward
9ce922e332 Bug 960603 - Uninitialised value use relating to nsJSContext::EndCycleCollection. r=mccr8.
--HG--
extra : rebase_source : 06a45cf8a46045bfafb6b95864a3ce6c2d0b04a0
2014-02-17 13:16:23 +01:00