Boris Zbarsky
18cd0e8414
Bug 903419 part 1. Change js::GetErrorTypeName to take a JSRuntime, not a JSContext. r=luke
2013-08-29 00:30:06 -04:00
Masatoshi Kimura
537980e822
Bug 910291 - Hide TraceMalloc debug functions from content. r=bz
2013-08-29 07:48:43 +09:00
Andrew McCreight
3228f67147
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Boris Zbarsky
d201003d5f
Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger
2013-08-28 00:14:57 -04:00
Ed Morley
8fa667be94
Merge latest green inbound changeset and mozilla-central
2013-08-28 16:18:51 +01:00
Ed Morley
6a787f6a2c
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-28 12:22:00 +01:00
Boris Zbarsky
814e6108be
Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE.
2013-08-28 01:46:00 -04:00
Boris Zbarsky
cb43e3e570
Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger
2013-08-28 00:14:57 -04:00
Nicholas Nethercote
b6d6b342af
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Nicholas Nethercote
86b679f348
Bug 831193 (part 21) - Make NumGhostsReporter a subclass of MemoryReporterBase. r=jlebar.
...
--HG--
extra : rebase_source : 8777a4dabebdb5928c200401445d7c29f5bf3bcb
2013-08-22 22:26:23 -07:00
Kan-Ru Chen (陳侃如)
51932f5d24
Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
...
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ed Morley
e120974334
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-27 15:17:56 +01:00
Vicamo Yang
c670c0d9e8
Bug 865403 - Move MozCellBroadcast to WebIDL. r=Ms2ger
...
--HG--
rename : dom/cellbroadcast/interfaces/nsIDOMMozCellBroadcast.idl => dom/webidl/MozCellBroadcast.webidl
2013-08-27 11:38:37 +08:00
Ryan VanderMeulen
252154d12a
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Nicolas Pierron
c17842925f
Bug 908903 - Add testing function to toggle jit compiler options. r=jandem
2013-08-27 16:32:04 -07:00
Bobby Holley
41d0a60a21
Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
...
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
f4699b4f3a
Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
...
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
360beeeaef
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
0fcb9a74eb
Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8
2013-08-27 15:21:39 -07:00
Bobby Holley
f4dd8b2c3e
Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8
2013-08-27 15:21:38 -07:00
Bobby Holley
d592d5f81c
Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
...
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
afb9cf290d
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-08-27 15:21:37 -07:00
Bobby Holley
b9441e23f7
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Ed Morley
7719029a3b
Merge mozilla-central and inbound
2013-08-28 16:21:25 +01:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Trevor Saunders
6ad6f7d99c
bug 899210 - convert camera control to WebIDL r=bz
2013-07-06 16:55:10 -04:00
Terrence Cole
06fbd5c329
Bug 908942 - Fix some exact rooting hazards in dom; r=bz
2013-08-23 17:23:37 -07:00
David Zbarsky
0126553574
Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz
2013-08-24 10:08:55 -04:00
Gabriele Svelto
619cc7ccf1
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Boris Zbarsky
9e1e6a8b84
Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug
2013-08-23 22:42:41 -04:00
Boris Zbarsky
18e33f4b17
Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey
2013-08-23 22:42:40 -04:00
Phil Ringnalda
30b0f90e8f
Back out a35a5681fe2f (bug 887703) for b2g mochitest-8 failures
...
--HG--
rename : dom/tests/mochitest/general/test_donottrack.html => dom/tests/mochitest/general/test_bug629535.html
2013-08-23 19:38:25 -07:00
Phil Ringnalda
a1de56cb42
Back out 27eb88629c56:a26582e3c44d (bug 906901)
...
CLOSED TREE
2013-08-23 19:33:29 -07:00
David Zbarsky
3a05d7fba0
Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz
2013-08-23 21:11:47 -04:00
Mounir Lamouri
60a986c40e
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
2013-08-24 00:28:43 +01:00
Kyle Huey
debb415e8e
Bug 887533: Remove even more includes from dom/bindings. r=bz
2013-08-22 22:17:11 -07:00
Peter Van der Beken
fab0b014f6
Bug 904147 - crash in mozilla::dom::WindowNamedPropertiesHandler::getOwnPropertyDescriptor. Let only nsLayoutStatics call nsGlobalWindow::ShutDown and nsDOMClassInfo::ShutDown. r=bz.
2013-08-19 18:46:06 +02:00
Ryan VanderMeulen
9d72cb6e1e
Merge b2g-inbound to m-c.
2013-08-23 10:50:14 -04:00
Kyle Huey
7db281d06b
Back out Bug 887533 for test failures.
2013-08-22 23:40:32 -07:00
Kyle Huey
bd22797dd3
Bug 887533: Remove even more includes from dom/bindings. r=bz
2013-08-22 22:17:11 -07:00
Kyle Huey
bf31d78a83
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Nicholas Nethercote
9ec228491f
Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Ryan VanderMeulen
2ebd5030e2
Merge m-c to b2g-inbound.
2013-08-22 15:45:52 -04:00
Gregor Wagner
69ed0a290a
Bug 907996 - Contacts: Fix error callbacks. r=reuben
2013-08-22 12:05:01 -07:00
Masatoshi Kimura
09d00d9157
Bug 600460 - Implement category entry removal for nsScriptNamespaceManager. r=bholley
2013-08-22 22:44:19 +09:00
Brian Hackett
b2e2821cb2
Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm.
2013-08-22 07:22:33 -06:00
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
707d12dbb2
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
3084ab9eb8
Bug 906503 - Remove nsIExceptionProvider; r=bholley
...
It is replaced by a direct special case in the caller.
2013-08-22 08:56:02 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
2fab82586f
Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal
2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
a5bc3bff5b
Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey
2013-08-22 08:33:59 +02:00
Ms2ger
584215995c
Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey
2013-08-22 08:31:21 +02:00
Ms2ger
badb581ba0
Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir
2013-08-22 08:30:55 +02:00
Ms2ger
52d34a89db
Bug 903796 - Remove remaining traces of GeoPositionError; r=jst
2013-08-22 08:30:28 +02:00
Ms2ger
a47f57f344
Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey
2013-08-22 08:29:30 +02:00
Guillaume Abadie
0c828225cf
bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert
2013-08-21 21:11:03 -04:00
Olli Pettay
cfe8016ac6
Bug 906269, don't start a GC cycle so likely while we're in middle of a CC cycle, r=mccr8
...
--HG--
extra : rebase_source : 90d3ad3d19159613f2cb83f0d28dd37a1a429b75
2013-08-22 00:02:12 +03:00
Nicholas Nethercote
6b42324e2b
Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Till Schneidereit
c0ed220ec8
Bug 907201 - Enable activating TI and IonMonkey for chrome scripts via about:config. r=jandem
...
--HG--
extra : rebase_source : ee45b0108b4516cff12ecc91014cb566d432a4fa
2013-08-20 11:26:44 +02:00
Ehsan Akhgari
2a87c95927
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Botond Ballo
decaefa3d3
Bug 898580 - Add nsIDOMWindowUtils.getViewId(element). r=smaug
2013-08-08 15:56:09 -04:00
Nicholas Cameron
9b7d0b4cf3
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Andrew McCreight
6a3bbc978c
Bug 906272 - Remove unused CC declarations for nsScreen. r=khuey
2013-08-19 14:18:07 -07:00
Masatoshi Kimura
67db682fbc
Bug 910751 - Hide UserDataHandler from content. r=smaug
2013-08-30 20:39:37 +09:00
Guillaume Abadie
f54c0d20fb
bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert
2013-08-20 11:36:20 -04:00
Ehsan Akhgari
c2ce7e67ab
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Bobby Holley
f570623498
Bug 901106 - Eliminate the nsJSRuntime namespace. r=mrbkap
2013-08-19 16:24:29 -07:00
Bobby Holley
b306fdba14
Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
...
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley
a6c8c396cf
Bug 901106 - Get rid of vestigial nsJSRuntime instance and make it a namespace. r=mrbkap
...
We'll rename the namespace shortly.
2013-08-19 16:24:29 -07:00
Bobby Holley
9f05e412a1
Bug 901106 - Make sure sure the nsDOMScriptObjectFactory gets instantiated.
...
This used to happen implicitly when we created the first nsJSContext, but that
goes away in the next patch. Without this, we get a couple of odd exception-
related failures in the IPC indexedDB tests.
2013-08-19 16:24:28 -07:00
Bobby Holley
4e0f1d69d4
Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
...
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Bobby Holley
2947d0c4f8
Bug 901106 - Inline and remove nsIScriptContext::{Serialize,Deserialize}. r=smaug
2013-08-19 16:24:27 -07:00
Masatoshi Kimura
ffde56cf45
Bug 856424 - Unpref Components for content. r=bholley
2013-08-20 02:44:31 +09:00
Andrea Marchesini
dc4f37b699
Bug 896535 - Promise: then(console.log)
is not working as expected. r=msucan
2013-08-19 09:13:47 -04:00
Gabor Krizsanits
1e25746b3e
Bug 877673 - Part 1: AutoDontReportUncaught. r=bholley
2013-08-19 11:46:24 +02:00
Tom Schuster
00c715381f
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Andrew McCreight
90a2d6a14e
Bug 889193 - Remove DOMRequest::mRooted. r=smaug
2013-08-14 11:29:20 -07:00
Olli Pettay
b74af2cf58
Bug 887241, Use strings, not atoms, for worker events, r=khuey
...
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Ehsan Akhgari
a9bd6887cc
Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE
2013-08-15 18:20:00 -04:00
Tom Schuster
ef6d3d8a6b
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Brian Hackett
dbe559cdac
Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke.
2013-08-15 14:14:43 -07:00
Ehsan Akhgari
c0a07f27fe
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Jan de Mooij
14be08cab8
Bug 905300 - Remove dead code in SpiderMonkey. r=bhackett
2013-08-15 13:45:30 +02:00
Gregory Szorc
918eef7c37
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Bobby Holley
7c658894bd
Bug 903212 - Remove explicit compartment GC machinery. r=smaug
2013-08-14 14:00:03 -07:00
Bobby Holley
6c4c0caf35
Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap
2013-08-14 14:00:03 -07:00
Bobby Holley
fae00b9013
Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap
2013-08-14 14:00:03 -07:00
Bobby Holley
415c0d2afd
Bug 903212 - Remove activity tracking from nsJSContext. r=smaug
...
This only has an impact when we enable explict compartmental GCs, which have
been preffed off for a while.
2013-08-14 14:00:02 -07:00
Ryan VanderMeulen
a7872e972f
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gregory Szorc
260d3a8e7c
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Carsten "Tomcat" Book
f2f7753492
merge b2g-inbound to mozilla-central
2013-08-14 14:11:03 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
3791cfd9e8
Bug 900677 - Remove IDBEventTargetSH; r=bz
2013-08-14 08:53:46 +02:00
Johnny Stenback
00517e29d4
Bug 903311. Remove all ChromeOnly methods on window.history. r=bzbarsky
2013-08-13 21:02:01 -07:00
Kyle Huey
ca3e0665dd
Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking
2013-08-13 08:49:11 -04:00
Reuben Morais
826588e1b7
Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner
2013-08-12 21:58:38 -03:00
Ryan VanderMeulen
ef22033490
Merge m-c to b2g-inbound.
2013-08-12 17:44:21 -04:00
Bobby Holley
d51c959abd
Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap
2013-08-12 12:54:51 -07:00
Bobby Holley
32e6b2535f
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Bobby Holley
d567ebfffa
Bug 901364 - Switch to the XPConnect operation callback for DOM windows. r=mrbkap
2013-08-12 12:54:49 -07:00
Bobby Holley
79f4b2294d
Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap
2013-08-12 12:54:49 -07:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
f639add88a
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Kan-Ru Chen (陳侃如)
8d2d68f624
Bug 904333 - Add forEach{Request,PromiseResolver} method to DOMRequestIpcHelper r=fabrice
...
--HG--
extra : rebase_source : 181aead1356a73a5a8a85c98000f3375c751ee33
2013-08-13 13:07:03 +08:00
Ehsan Akhgari
0d5d6f77f6
Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley
2013-08-13 13:51:50 -04:00
Johnny Stenback
eb82278883
Bug 859707. Convert History to WebIDL bindings. r=bz
2013-08-09 23:47:59 -07:00
Boris Zbarsky
5f0cd458b5
Bug 895758 followup. Fix the include guard and some spacing issues.
2013-08-10 01:10:18 -04:00
Michael Henretty
e9cb83c3ee
Bug 883923 - Provide a Fuzzy Matcher API for phone numbers. r=fabrice
2013-07-31 21:04:59 -07:00
Thomas Zimmermann
75e046a4af
Bug 888595 - Convert BluetoothAdapter to WebIDL. r=bz, r=echou
...
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
60bf85dd1d
Bug 888595 - Convert BluetoothManager bindings to WebIDL. r=bz, r=echou
...
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Carsten "Tomcat" Book
524da22e31
Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure
2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
5e3c55d3f4
Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure
2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
7ae8018071
merge mozilla-central to b2g-inbound
2013-08-12 11:52:02 +02:00
Thomas Zimmermann
a21fbb7fdc
Bug 888595: Converted BluetoothAdapter to WebIDL, r=bzbarsky,echou
...
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
--HG--
extra : rebase_source : 8a3e25ff89877148d0765b371ebdf77ad33aad75
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
9735683b39
Bug 888595: Convert BluetoothManager bindings to WebIDL, r=bzbarsky,echou
...
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
--HG--
extra : rebase_source : 4bdc77b3923d4ca6ec820c12454a295010382839
2013-08-12 10:31:58 +02:00
Ryan VanderMeulen
13be9bc4d0
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Fabrice Desré
7df165623f
Bug 902362 - DOMRequestHelper specifies _requests as array, but should be object. r=fabrice
2013-08-09 09:32:02 -07:00
Ryan VanderMeulen
877a258694
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Justin Lebar
6896d9a525
Bug 900221 - Switch DOMRequestHelper over to using weak message listeners. rs=fabrice
...
--HG--
extra : rebase_source : d83eb49444d8fb598e9d7ed1a879a6cbc8f3baaf
2013-08-08 11:36:56 -07:00
Peter Van der Beken
fd990e273b
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
David Zbarsky
34dcd56bd5
[Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger
2013-08-09 21:17:52 -04:00
Nikhil Marathe
e59ae01137
Bug 902030 - DOMRequestIpcHelper stores/retrieves Promises too. r=fabrice
...
--HG--
extra : rebase_source : 4610af506cc1e15f8f2efdc682e3d7989626cebf
2013-08-09 18:11:11 -07:00
Ryan VanderMeulen
a199b3df6e
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Nicholas Nethercote
1399d1419a
Bug 898263 (part 4) - Move |JSTrapStatus| and related function typedefs out of jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 68c1d3aaaa40763e073ee791c1d0078c5d5cf87e
2013-08-08 21:30:15 -07:00
Nicholas Nethercote
fa931e84a6
Bug 898263 (part 1) - Slim down jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 7a926428c59e388fc08148bf60f6dbc7bfe71271
2013-07-25 21:23:14 -07:00
Carsten "Tomcat" Book
0436faaa5c
merge mozilla-central to mozilla-inbound
2013-08-08 14:01:54 +02:00
Carsten "Tomcat" Book
87a23c556a
merge b2g-inbound to mozilla-central
2013-08-08 13:33:12 +02:00
Carsten "Tomcat" Book
f0bfac3d0e
merge mozilla-inbound to mozilla-central
2013-08-08 13:13:05 +02:00
Boris Zbarsky
b3d562602e
Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug
2013-08-07 17:40:00 -04:00
Marco Castelluccio
7a53f37405
Bug 769848 - window.resizeTo fails is blocked in apps. r=jst
2013-08-07 20:17:34 -04:00
Ryan VanderMeulen
987bbb9c94
Bug 901416 - Follow-up fix for Werror bustage.
2013-08-07 20:45:54 -04:00
Jeremy Kim
3c7a37695e
Bug 901416 - Don't add multiple instances of the network-blip observer to nsGlobalWindow. r=jlebar
2013-08-07 20:07:41 -04:00
Nicholas Nethercote
aa5919539d
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
e4241ca68b
Backed out changeset 95cefee173eb (bug 897913)
2013-08-07 15:50:13 -07:00
Boris Zbarsky
8fd721491d
Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug
2013-08-07 17:40:00 -04:00
Ryan VanderMeulen
1ff98491e9
Merge m-c to inbound.
2013-08-06 14:24:39 -04:00
Nicholas Nethercote
c1d8302699
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Boris Zbarsky
82ba945cef
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Carsten "Tomcat" Book
0d5021bdcc
Merge mozilla-central to mozilla-inbound
2013-08-05 11:59:14 +02:00
Carsten "Tomcat" Book
ce9fe7db3d
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
David Zbarsky
f9946af078
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-08-05 00:51:22 -04:00
David Zbarsky
b9427f8d2b
Bug 898930 - Remove nsIDOMTouchEvent r=smaug
2013-08-05 00:51:21 -04:00
Yoshi Huang
dfc815e181
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Dave Hylands
871ce5545f
Bug 885753 - Change getDeviceStorage to return the default storage area. r=jvarga
...
This removes the entire concept of composite storage.
2013-08-02 16:34:59 -07:00
Justin Lebar
3024bbcc2d
Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE.
2013-08-02 10:53:34 -07:00
Neil Deakin
243c5a081d
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-02 11:37:05 -04:00
Boris Zbarsky
22412e781e
Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug
2013-08-03 23:38:54 -04:00
Boris Zbarsky
d6cd0f4165
Bug 707564 part 2. Add a way to enumerate navigator names on the script namespace manager. r=smaug
2013-08-03 23:38:54 -04:00
David Zbarsky
eb7e83b422
Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz
2013-08-07 16:23:08 -04:00
Neil Deakin
0f0430de5b
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
Nikhil Marathe
901cca41ac
Bug 884897 - Add permission check to navigator.push load. r=bz
2013-08-07 08:04:10 -07:00
Jon Coppeard
ef396b7874
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Ms2ger
aaa8d8915a
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
ed2a9cfb16
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
468d7dab87
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +02:00
Ms2ger
f8a25b94f5
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
d5d5885d4c
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
David Zbarsky
4fa5d9c4b0
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-08-01 15:24:24 -07:00
Masatoshi Kimura
5f8f13c41c
Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug
2013-08-01 23:48:18 +09:00
David Zbarsky
93caf8a63e
backout Bug 893117 for mochitest failure
2013-08-01 01:54:09 -07:00
David Zbarsky
aa2fc03e9f
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-31 23:12:40 -07:00
Bill McCloskey
f2eacd8ccc
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Masatoshi Kimura
ed028c054e
Backed out changeset 9c6dc3897c17 (bug 898136) for breaking SeaMonkey
2013-08-01 07:30:06 +09:00
Andrea Marchesini
4cf68c1978
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
ebeb72d6f9
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Masatoshi Kimura
a7c7daa22e
Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat
2013-08-01 06:44:51 +09:00
Tom Schuster
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Andrea Marchesini
20617169ee
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
9dbd04ea78
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
ef616d1baf
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02:00
Masatoshi Kimura
a3d3dbb05f
Bug 898136 - Remove nsIDOMGlobalObjectConstructor. r=mrbkap
2013-07-31 09:25:31 -04:00
Nicholas Cameron
a2cdf1ab09
Bug 895873 - backout bug 893117 for Win8 mc bustage
2013-07-30 23:32:35 -04:00
Boris Zbarsky
aae3cb0194
Bug 892929 - hide window.CSSFontFeatureValueRule when font features disabled. r=smaug
2013-07-31 14:17:48 +09:00
Johnny Stenback
dbb32c1f2e
Bug 898906. Fix this bug by making nsMimeType objects hold their active plugin alive, and rely on the cycle collector to break the explicit reference cycle. r=mccr8
...
---
dom/base/crashtests/898906.html | 14 ++++++++++++++
dom/base/crashtests/crashtests.list | 3 ++-
dom/base/nsMimeTypeArray.cpp | 2 +-
dom/base/nsMimeTypeArray.h | 14 ++++++--------
dom/base/nsPluginArray.cpp | 24 +-----------------------
dom/base/nsPluginArray.h | 2 --
6 files changed, 24 insertions(+), 35 deletions(-)
create mode 100644 dom/base/crashtests/898906.html
2013-07-30 17:46:46 -07:00
David Zbarsky
0ee6634734
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-30 14:55:12 -07:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Masatoshi Kimura
bf30ca0532
Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz
2013-07-30 22:26:27 +09:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
fdbb43c394
Backout b43b3d14ea16 for mochitest failures on CLOSED TREE
2013-07-29 22:46:45 -07:00
David Zbarsky
10f3eae40e
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
Bobby Holley
99246966e4
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
08f9b6fd28
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Bobby Holley
9f3d1e24f0
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
David Zbarsky
d3fdca2e8d
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
David Zbarsky
0240aeb948
Bug 898930 - Remove nsIDOMTouchEvent r=smaug
2013-07-29 16:04:08 -07:00
Andrea Marchesini
a1a1e17579
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Masatoshi Kimura
3fde1bcef1
Bug 898687 - Hide XUL related classes from content. r=Jan.Varga
2013-07-29 23:45:58 +09:00
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00