Commit Graph

5532 Commits

Author SHA1 Message Date
Jeff Walden
96e2ce765d Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff 2014-05-27 14:32:41 -07:00
Mounir Lamouri
79cb038153 Bug 1012624 - Add missing return in test_navigator_language.html r=Ms2ger 2014-05-26 12:25:16 +01:00
Mounir Lamouri
9094d69df2 Bug 1014581 - Vibration API: clamp vibration lengths and array length to match platform restrictions. r=smaug 2014-05-27 21:54:03 +01:00
Mounir Lamouri
d219051569 Bug 887703 - navigator.doNotTrack returns { "0", "1", "unspecified" }. r=jlebar
--HG--
rename : dom/tests/mochitest/general/test_bug629535.html => dom/tests/mochitest/general/test_donottrack.html
2014-05-26 22:10:39 +01:00
Ryan VanderMeulen
4a08636d20 Merge inbound to m-c on a CLOSED TREE. 2014-05-27 16:23:41 -04:00
Ryan VanderMeulen
095b86b386 Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
CLOSED TREE
2014-05-27 14:08:30 -04:00
Reuben Morais
6b28e6ff71 Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Reuben Morais
978af66e3d Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Fabrice Desré
2deb233e1d Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz 2014-05-26 12:11:52 -07:00
Reuben Morais
df3026450e Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Reuben Morais
1d0db64ab8 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Carsten "Tomcat" Book
2446abd3df merge fx-team to mozilla-central 2014-05-26 14:59:21 +02:00
Felipe Gomes
e92b57bd96 Bug 1015535 - Only consider text nodes and cdata sections as candidates for translation. r=smaug 2014-05-24 23:52:04 -03:00
Ehsan Akhgari
6011b07362 Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj 2014-05-25 21:16:01 -04:00
Peter Van der Beken
de5fbc64a7 Backout 82e3d6f25c5f (bug 789261). 2014-05-25 18:50:27 +02:00
Andrea Marchesini
447dc76d13 Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent, r=smaug, f=ms2ger 2014-05-23 08:33:24 +01:00
Nicholas Nethercote
d71b0cc308 Bug 1014249 - Beef up the "is DMD enabled?" and "is DMD running?" checks. r=mccr8.
--HG--
extra : rebase_source : 868ce1a1e470e45f51447f5126982aaeb51905f1
2014-05-22 19:45:14 -07:00
Jason Orendorff
6f2b5025bf Bug 987995, part 3 - Move memory pressure callbacks from nsJSEnvironment/XPCJSRuntime to CycleCollectedJSRuntime. r=mccr8. 2014-05-22 08:18:02 -05:00
Jason Orendorff
9f145037d7 Bug 987995, part 2 - Add a data parameter to two memory-pressure-related callbacks. r=luke. 2014-05-22 08:18:01 -05:00
Boris Zbarsky
1c698d2d65 Bug 999456. Page load events should not be cancelable. r=smaug 2014-05-22 00:23:51 -04:00
Birunthan Mohanathas
59b969f7f4 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Andrew McCreight
8d1c981254 Bug 994090 - Use do_CreateInstance in nsWindowMemoryReport. r=smaug 2014-05-15 09:35:00 -04:00
Kartikaya Gupta
82413349d5 Bug 1001438 - Remove setCriticalDisplayPortForElement and have the getter function automatically compute it. r=tn 2014-05-21 12:06:02 -04:00
Peter Van der Beken
4349f30b19 Bug 1012723 - Stop preserving Window reflectors in WindowStateHolder. r=bz.
--HG--
extra : rebase_source : 9be2ebcd765d5cb2fb8cb0a196c0d00f6752f492
2014-05-16 12:33:16 +02:00
Richard Barnes
513ac90185 Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler 2014-05-15 06:20:00 -04:00
Peter Van der Beken
6a33e9b71a Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4c515e4a41e622f195a81904e1f896c492831440
2014-04-08 20:48:37 +02:00
Kyle Huey
8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Jeff Walden
06f73fbe81 Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent 2014-05-27 09:56:43 -07:00
Trevor Saunders
a7a065cd75 bug 966084 - don't QI the result of win->GetFrameElementInternal() when its not required r=smaug 2014-01-23 16:14:29 -05:00
Trevor Saunders
78966cf36b bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Tim Taubert
b4db14fef7 Bug 990812 - Add nsIDOMChromeWindow.getGroupMessageManager() API r=smaug 2014-05-23 14:51:56 +02:00
Peter Van der Beken
034f5ffcab Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Alphan Chen
3682d6b662 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Bobby Holley
7d5adedab9 Bug 997440 - Remove cx pushing in SetNewDocument. r=bz 2014-05-20 22:52:20 -07:00
Shu-yu Guo
b02d702198 Bug 717749 - Part 1: Add a slow script debug handler service. (r=smaug) 2014-05-20 18:27:24 -07:00
Boris Zbarsky
003d583e4f Bug 999315. Revert alert(undefined) to showing the string "undefined" again, like it used to, pending the spec getting sorted out. r=peterv 2014-05-20 16:07:17 -04:00
Boris Zbarsky
c75678d212 Bug 1000175. Make sure error events on window only fire if the active document has not changed from when the exception was thrown. r=smaug 2014-05-20 16:07:17 -04:00
Ms2ger
7d5dc0457f Bug 874212 - Move document.all to WebIDL; r=bz
The static jsids in nsDOMClassInfo are newly unused, except for sEnumerate_id,
which was unused before.

