Boris Zbarsky
4ed0a9f56b
Bug 1463889 part 2. Get rid of GetWindowList. r=qdot
...
GetFrames() works just as well, and is arguably better named, and it's silly to
have two APIs that do the same thing.
2018-05-24 23:32:19 -04:00
Boris Zbarsky
045986de45
Bug 1463889 part 1. Switch nsPIDOMWindowOuter::GetFrames to returning an nsDOMWindowList. r=qdot
2018-05-24 23:32:19 -04:00
Boris Zbarsky
5d017f96cf
Bug 1387143 part 29. Remove nsISelection. r=mats
2018-05-08 13:52:42 -04:00
Boris Zbarsky
7d30bf9235
Bug 1387143 part 2. Stop using nsISelection in nsIDocumentEncoder. r=mats
2018-05-08 13:52:36 -04:00
Boris Zbarsky
d31be385d3
Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot
2018-04-26 23:37:33 -04:00
Boris Zbarsky
e501fdf1fd
Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8
2018-04-26 15:28:30 -04:00
shindli
55275cebc3
Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
...
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky
633fcbc890
Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8
2018-04-26 15:28:30 -04:00
Boris Zbarsky
8041126861
Bug 1456588 part 4. Change nsFocusManager guts to make it clearer that the focused thing is always an Element. r=enndeakin
...
I couldn't find a good way to make this incremental without adding QIs and
AsElement() in various places....
2018-04-26 10:37:47 -04:00
Boris Zbarsky
5f0f9d3fb4
Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
...
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Boris Zbarsky
feb1c728d8
Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8
...
MozReview-Commit-ID: 4NdssvnWn0H
2018-04-20 00:49:30 -04:00
Boris Zbarsky
1e89238dca
Bug 1449631 part 10. Devirtualize AddEventListener. r=smaug
...
The CanCallerAccess check in the "webidl" version of
nsGlobalWindowOuter::AddEventListener was pointless, because bindings never
call things on outer windows.
MozReview-Commit-ID: 1CGMJ277bPu
2018-04-05 13:42:42 -04:00
Boris Zbarsky
238fc00322
Bug 1449631 part 9. Remove nsIDOMEventTarget::AddEventListener. r=smaug
...
Also switch the XPCOM-y version of EventTarget::AddEventListner to a
Nullable<bool> for aWantsUntrusted.
The three-arg overload of AddEventListener in ContentFrameMessageManager was
never called, so all the AddEventListener overloads there are not needed.
MozReview-Commit-ID: 4IhqHmPVWzE
2018-04-05 13:42:42 -04:00
Boris Zbarsky
5b75c1416d
Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
76ec8b0f6a
Bug 1449631 part 7. Remove nsIDOMEventTarget::GetTargetFor* methods. r=smaug
...
MozReview-Commit-ID: AIzDo67mTDf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
d54406240d
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Boris Zbarsky
d92531bde9
Bug 1449631 part 5. Move Will/Pre/PostHandleEvent out of nsIDOMEventTarget. r=smaug
...
MozReview-Commit-ID: K2nOZNPy0XE
2018-04-05 13:42:41 -04:00
Boris Zbarsky
51e653f001
Bug 1449631 part 2. Remove nsIDOMEventTarget::RemoveEventListener. r=smaug
...
We can't have a null content in
ScrollbarActivity::StopListeningForScrollAreaEvents, because only viewport
frames have a null GetContent().
MozReview-Commit-ID: 9iAg0ivVqqG
2018-04-05 13:42:40 -04:00
Peter Van der Beken
d245c134c4
Bug 1448850 - Remove nsIMessageBroadcaster. r=bz.
2018-02-14 17:35:39 +01:00
Boris Zbarsky
a3cdef7134
Bug 1450418. Get rid of nsIDOMScreen. r=qdot
...
MozReview-Commit-ID: A5Rq0BSQt4V
2018-04-03 00:42:41 -04:00
Peter Van der Beken
a01d8c7c3b
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 3: Add message manager concrete classes for WebIDL. r=bz.
2017-06-14 16:44:17 +02:00
Tom Ritter
6bfe6231aa
Bug 1443252 - Make nsGlobalWindowInner/Outer final to reduce build times. r=mystor
...
In Bug 1332680 we got a list of classes and methods we could mark 'final',
as suggested by an LTO build of gcc. One of the items on that list was
nsGlobalWindowInner and nsGlobalWindowOuter, with quite a lot of virtual
calls:
> dom/base/nsGlobalWindowInner.h:206:7: warning: Declaring type 'struct nsGlobalWindowInner' final would enable devirtualization of 483 calls
> dom/base/nsGlobalWindowOuter.h:164:7: warning: Declaring type 'struct nsGlobalWindowOuter' final would enable devirtualization of 143 calls
After trying it out, we saw a modest improvement to a single Talos tes
(displaylist mutate got 4-8.5% better). That's not the interesting
thing though.
For Linux and OSX (and some flavors of Android) build times were reduced
by half across the board. They're a bit variable of course, but 30-70%
improvements are shown by Talos. Windows and other flavors of Android
show 10-15% improvements.
MozReview-Commit-ID: GlEGBt2JOTt
2018-03-02 09:30:03 -06:00
Sebastian Hengst
500c4f7ad2
Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
...
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
2018-03-01 11:51:09 +02:00
Peter Van der Beken
2d21a2c039
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 3: Add message manager concrete classes for WebIDL. r=bz.
2017-06-14 16:44:17 +02:00
Chris Peterson
767d8b1589
Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj
...
MozReview-Commit-ID: 8pjYjEvQF42
2018-02-08 21:22:43 -08:00
Chris Peterson
3501998227
Bug 1436263 - Part 2: Replace override final virtual function specifiers with just final. r=froydnj
...
MozReview-Commit-ID: 70gt5SUu4Dv
2018-02-05 22:50:00 -08:00
Adrian Wielgosik
506b6d8a4b
Bug 1437177 - Remove nsIDOMModalContentWindow. r=bz
...
The implementation was removed in bug 1374460.
MozReview-Commit-ID: 7RNmYHScVCA
2018-02-09 21:51:33 +01:00
Boris Zbarsky
3ab7ce89fa
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Boris Zbarsky
dc317ba4de
Bug 1431898. Simplify the UpdateCommands setup on windows. r=mystor
...
MozReview-Commit-ID: 3TqFifdyLTr
2018-01-22 12:59:15 -05:00
Boris Zbarsky
a5441a28b5
Bug 1431846 part 3. Make nsPIDOMWindowOuter::GetNavigator return dom::Navigator*. r=mystor
...
MozReview-Commit-ID: DgZWMcSg0PT
2018-01-22 12:59:15 -05:00
Nika Layzell
e5cd184550
Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
...
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Clément David
b607bf10f3
Bug 1419495 - Remove SelfSupport service r=dexter r=smaug
2017-12-02 21:52:30 +01:00
Kate McKinley
1bef155067
Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
...
Per https://github.com/w3c/webappsec-secure-contexts/issues/42 , the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-11-29 10:40:00 -05:00
Andreas Farre
b327ddccf4
Bug 1415770 - Simplify handling of IdleRequest list. r=smaug, r=baku
2017-11-28 14:23:46 -05:00
Nika Layzell
20ee9a4927
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
34556665b3
Bug 1419597 - Part 17: Avoid implementing *OpenerForInitialContentBrowser on the inner, r=smaug
...
MozReview-Commit-ID: HBRWzlBqnCT
2017-11-23 13:12:11 -05:00
Nika Layzell
59206ea5e2
Bug 1419597 - Part 14: Clean up some out of date documentation, r=smaug
...
MozReview-Commit-ID: Jk6BDE3PzF
2017-11-23 13:12:06 -05:00
Nika Layzell
9a441bd361
Bug 1419597 - Part 8: Completely remove unused DialogValueHolder, r=smaug,bz
...
MozReview-Commit-ID: 8VaBoUj9nOj
2017-11-23 13:11:56 -05:00
Nika Layzell
c8255c8df1
Bug 1419597 - Part 7: Remove unused data members from nsGlobalWindowOuter, r=smaug
...
MozReview-Commit-ID: 5fj3pBMmR8E
2017-11-23 13:11:55 -05:00
Nika Layzell
54ab9c53b0
Bug 1419597 - Part 4: Remove unused fields from nsPIDOMWindowOuter, r=smaug
...
MozReview-Commit-ID: 4VXKn6dnYKH
2017-11-23 13:11:50 -05:00
Nika Layzell
8b04746316
Bug 1419597 - Part 2: Remove nsPIDOMWindow, r=smaug
...
MozReview-Commit-ID: 9TUURbj9s7N
2017-11-23 13:11:46 -05:00
Nika Layzell
8b5f69214a
Bug 1419597 - Part 1: Split the methods on nsPIDOMWindow<T>, r=smaug
...
MozReview-Commit-ID: KXsnYLYtICV
2017-11-23 13:11:44 -05:00
Nika Layzell
39b65bc205
Bug 1419144 - Part 20: Remove nsGlobalWindowOuter::RiskyUnlink, r=mccr8
...
MozReview-Commit-ID: 3BZIKFc5noK
2017-11-23 13:11:43 -05:00
Nika Layzell
e30cce5dca
Bug 1419144 - Part 4: Remove RemoveIdleCallback from outer window, r=farre
...
MozReview-Commit-ID: KxJgYeOQPyH
2017-11-23 13:11:17 -05:00
shindli
305d96acc6
Backed out 1 changesets (bug 1410364)
...
Backed out changeset 681fece780ae (bug 1410364) for failing in /secure-contexts/basic-popup-and-iframe-tests.html r=backout a=backout on a CLOSED TREE
2017-11-22 22:17:02 +02:00
Kate McKinley
120581e022
Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
...
Per https://github.com/w3c/webappsec-secure-contexts/issues/42 , the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-10-31 17:57:06 +09:00
Nika Layzell
09ac059230
Bug 1416384 - Part 9: Deduplicate more code when possible, r=smaug
...
MozReview-Commit-ID: 1mzNDOFUNep
2017-11-15 11:34:47 -05:00
Nika Layzell
7be095a9a6
Bug 1416384 - Part 6: Eliminate calls to Assert{Inner,Outer} and As{Inner,Outer} in nsGlobalWindow, r=smaug
...
MozReview-Commit-ID: GIiSlDzjgWb
2017-11-15 11:34:27 -05:00
Nika Layzell
536a8328a7
Bug 1416384 - Part 5: Eliminate inner window only methods from nsGlobalWindowOuter, r=smaug
...
MozReview-Commit-ID: FzaGKmdDtmy
2017-11-15 11:34:20 -05:00
Nika Layzell
d15daabb76
Bug 1416384 - Part 4: Eliminate outer window only methods from nsGlobalWindowInner, r=smaug
...
MozReview-Commit-ID: CV6rrA0M2ZV
2017-11-15 11:34:13 -05:00