Boris Zbarsky
631e1b2354
Bug 1442360 part 3. Remove nsScriptNamespaceManager, since now it's all dead code. r=peterv
...
MozReview-Commit-ID: DHRz2frjmT5
2018-03-21 23:18:51 -04:00
Boris Zbarsky
cd263b1997
Bug 1442360 part 2. Remove support for the JavaScript-global-property category. r=peterv
...
MozReview-Commit-ID: 2iWivSDrDQB
2018-03-21 23:18:51 -04:00
Boris Zbarsky
30d7175859
Bug 1442360 part 1. Change InstallTrigger to not use the JavaScript-global-property category. r=kmag
...
test_bug609794.html was testing a behavior that the method before the current
method of attaching InstallTrigger to windows depended on. We don't really
need that behavior, which is good, because this change is not producing it.
MozReview-Commit-ID: GPzif89UYYl
2018-03-21 23:18:51 -04:00
Boris Zbarsky
6857559f5a
Bug 1442039 part 15. Remove nsIDOMDOMConstructor. r=petev
...
MozReview-Commit-ID: KmIhVN7TeNN
2018-03-21 23:13:30 -04:00
Boris Zbarsky
df6c05a122
Bug 1442039 part 14. Remove nsDOMClassInfoID.h. r=peterv
...
MozReview-Commit-ID: 6pZs1XI1oSd
2018-03-21 23:13:30 -04:00
Boris Zbarsky
a885ed36b0
Bug 1442039 part 13. Remove the now-pointless nsWindowSH::NameStructEnabled. r=peterv
...
MozReview-Commit-ID: 9lawfsdyyZq
2018-03-21 23:13:29 -04:00
Boris Zbarsky
fec44334c8
Bug 1442039 part 12. Remove various unused static stuff from nsDOMClassInfo. r=peterv
...
MozReview-Commit-ID: Imt658SuM9w
2018-03-21 23:13:29 -04:00
Boris Zbarsky
c6138aa191
Bug 1442039 part 11. Remove all the non-static bits from nsDOMClassInfo. r=peterv
...
MozReview-Commit-ID: 7J8hsPuYtPa
2018-03-21 23:13:29 -04:00
Boris Zbarsky
78d58e60ed
Bug 1442039 part 10. Remove now-unused nsEventTargetSH. r=peterv
...
MozReview-Commit-ID: WocCkriliI
2018-03-21 23:13:29 -04:00
Boris Zbarsky
f4173f97eb
Bug 1442039 part 9. Remove now-unused NS_GetDOMClassInfoInstance. r=peterv
...
MozReview-Commit-ID: 5JpNuBq5RUg
2018-03-21 23:13:29 -04:00
Boris Zbarsky
9d7bf3da5c
Bug 1442039 part 8. Remove now-unused eTypeClassConstructor type of nsGlobalNameStruct. r=peterv
...
GetXPCProto is now static and not called, so needs to go too.
MozReview-Commit-ID: I6DilDx2e2m
2018-03-21 23:13:29 -04:00
Boris Zbarsky
ba414c683e
Bug 1442039 part 7. Remove now-unused nsScriptNameSpaceManager::RegisterClassName. r=peterv
...
MozReview-Commit-ID: 9mpz8o29WGp
2018-03-21 23:13:29 -04:00
Boris Zbarsky
a59087c90e
Bug 1442039 part 6. Remove now-unused classinfo bits for DOMConstructor and DOMPrototype. r=peterv
...
Also removes various code that stops compiling this way and static functions
that are now unused.
MozReview-Commit-ID: KHYxly2c3Id
2018-03-21 23:13:29 -04:00
Boris Zbarsky
11f383d860
Bug 1442039 part 5. Remove the now-dead nsDOMConstructor class. r=peterv
...
The only caller of nsDOMConstructor::nsDOMConstructor is
nsDOMConstructor::Create which has no callers.
Also removes the now-unused nsDOMConstructorSH class.
MozReview-Commit-ID: GgOO8ugXFKb
2018-03-21 23:13:28 -04:00
Boris Zbarsky
8dba9ff598
Bug 1442039 part 4. Remove the dead code in nsDOMClassInfo::PostCreatePrototype. r=peterv
...
We only have classinfo left for DOMConstructor and DOMPrototype, both of which
use nsDOMConstructorSH, which overrides PostCreatePrototype.
To avoid -Werror build failures, this changeset also removes static functions
that were only reachable from PostCreatePrototype.
MozReview-Commit-ID: JpJOuMHAAuo
2018-03-21 23:13:28 -04:00
Boris Zbarsky
9ece08d572
Bug 1442039 part 3. Stop trying to resolve DOMConstructor on Xrays. r=peterv
...
We don't resolve it normally, because nsDOMConstructorSH overrides
PostCreatePrototype to be a no-op, so nsWindowSH::GlobalResolve never actually
defines the relevant property on the window. We also hide it in
nsWindowSH::NameStructEnabled. But in the Xray-to-window case we attempt to
define it. We shouldn't do that.
MozReview-Commit-ID: 3tnMnSQuvuT
2018-03-21 23:13:28 -04:00
Boris Zbarsky
0165407079
Bug 1442039 part 2. Remove the now-unused eTypeClassProto type for nsGlobalNameStruct. r=peterv
...
MozReview-Commit-ID: H65oe2v7Gxt
2018-03-21 23:13:28 -04:00
Boris Zbarsky
b4c95ed91e
Bug 1442039 part 1. Remove the now-useless nsScriptNameSpaceManager::RegisterClassProto function. r=peterv
...
The only caller is nsDOMClassInfo::RegisterClassProtos. The only caller of
that is nsDOMClassInfo::Init. In nsDOMClassInfo::Init this is called after we
have done the RegisterClassName call for "DOMConstructor".
Since the only bits of classinfo left are DOMConstructor and DOMPrototype, and
both use nsIDOMDOMConstructor as their interface, we call RegisterClassProto
with "DOMConstructor" as aClassName, find the existing nsGlobalNameStruct, and
return without doing anything. So this entire codepath can be removed.
MozReview-Commit-ID: JfXmIex7tLC
2018-03-21 23:13:28 -04:00
Boris Zbarsky
9a6232110b
Bug 1442137 part 6. Remove the now-always-false mChromeOnly and mAllowXBL flags in nsGlobalNameStruct. r=peterv
...
MozReview-Commit-ID: GarrbE696Sq
2018-03-21 23:13:28 -04:00
Boris Zbarsky
36512637c1
Bug 1442137 part 5. Remove the unused NS_DEFINE_CHROME_XBL_CLASSINFO_DATA macro and then-unused mChromeOnly flag in nsDOMClassInfoData. r=peterv
...
MozReview-Commit-ID: 9P44FU8ISSw
2018-03-21 23:13:28 -04:00
Boris Zbarsky
ee26fbc893
Bug 1442137 part 4. Remove the JavaScript-global-privileged-property category from the script namespace manager
...
MozReview-Commit-ID: LRljHWSKyCx
2018-03-21 23:13:28 -04:00
Boris Zbarsky
d5d97c1d57
Bug 1442137 part 3. Remove code that only ran when nsDOMConstructor::IsConstructable() returned true, since it always returns false now. r=peterv
...
MozReview-Commit-ID: 6bTgNSRzxuS
2018-03-21 23:13:27 -04:00
Boris Zbarsky
abdd583095
Bug 1442137 part 2. Remove the now-unused eTypeExternalConstructor global name struct type. r=peterv
...
MozReview-Commit-ID: qb3mHnC5Ql
2018-03-21 23:13:27 -04:00
Boris Zbarsky
ec3bea99f1
Bug 1442137 part 1. Remove support for the JavaScript-global-constructor category in the script namespace manager. r=peterv
...
MozReview-Commit-ID: 3tcvwufvXS3
2018-03-21 23:13:27 -04:00
Boris Zbarsky
5b5356eada
Bug 1445006. Remove the scriptable version of FrameLoader::LoadURI. r=mystor
...
MozReview-Commit-ID: 4UY2dtk5kpR
2018-03-21 22:43:17 -04:00
Boris Zbarsky
d989f864ea
Bug 1444143 part 14. Rename nsIFrameLoader.idl to nsIFrameLoaderOwner.idl. r=mystor
...
MozReview-Commit-ID: 1XpEjoFLSQh
--HG--
rename : dom/base/nsIFrameLoader.idl => dom/base/nsIFrameLoaderOwner.idl
2018-03-21 22:43:17 -04:00
Boris Zbarsky
35d4bc91ec
Bug 1444143 part 13. Remove nsIFrameLoader. r=mystor
...
MozReview-Commit-ID: 4LG8nIePsMH
2018-03-21 22:43:17 -04:00
Boris Zbarsky
e15f8f10ff
Bug 1444143 part 12. Remove use of nsIFrameLoader from XPIDL files. r=mystor
...
MozReview-Commit-ID: 8pZ655SgrZ0
2018-03-21 22:43:17 -04:00
Boris Zbarsky
6011abc74a
Bug 1444143 part 11. Remove unused nsIFrameLoaderOwner::GetFrameLoaderXPCOM. r=mystor
...
There are no JS implementations of nsIFrameLoaderOwner, so we can mark it builtinclass.
MozReview-Commit-ID: 5z2f6fUrqaS
2018-03-21 22:43:17 -04:00
Boris Zbarsky
bf1ef0641d
Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
...
nsFrameLoader is on WebIDL bindings, so those QIs are no-ops anyway, unless the given object is no a frameloader to start with.
MozReview-Commit-ID: IPiW70H5NPc
2018-03-21 22:43:17 -04:00
Boris Zbarsky
357aae06ff
Bug 1444143 part 9. Remove nsIFrameLoader::LoadURI. r=mystor
...
MozReview-Commit-ID: fSRCzBiHUE
2018-03-21 22:43:16 -04:00
Boris Zbarsky
ebf5282891
Bug 1444143 part 8. Remove nsIFrameLoader::LoadFrame. r=mystor
...
MozReview-Commit-ID: Ackil1mtVy0
2018-03-21 22:43:16 -04:00
Boris Zbarsky
1f1d1c0a81
Bug 1444143 part 7. Remove nsIFrameLoader::Destroy. r=mystor
...
MozReview-Commit-ID: GObbSTCrjad
2018-03-21 22:43:16 -04:00
Boris Zbarsky
4e7d30f872
Bug 1444143 part 6. Remove nsIFrameLoader::Get/SetEventMode. r=mystor
...
MozReview-Commit-ID: Jvevh2puiLY
2018-03-21 22:43:16 -04:00
Boris Zbarsky
8ce517e191
Bug 1444143 part 5. Remove nsIFrameLoader::GetOwnerIsMozBrowserFrame. r=mystor
...
MozReview-Commit-ID: 6IfTdTvDZtm
2018-03-21 22:43:16 -04:00
Boris Zbarsky
909a57edd7
Bug 1444143 part 4. Remove nsIFrameLoader::GetDepthTooGreat. r=mystor
...
MozReview-Commit-ID: GIdz853oVd3
2018-03-21 22:43:16 -04:00
Boris Zbarsky
f3d0adf134
Bug 1444143 part 3. Remove nsIFrameLoader::GetTabParent. r=mystor
...
MozReview-Commit-ID: 2AgXdhJiunG
2018-03-21 22:43:16 -04:00
Boris Zbarsky
9cb6df0dac
Bug 1444143 part 2. Remove nsIFrameLoader::GetDocShell. r=mystor
...
The change from "docShell" to "mDocShell" for the SetName call in the
OwnerIsMozBrowserFrame case in nsFrameLoader::MaybeCreateDocShell is a
drive-by correctness fix for a bug the rename of "docShell" to "parentDocShell"
caught: setting the name of our _parent_ docshell based on the name attr of our
owner makes no sense.
MozReview-Commit-ID: DwnWt8jTokV
2018-03-21 22:43:15 -04:00
Boris Zbarsky
810e12d143
Bug 1444143 part 1. Remove unused stuff from nsIFrameLoader. r=mystor
...
MozReview-Commit-ID: 3FpiEo2pxjr
2018-03-21 22:43:15 -04:00
sotaro
ca36b6a3a9
Bug 1442093
- Add more log to GetAndInitDisplayForWebRender() r=jgilbert
2018-03-22 10:57:55 +09:00
arthur.iakab
161c0e01f4
Merge mozilla-central to mozilla-inbound
2018-03-22 02:02:06 +02:00
arthur.iakab
24af737f4c
Merge inbound to mozilla-central. a=merge
2018-03-22 01:46:39 +02:00
arthur.iakab
2b65c355a2
Merge autoland to mozilla-central. a=merge
2018-03-22 01:45:27 +02:00
Stephen A Pohl
a78a5fda1e
Bug 1423261: Don't allow child processes to delay shutdown endlessly when a shutdown message is received from within a nested event loop. r=jimm
2018-03-21 19:22:57 -04:00
Coroiu Cristina
c6965e7b6c
Backed out changeset a8c4f87b7c3d (bug 1443605) for browser-chrome failures at browser/components/uitour/test/browser_UITour_registerPageID.js on a CLOSED TREE
2018-03-22 01:16:36 +02:00
Florian Quèze
8d361f34fb
Bug 1447788 - add missing override keyword, rs=bustage-fix, a=Aryx on CLOSED TREE
2018-03-21 23:50:56 +01:00
Eugen Sawin
e98f4a79b8
Bug 1446423 - [2.0] Fix typo. r=me
2018-03-21 23:37:47 +01:00
Florian Quèze
2959b992fa
Bug 1447719 - Set browser.startup.blankWindow to true on Windows and Linux, r=mconley.
2018-03-21 23:35:00 +01:00
Florian Quèze
f1e203a34c
Bug 1447788 - implement SetNonClientMargins as a noop returning NS_OK in HeadlessWidget.h, r=bdahl.
2018-03-21 23:35:00 +01:00
Florian Quèze
6f7a286733
Bug 1447549 - avoid crashing windows debug builds at startup when ::GetMessageTime returns 0, r=jimm.
2018-03-21 23:35:00 +01:00