Граф коммитов

586920 Коммитов

Автор SHA1 Сообщение Дата
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
Jason Laster 3aee45ef44 Bug 1446959 - Update Debugger Frontend v25. r=jdescottes
MozReview-Commit-ID: HhiVwaSkwfq
2018-03-21 18:26:40 -04:00
Boris Zbarsky e6805c67dd Bug 1447098 part 3. Add some FromNode overloads for different arg types. r=mystor
Some condition functions are faster on subclasses of nsINode than on nsINode itself.
2018-03-21 17:39:04 -04:00
Boris Zbarsky 258352c8a8 Bug 1447098 part 2. Rename the NS_IMPL_FROMCONTENT macros to NS_IMPL_FROMNODE. r=mystor 2018-03-21 17:39:04 -04:00
Boris Zbarsky 29d232e53f Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Brian 5620b5bda6 Bug 1442300 - Remove --in-content-category-background property since it is unused. r=jaws 2018-03-21 17:25:15 -04:00
ffxbld 55d5f75f65 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-03-21 13:10:14 -07:00
ffxbld b8bfc106c1 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-03-21 13:10:10 -07:00
André Bargull 735f401ec7 Bug 1446051 - Use CallICU helper for str_normalize. r=Waldo
--HG--
extra : rebase_source : 33f4150606e55bd0464e1a5bb51fdce250f5dd0f
extra : histedit_source : a2212c68ccec7caab787ced5e1f62490b6c965a2
2018-03-21 07:27:24 -07:00
André Bargull 129ae0e65a Bug 1371591 - Part 3: Store dynamic function names into the name atom instead of a property. r=jorendorff
--HG--
extra : rebase_source : 35f52619df56eb432a5dc3413c30eeae4324ada3
2018-03-21 07:27:24 -07:00
André Bargull 9fff6441bc Bug 1371591 - Part 2: Remove extra calls in SetFunctionNameIfNoOwnName. r=jorendorff
--HG--
extra : rebase_source : 1d5481d08a0e07962f3ab943f47cc06be3d98b21
2018-03-21 07:27:24 -07:00