Boris Zbarsky
ae6e5ca2ae
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
f05d96e7f9
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
3bdf48d523
Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
...
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
fd35d23ff6
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
bb949d2e19
Bug 851892 part 6. Make css::Rule inherit from nsIDOMCSSRule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
64a7e3c6d5
Bug 851892 part 3. Give CSS rules a PreCreate hook so we can safely wrappercache them. r=peterv
2017-01-13 10:41:02 -05:00
Boris Zbarsky
17194e597d
Back out bug 851892 for Windows build bustage on CLOSED TREE
2017-01-13 11:47:22 -05:00
Boris Zbarsky
03dfecd1da
Bug 851892 part 20. Remove the remaining bits we added to support a mix of WebIDL and non-WebIDL rules. r=peterv
2017-01-13 10:41:05 -05:00
Boris Zbarsky
6f4f59776d
Bug 851892 part 19. Convert CSSCounterStyleRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
c6b3b45c13
Bug 851892 part 18. Convert CSSKeyframesRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
896b1e8c49
Bug 851892 part 17. Convert CSSKeyframeRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
23f3f06a84
Bug 851892 part 16. Convert CSSFontFeatureValuesRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
b2f0b5202b
Bug 851892 part 15. Convert CSSFontFaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
92b794192c
Bug 851892 part 14. Convert CSSPageRule to WebIDL. r=peterv,heycam
...
The PutForwards bit is a new feature, but easy enough to implement here.
2017-01-13 10:41:04 -05:00
Boris Zbarsky
b252e65fd2
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
32646c89a8
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
2e2bbf5217
Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
...
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
4fde076f4a
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
649d4c4204
Bug 851892 part 6. Make css::Rule inherit from nsIDOMCSSRule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
23f3a6e51f
Bug 851892 part 3. Give CSS rules a PreCreate hook so we can safely wrappercache them. r=peterv
2017-01-13 10:41:02 -05:00
Nicholas Nethercote
18f63503a5
Bug 1329846 (part 1) - Remove XPCNativeScriptableInfo. r=mccr8.
...
XPCNativeScriptableInfo is now a very thin wrapper around nsIXPCScriptable, and
it uses manual memory management. Removing it simplifies things quite a bit.
In particular, when setting XPCWrappedNative::mScriptable in
XPCWrappedNative::WrapNewGlobal() and XPCWrappedNative::Init() we no longer
have to worry about sharing the XPCNativeScriptableInfo object with the proto.
And XPCWrappedNative::{Init,Destroy}() have similar simplifications.
2017-01-10 12:47:57 +11:00
Nicholas Nethercote
23fd7079a7
Bug 1324330 (part 5) - Remove nsDOMClassInfo::mName. r=mccr8.
...
It's identical to the mClass.name.
2016-12-23 08:30:31 +11:00
Jeff Walden
6a9a300ece
Bug 1325877 - Make sure we're working in the compartment of the objects we're working with. r=bz
2016-12-28 15:26:14 -06:00
Nicholas Nethercote
331b61b868
Bug 1321374 - Simplify js::Class handling relating to nsIXPCScriptable. r=mccr8, sr=bholley.
...
This patch removes XPCNativeScriptableShared and XPCNativeScriptableSharedMap,
which results in a net reduction of ~100 lines of code.
2016-12-14 08:33:46 +11:00
Nicholas Nethercote
c5a2d8a1ee
Bug 1322080 (part 3, attempt 2) - Remove nsIXPCScriptable::addProperty. r=peterv.
2016-12-02 17:37:55 +11:00
Carsten "Tomcat" Book
25e9f800cb
Backed out changeset 9356d8836ca8 (bug 1322080)
2016-12-12 12:15:49 +01:00
Nicholas Nethercote
0b87c9c92d
Bug 1322080 (part 3) - Remove nsIXPCScriptable::addProperty. r=peterv.
...
The only non-trivial implementation of this method is in nsEventTargetSH, but
it's never called, so no point keeping it around. (Similar methods were removed
in bug 1132184 and bug 1132187.)
2016-12-02 17:37:55 +11:00
Ehsan Akhgari
5bbe94bf07
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Michelangelo De Simone
1b1a45d83f
Bug 1306779 - Remove DOM/fmradio and related code. r=jst
...
MozReview-Commit-ID: EAoALauFEco
2016-10-03 16:22:41 -07:00
Sebastian Hengst
faa4e03c25
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Boris Zbarsky
ebe22a8365
Bug 1302304. Remove IDL bits that reference nsIDOMMediaError; it's not needed anymore. r=bkelly
2016-09-15 11:41:35 -04:00
Jan de Mooij
21f6f04f90
Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
2016-09-14 15:48:17 +02:00
Nicholas Nethercote
0e059d48ee
Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz.
2016-07-14 13:18:11 +10:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Peter Van der Beken
687ebdd0ea
Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
2016-05-09 17:08:31 +02:00
Carsten "Tomcat" Book
08a1dea94e
Backed out changeset d385df62c0e7 (bug 1267186) for hazard failures
2016-05-09 13:40:01 +02:00
Peter Van der Beken
182c8eab61
Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
2016-03-09 15:48:12 +01:00
Sebastian Hengst
f12bff1978
Backed out changeset f9d3ea58c195 (bug 1267186) for static bustage in WebIDLGlobalNameHash.cpp. r=backout
2016-05-06 18:11:03 +02:00
Peter Van der Beken
dd543ce6be
Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
2016-03-09 15:48:12 +01:00
Boris Zbarsky
679821ced0
Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
...
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not. This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.
The changes to initing with an object made in this bug are OK for the following
reasons:
1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
Ehsan Akhgari
adf6627feb
Bug 1256178 - Drop the moz prefix from the MozCSSKeyframeRule and MozCSSKeyframesRule interfaces; r=bzbarsky
2016-03-15 10:23:01 -04:00
Peter Van der Beken
456149fc8d
Bug 1251655 - Remove support for JavaScript-DOM-class and JavaScript-DOM-interface. r=bz.
2016-02-14 15:59:48 +01:00
Peter Van der Beken
2c37c1187e
Bug 1251655 - Remove support for JavaScript-global-constructor-prototype-alias. r=bz.
2016-02-13 14:59:46 +01:00
Ms2ger
50502d58a7
Bug 1250926 - Remove unused SCRIPTABLE_FLAGS defines from nsDOMClassInfo; r=peterv
2016-02-25 09:28:06 +01:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Tom Schuster
05bbc0341d
Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor everywhere else. r=smaug
2016-01-28 11:28:04 +01:00
Andrea Marchesini
74abde342e
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Birunthan Mohanathas
6129a0880a
Bug 1217307 - Remove some unnecessary null checks in dom/base/. r=njn
2015-11-19 09:13:49 +02:00
Bevis Tseng
0cd7d369b2
Bug 859764 - Part 1.1: Turn IDL Implementation into Internal-Only Interface. r=echen, r=smaug
2015-10-19 19:46:08 +08:00
Jan de Mooij
eae167fd59
Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz
2015-11-06 19:03:52 +01:00