316552bee730350bead5906cc82aaa506f751b91: Bug 1442039 part 8. Remove now-unused eTypeClassConstructor type of nsGlobalNameStruct. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:29 -0400 - rev 771079
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
9a44d04d09bf67136878d90299f4776f0ab355fe: Bug 1442039 part 7. Remove now-unused nsScriptNameSpaceManager::RegisterClassName. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:29 -0400 - rev 771078
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1442039 part 7. Remove now-unused nsScriptNameSpaceManager::RegisterClassName. r=peterv MozReview-Commit-ID: 9mpz8o29WGp
b4492fdf4a10d3ffef5608f1d63e1b2191ad841a: Bug 1442039 part 6. Remove now-unused classinfo bits for DOMConstructor and DOMPrototype. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:29 -0400 - rev 771077
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
96295638ca8e0fbeb5d38a27b31981f302544184: Bug 1442039 part 5. Remove the now-dead nsDOMConstructor class. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771076
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
6f4d03bae2242d79d856256ca30dd7ad0a1f00a5: Bug 1442039 part 4. Remove the dead code in nsDOMClassInfo::PostCreatePrototype. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771075
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
20d2f8bbd902d08511b4473290bce7a53b40d155: Bug 1442039 part 3. Stop trying to resolve DOMConstructor on Xrays. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771074
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
e75da32a2992ca10092e328f81af0d1ca7ddd08b: Bug 1442039 part 2. Remove the now-unused eTypeClassProto type for nsGlobalNameStruct. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771073
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1442039 part 2. Remove the now-unused eTypeClassProto type for nsGlobalNameStruct. r=peterv MozReview-Commit-ID: H65oe2v7Gxt
5900a3a5a232a63ef9f437952df49a0ca6443e48: Bug 1442039 part 1. Remove the now-useless nsScriptNameSpaceManager::RegisterClassProto function. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771072
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
03ec4b083bf30184b849f6e6ee9aee4d7535c85a: Bug 1442137 part 6. Remove the now-always-false mChromeOnly and mAllowXBL flags in nsGlobalNameStruct. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771071
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1442137 part 6. Remove the now-always-false mChromeOnly and mAllowXBL flags in nsGlobalNameStruct. r=peterv MozReview-Commit-ID: GarrbE696Sq
9ca183ba834533dc04de5ed1f019d645308313de: Bug 1442137 part 5. Remove the unused NS_DEFINE_CHROME_XBL_CLASSINFO_DATA macro and then-unused mChromeOnly flag in nsDOMClassInfoData. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771070
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
314f420f6b9cb90e2448781954070858c4409efd: Bug 1442137 part 4. Remove the JavaScript-global-privileged-property category from the script namespace manager
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:28 -0400 - rev 771069
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1442137 part 4. Remove the JavaScript-global-privileged-property category from the script namespace manager MozReview-Commit-ID: LRljHWSKyCx
13f8db6de9661258dd520cf2cb6d5b72a05f642f: Bug 1442137 part 3. Remove code that only ran when nsDOMConstructor::IsConstructable() returned true, since it always returns false now. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:27 -0400 - rev 771068
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
5e99d35936ed325e6bff896f09dc95f41eaa14de: Bug 1442137 part 2. Remove the now-unused eTypeExternalConstructor global name struct type. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:27 -0400 - rev 771067
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1442137 part 2. Remove the now-unused eTypeExternalConstructor global name struct type. r=peterv MozReview-Commit-ID: qb3mHnC5Ql
96cef81dfa4aad4f969d2c96ae06f9f806be5550: Bug 1442137 part 1. Remove support for the JavaScript-global-constructor category in the script namespace manager. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 23:13:27 -0400 - rev 771066
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1442137 part 1. Remove support for the JavaScript-global-constructor category in the script namespace manager. r=peterv MozReview-Commit-ID: 3tcvwufvXS3
f9f8363f1e991dcca69934289950e5d12423ff56: Bug 1445006. Remove the scriptable version of FrameLoader::LoadURI. r=mystor
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 22:43:17 -0400 - rev 771065
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1445006. Remove the scriptable version of FrameLoader::LoadURI. r=mystor MozReview-Commit-ID: 4UY2dtk5kpR
31d28ee06481a1363fc80a14d0b7140d166368fd: Bug 1444143 part 14. Rename nsIFrameLoader.idl to nsIFrameLoaderOwner.idl. r=mystor
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 22:43:17 -0400 - rev 771064
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1444143 part 14. Rename nsIFrameLoader.idl to nsIFrameLoaderOwner.idl. r=mystor MozReview-Commit-ID: 1XpEjoFLSQh
50328e36decdea7302adfd50367c1c11ebbbb97b: Bug 1444143 part 13. Remove nsIFrameLoader. r=mystor
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 22:43:17 -0400 - rev 771063
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1444143 part 13. Remove nsIFrameLoader. r=mystor MozReview-Commit-ID: 4LG8nIePsMH
eb84081046c5e975cacbe1ee70462ee4c1c1114a: Bug 1444143 part 12. Remove use of nsIFrameLoader from XPIDL files. r=mystor
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 22:43:17 -0400 - rev 771062
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
Bug 1444143 part 12. Remove use of nsIFrameLoader from XPIDL files. r=mystor MozReview-Commit-ID: 8pZ655SgrZ0
f550087a772e43bfb889dee29081eeae37756097: Bug 1444143 part 11. Remove unused nsIFrameLoaderOwner::GetFrameLoaderXPCOM. r=mystor
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 22:43:17 -0400 - rev 771061
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
e7387120e7a155e4a0c1c52e6f3bae7f1ae73ab9: Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 21 Mar 2018 22:43:17 -0400 - rev 771060
Push 103553 by mleplatre@mozilla.com at Thu, 22 Mar 2018 10:33:25 +0000
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
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 tip