This also removes the test_nondomexception.html test, which relied on an
obscure detail of the exception being thrown from document.all; I haven't
found another API which does something equally silly.
2014-05-20 21:52:21 +02:00
Ms2ger
5dfc16607b Bug 1007243 - Remove nsJSContext::GarbageCollectNow's unused IsCompartment argument; r=bholley
It has been unused since changeset 82f8c3925056 in bug 903212.
2014-05-20 21:50:59 +02:00
Ms2ger
d66408293b Bug 968804 - Part g: Add outer window assertions to AreDialogsEnabled; r=peterv 2014-05-20 21:50:59 +02:00
Ms2ger
6487100cee Bug 968804 - Part f: Add outer window assertions to DispatchDOMWindowCreated; r=peterv 2014-05-20 21:50:59 +02:00
Ms2ger
cceaae56d4 Bug 968804 - Part e: Add outer window assertions to PreloadLocalStorage; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
6bc9e22bcd Bug 968804 - Part d: Add outer window assertions to SetInitialPrincipalToSubject; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
b91e2b5f83 Bug 968804 - Part c: Add outer window assertions to WouldReuseInnerWindow; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
529d64e30b Bug 968804 - Part b: Add outer window assertions to {Can,Force,Final}Close; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
d02b9c0ccb Bug 968804 - Part a: Add inner window assertions to DETH and {Add,Remove}EventTargetObject; r=peterv 2014-05-20 21:50:57 +02:00
Wes Kocher
1a69acc2e4 Backed out changeset c744c837c732 (bug 789261) for Gaia-unit test bustage on a CLOSED TREE 2014-05-19 15:20:43 -07:00
Boris Zbarsky
e614ebad59 Bug 1011815 part 2. Make DOMRequest.error be a DOMError. r=smaug 2014-05-19 16:37:58 -04:00
Nathan Froyd
a58426e0df Bug 1012748 - part 2 - remove unnecessary includes of nsIXPCSecurityManager.h; r=bholley 2014-05-19 12:43:00 -04:00
Bobby Holley
715f351f2b Bug 1010577 - Shim window.controllers (with a warning) in RELEASE_BUILDs. r=bz 2014-05-19 13:08:08 -07:00
Peter Van der Beken
13dc221813 Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : ae0d50133962c86ecdb7bf60f5ec8d359f681ac0
2014-04-08 20:48:37 +02:00
Boris Zbarsky
4abb64f16f Bug 1004458. Maintain modal state on outer windows only instead of relying on forwarding from inner to outer. r=peterv 2014-05-15 10:26:23 -07:00
Gijs Kruitbosch
9cddc1c564 Disable test for bug 1009529 on b2g desktop, rs=firebot, see bug 1011874 2014-05-17 13:42:16 +01:00
Gijs Kruitbosch
d9faeb07d3 Bug 1009529 - add test for window.open with null and with empty string having the same barprops, r=bz 2014-05-16 15:33:12 +01:00
Andrew McCreight
e66e6b22ea Bug 1011137 - Reduce GC delay rather than CC delay with ICC. r=smaug 2014-05-16 10:11:40 -07:00
Andrew McCreight
9173bb89f1 Bug 1011132 - Fix CYCLE_COLLECTOR_TIME_BETWEEN telemetry. r=smaug 2014-05-16 10:11:40 -07:00
Ryan VanderMeulen
9e342ce37a Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Andrew McCreight
cd9b2208fa Bug 1011137 - Reduce GC delay rather than CC delay with ICC. r=smaug 2014-05-16 08:09:17 -07:00
Andrew McCreight
7289b60b08 Bug 1011132 - Fix CYCLE_COLLECTOR_TIME_BETWEEN telemetry. r=smaug 2014-05-16 08:09:16 -07:00
Boris Zbarsky
73a4d96f80 Bug 1004458. Maintain modal state on outer windows only instead of relying on forwarding from inner to outer. r=peterv 2014-05-15 10:26:23 -07:00
Gijs Kruitbosch
3190a67e41 Bug 1009529 - add test for window.open with null and with empty string having the same barprops, r=bz
--HG--
extra : transplant_source : %88%0B%A75%96%2Cwk%2A%3E%8D%85%B2%E1%F4%CF%D0%5D%A4%81
2014-05-16 15:33:12 +01:00
Ryan VanderMeulen
c53951f788 Backed out 4 changesets (bug 1008236, bug 1010344, bug 1004458, bug 1008719) for mochitest crashes on a CLOSED TREE.
Backed out changeset 28ecab881472 (bug 1008719)
Backed out changeset 7eebcecb7e26 (bug 1004458)
Backed out changeset 17ea7f2276ac (bug 1010344)
Backed out changeset 184ead7f6e37 (bug 1008236)
2014-05-15 14:24:12 -04:00
Boris Zbarsky
61f92eb4bd Bug 1004458. Maintain modal state on outer windows only instead of relying on forwarding from inner to outer. r=peterv 2014-05-15 10:26:23 -07:00
Nick Lebedev
c49e263d0f Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Wes Kocher
d9132dfd34 Merge m-c to inbound 2014-05-14 16:32:53 -07:00
Wes Kocher
33757bdbb1 Merge fx-team to m-c 2014-05-14 14:54:46 -07:00
Eugen Sawin
219e6bff01 Bug 1002426 - Check resolution restore status via specialized flag. r=kats, r=tn 2014-05-12 19:26:53 +02:00
Bob Owen
97a1aa2693 Bug 1006024 - Part 4: Remove context null checks from nsGlobalWindow::GetMessageManager. r=bholley 2014-05-07 09:45:00 +01:00
Botond Ballo
0333901292 Bug 961289 - Expose client- and compositor-side APZ test data from nsIDOMWindowUtils. r=ehsan,kats,bholley
--HG--
extra : source : 41f87f2add7d1fafab2749eb08539cd78644fbbe
2014-05-09 17:16:03 -04:00
Nikhil Marathe
9785376d60 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : ac9bc321c679cbf7045c9d32d1001c5d87d68c69
2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
82d24eb10c Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
b7f44d85a7 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : 291219bb284967790bdbbc1f456b88d5f6baacc1
2013-11-19 15:14:07 -08:00
Andrew McCreight
4f600d1b82 Bug 958353, part 3 - Finish any IGC in progress when manually triggering an ICC slice. r=smaug 2014-05-13 11:58:39 -07:00
Jed Davis
7b9e6640da Bug 1009289 - Fix printf type mixup in nsGlobalWindow CC logging. r=mccr8
mWindowID is uint64_t; PR_snprintf's interpretation of %ld is int32_t.
Currently this results in a crash on ARM, and probably fails to print
the window URI on 32-bit x86.  Additionally, on ARM, this was probably
printing garbage instead of the window ID since it was added in 2012.
2014-05-12 18:35:00 -04:00
Carsten "Tomcat" Book
cd8f4f685a Merge mozilla-central to mozilla-inbound 2014-05-13 12:45:41 +02:00
Peter Van der Beken
c5cedc3cfd Bug 1005980 - Make nsGlobalWindow::OuterObject throw when it fails. r=bz.
--HG--
extra : rebase_source : a1a8ab7cec08cdd8ece3feb6f3c8868efdc743d5
2014-05-02 15:03:17 +02:00
Peter Van der Beken
42c32dddca Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
--HG--
extra : rebase_source : 08c6f04e050bdd801a15883bb57d21ff93626024
2014-04-08 20:48:37 +02:00
Peter Van der Beken
d6f69fd79e Bug 1005966 - Add a pref to control whether to use WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : ff51d647d6454d4cfbea0a967e64abe00dd74b77
2014-03-10 18:06:01 +01:00
Edgar Chen
adca7effae Bug 898445 - Part 2: DOM changes for MobileConnection webidl. r=smaug 2014-05-05 14:36:20 +08:00
Andrea Marchesini
42a3125c8f Bug 1006027 - ConsoleAPI uses timestamps in msecs, r=bz 2014-05-12 18:03:55 +01:00
Peter Van der Beken
4804da54ff Bug 1005898 - Make WebIDL properties on all globals own properties. r=bz.
--HG--
extra : rebase_source : 3eb201d073b090b2627814264a126a1a4281207f
2014-02-15 22:12:34 +01:00
Daniel Holbert
e2902a5390 Bug 1008312: Remove unused WrapNative function from nsDOMClassInfo.cpp. r=peterv 2014-05-12 09:29:31 -07:00
Alphan Chen
ccc8da0467 Bug 983502 - navigator.getFeature implementation (support hardware.memory). r=bz 2014-05-12 10:05:03 +08:00
Alphan Chen
843ce0bc37 Bug 983502 - test cases for navigator.getFeature (both with permission and without), r=ehsan 2014-04-15 14:30:22 +08:00
Mounir Lamouri
bd7cae1e0e Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
Valentin Gosu
b7db64f8c7 Bug 936813 - Implement onresourcetimingbufferfull callback (part 2) r=bz 2014-05-10 05:12:06 +03:00
Valentin Gosu
392bd58d88 Bug 936813 - Enforce buffer size for resource timing (part 1) r=bz 2014-05-10 05:11:54 +03:00
Olli Pettay
82bd55c1cf Bug 1007780 - "Better CC log for nsGlobalWindow". r=continuation 2014-05-08 10:58:00 +02:00
Mason Chang
17ad25a9b0 Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Chris Peterson
aca9b90afe Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Boris Zbarsky
d11e4b80db Bug 1007458. Actually check for errors when converting a Value to a variant in showModalDialog. r=smaug 2014-05-08 22:20:54 -04:00
Ehsan Akhgari
903bfdef6e Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Jan de Mooij
e7ac1c18d7 Bug 964915 part 1 - Remove cx argument from innerObject hook. r=efaust 2014-05-08 15:00:36 +02:00
Jonathan Watt
d7f9b418fd Bug 590790, part 1 - Add getTotalSize() methods to nsWindowSizes and nsArenaMemoryStats. r=njn 2014-05-08 10:52:13 +01:00
Wes Kocher
0e7578947c merge inbound to m-c 2014-05-07 17:06:22 -07:00