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

141 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 5d00f78a13 Backed out changeset 8dd09fad1f35 (bug 1492648) for bc failures on browser_auto_close_window.js
--HG--
rename : docshell/base/nsDocShellLoadState.cpp => docshell/base/nsDocShellLoadInfo.cpp
rename : docshell/base/nsDocShellLoadState.h => docshell/base/nsDocShellLoadInfo.h
2018-10-19 10:11:33 +03:00
Kyle Machulis 0bb3246aa5 Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState r=bzbarsky,nika
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).

Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.

Differential Revision: https://phabricator.services.mozilla.com/D6944

--HG--
rename : docshell/base/nsDocShellLoadInfo.cpp => docshell/base/nsDocShellLoadState.cpp
rename : docshell/base/nsDocShellLoadInfo.h => docshell/base/nsDocShellLoadState.h
extra : moz-landing-system : lando
2018-10-18 22:14:54 +00:00
Ehsan Akhgari 0324774e90 Bug 1498720 - Ensure that we revoke a subframe's storage access when it is removed from the DOM r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8615

--HG--
extra : moz-landing-system : lando
2018-10-15 10:37:11 +00:00
Ehsan Akhgari ecd5aada04 Bug 1498370 - Update the storage access flag when storage access is granted/denied r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8550

--HG--
extra : moz-landing-system : lando
2018-10-15 10:29:33 +00:00
Gijs Kruitbosch e61cc054ca Bug 1493634 - make docshell responsible for outer window IDs, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D7702

--HG--
extra : moz-landing-system : lando
2018-10-10 10:20:36 +00:00
Boris Zbarsky aacae7bf6b Bug 1497658 part 2. Stop using GetCurrentJSContext in CallerInnerWindow. r=mccr8
We're always called from script, so just pass through the JSContext.
2018-10-09 17:02:13 -04:00
Ehsan Akhgari 079e3e2790 Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-28 14:46:02 -04:00
Ehsan Akhgari 807e9dc488 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-28 14:46:02 -04:00
Noemi Erli 4419e20e14 Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari c245436170 Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-28 13:24:43 -04:00
Ehsan Akhgari 6aba052a44 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-28 13:24:39 -04:00
Tiberius Oros 70e8d3a299 Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE
Backed out changeset 0bb55b604bfd (bug 1493563)
Backed out changeset 8e25c301675a (bug 1493563)
Backed out changeset 4f608b8801d4 (bug 1493563)
Backed out changeset f58d0b1ca088 (bug 1493563)
Backed out changeset eae105f2bf6d (bug 1493563)
Backed out changeset 7a8a0d1cfd69 (bug 1493563)
Backed out changeset dbba8451aab1 (bug 1493563)
Backed out changeset a6141dbd0328 (bug 1493563)
Backed out changeset f4ca3d8fa90e (bug 1493563)
Backed out changeset 56bab7fae64d (bug 1493563)
Backed out changeset 66787e603401 (bug 1493563)
2018-09-26 06:16:22 +03:00
Ehsan Akhgari 2f969011be Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-25 21:02:51 -04:00
Ehsan Akhgari b4ad6261a0 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-25 21:02:51 -04:00
Tiberius Oros 8acb878ef1 Backed out 11 changesets (bug 1493563) for failures on browser_blockingCookies.js on a CLOSED TREE
Backed out changeset d755b96837ac (bug 1493563)
Backed out changeset 651f87dca51f (bug 1493563)
Backed out changeset 68de8f0866d0 (bug 1493563)
Backed out changeset 205d69890f50 (bug 1493563)
Backed out changeset 5f922cd6c21e (bug 1493563)
Backed out changeset 84dc54c1a9c1 (bug 1493563)
Backed out changeset 287666ecdd17 (bug 1493563)
Backed out changeset c64a2ea15b7b (bug 1493563)
Backed out changeset 9085269938cd (bug 1493563)
Backed out changeset de06604fefcb (bug 1493563)
Backed out changeset f9bac5e73bd4 (bug 1493563)
2018-09-25 23:12:03 +03:00
Ehsan Akhgari acfc3a0d0f Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-25 13:51:47 -04:00
Ehsan Akhgari 9a26b7fd29 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-25 13:51:47 -04:00
Ehsan Akhgari d0b639de57 Bug 1469714 - Part 2: Implement the Storage Access API to grant first-party storage access to 3rd party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5811
2018-09-17 13:00:38 -04:00
Gurzau Raul 78e7d3e5c7 Backed out 13 changesets (bug 1469714, bug 1491061) for bustages at src/dom/base/nsDocument.cpp, failures at test_browserGlue_bookmarkshtml.js and browser_startup.js on a CLOSED TREE
Backed out changeset 494e23ba027e (bug 1491061)
Backed out changeset 43552fcae4a4 (bug 1491061)
Backed out changeset 0fb2ac9ad5ec (bug 1469714)
Backed out changeset 4a88ff107478 (bug 1469714)
Backed out changeset 158def1e0b8c (bug 1469714)
Backed out changeset 61dc8b46e7f6 (bug 1469714)
Backed out changeset 453370408672 (bug 1469714)
Backed out changeset ff443966e3d9 (bug 1469714)
Backed out changeset 88f414c8cecc (bug 1469714)
Backed out changeset 36e5c9e69f10 (bug 1469714)
Backed out changeset f90b4272f420 (bug 1469714)
Backed out changeset 4db771422e75 (bug 1469714)
Backed out changeset fe750643da13 (bug 1469714)
2018-09-17 18:06:50 +03:00
Ehsan Akhgari ade52cfaa6 Bug 1469714 - Part 2: Implement the Storage Access API to grant first-party storage access to 3rd party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5811
2018-09-17 10:04:21 -04:00
Xidorn Quan 30703bafcb Bug 1490539 part 1 - Change FullScreen to Fullscreen in various names. r=smaug
Some methods on Window are not changed because they are part of public
interface. Method names from widget are also unchanged.

Many "full-screen" in comments are also updated to "fullscreen" instead.

Differential Revision: https://phabricator.services.mozilla.com/D5639

--HG--
extra : moz-landing-system : lando
2018-09-12 15:51:30 +00:00
Sylvestre Ledru aa37bde79b Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
This also includes moving some files to the regular format.

Differential Revision: https://phabricator.services.mozilla.com/D5249

--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Bogdan Tara a5db0f5415 Backed out changeset 85fd8d212397 (bug 1479544) for windows build bustages CLOSED TREE 2018-08-03 19:24:41 +03:00
Boris Zbarsky 7ce9c79256 Bug 1479544. Remove nsIXULChromeRegistry::ReloadChrome. r=mossop
This was the only consumer of GetLocation() on outer windows.

Differential Revision: https://phabricator.services.mozilla.com/D2699

--HG--
extra : moz-landing-system : lando
2018-08-03 15:14:43 +00:00
Boris Zbarsky ee565cfd06 Bug 1479486. Remove some unused chromeonly history APIs on Window. r=mccr8
Well, back() is used, but only in tests, and those can use history.back().
2018-07-31 17:27:03 -04:00
Boris Zbarsky c15a7558ea Bug 1479475 part 2. Remove dead code in nsGlobalWindowOuter that is inner-window-only. r=nika 2018-07-31 17:27:02 -04:00
Brindusan Cristian f4c55c8456 Backed out 4 changesets (bug 1479486, bug 1479497, bug 1479475) for build bustages on builds/worker/workspace/build/src/dom/base/nsGlobalWindowInner.cpp:932:53. CLOSED TREE
Backed out changeset b75e262fac02 (bug 1479486)
Backed out changeset 45692ba0fddd (bug 1479475)
Backed out changeset 524fb20de6a2 (bug 1479475)
Backed out changeset 4663bd19da9b (bug 1479497)
2018-08-01 00:49:43 +03:00
Boris Zbarsky 261165b8f7 Bug 1479486. Remove some unused chromeonly history APIs on Window. r=mccr8
Well, back() is used, but only in tests, and those can use history.back().
2018-07-31 17:27:03 -04:00
Boris Zbarsky 372d4b0f69 Bug 1479475 part 2. Remove dead code in nsGlobalWindowOuter that is inner-window-only. r=nika 2018-07-31 17:27:02 -04:00
Boris Zbarsky 1aa33b0003 Bug 1478721. Remove nsIIdleObserver. r=mccr8 2018-07-27 00:37:44 -04:00
Boris Zbarsky 575eb424f0 Bug 1476145 part 1. Add a getter to get the nsIDOMWindowUtils from a window. r=nika
The new attribute is not [Cached] because we would need to bump
JSCLASS_GLOBAL_APPLICATION_SLOTS for that and it's not obvious that we should do
that.
2018-07-24 19:47:40 -04:00
Boris Zbarsky 1914ffc8ec Bug 1450167. Stop using atom-or-string for event names in the listener manager. r=smaug
Now that we support atoms off the the main thread, we can just use atoms.
2018-07-24 18:15:19 -04:00
Ehsan Akhgari 51cc2694b0 Bug 1475697 - Part 1: Refactor the current way that Necko notifies DOM about the existence of blocked content; r=baku 2018-07-17 06:11:00 +03:00
Boris Zbarsky 3546ea99f1 Bug 1475065 part 13. Remove nsIDOMOfflineResourceList. r=nika 2018-07-13 15:42:08 -07:00
Andrea Marchesini 648c87fe95 Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open(), r=ehsan 2018-07-11 12:38:47 +02:00
Kyle Machulis 17f492c9c1 Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika
Change all references from nsIDocShellLoadInfo to nsDocShellLoadInfo

MozReview-Commit-ID: AyKlZUtSEDD
2018-07-11 20:19:14 -07:00
shindli c1bbe21ac6 Backed out 2 changesets (bug 1474651) for lint failure in /builds/worker/checkouts/gecko/toolkit/components/antitracking/test/browser/popup.html:8:126 on a CLOSED TREE
Backed out changeset f05247b25d5e (bug 1474651)
Backed out changeset acee48580902 (bug 1474651)
2018-07-11 13:57:22 +03:00
Andrea Marchesini 06d77e5419 Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open(), r=ehsan 2018-07-11 12:38:47 +02:00
Boris Zbarsky 7384dd10af 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 ed3c958547 Bug 1463889 part 1. Switch nsPIDOMWindowOuter::GetFrames to returning an nsDOMWindowList. r=qdot 2018-05-24 23:32:19 -04:00
Boris Zbarsky 1fb03996f4 Bug 1387143 part 29. Remove nsISelection. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky 3463812125 Bug 1387143 part 2. Stop using nsISelection in nsIDocumentEncoder. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky 93af0eea13 Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot 2018-04-26 23:37:33 -04:00
Boris Zbarsky 4773c6d1d9 Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8 2018-04-26 15:28:30 -04:00
shindli af700315a1 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 cb54ece0d5 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 01c62fd5cb 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 597b4545d2 Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Boris Zbarsky b7f2b6976a 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 2cdc7450c3 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 88937275cc 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 14f26fccf6 Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Boris Zbarsky adbcff27c1 Bug 1449631 part 7. Remove nsIDOMEventTarget::GetTargetFor* methods. r=smaug
MozReview-Commit-ID: AIzDo67mTDf
2018-04-05 13:42:41 -04:00
Boris Zbarsky 4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Boris Zbarsky 553b5d6aae 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 1dce94cf16 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 01a1cdcd31 Bug 1448850 - Remove nsIMessageBroadcaster. r=bz.
--HG--
extra : rebase_source : c9ef8d762347b3c71dd5cfeffafbfbb81eb6e042
2018-02-14 17:35:39 +01:00
Boris Zbarsky 9bb77bdfc7 Bug 1450418. Get rid of nsIDOMScreen. r=qdot
MozReview-Commit-ID: A5Rq0BSQt4V
2018-04-03 00:42:41 -04:00
Peter Van der Beken 50944763eb Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 3: Add message manager concrete classes for WebIDL. r=bz.
--HG--
extra : rebase_source : 15d951ed53530387235db2aa1f3dad69d16c9fa7
2017-06-14 16:44:17 +02:00
Tom Ritter 3c7ad292ee 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 3a10644021 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)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Peter Van der Beken 0dc914a027 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 3: Add message manager concrete classes for WebIDL. r=bz.
--HG--
extra : rebase_source : 8fb313cbfda3eeec985ba2060abdfe307963a553
2017-06-14 16:44:17 +02:00
Chris Peterson fe5cd3d5d9 Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
MozReview-Commit-ID: 8pjYjEvQF42

--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson 0129d900f3 Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
MozReview-Commit-ID: 70gt5SUu4Dv

--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Adrian Wielgosik 7fa839175a 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 478687c2e8 Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Boris Zbarsky da2c3d4bcb Bug 1431898. Simplify the UpdateCommands setup on windows. r=mystor
MozReview-Commit-ID: 3TqFifdyLTr
2018-01-22 12:59:15 -05:00
Boris Zbarsky b5937fb6a0 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 a0d1f16079 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 e315ae631a Bug 1419495 - Remove SelfSupport service r=dexter r=smaug 2017-12-02 21:52:30 +01:00
Kate McKinley f9f14d6f64 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 3dae0daf36 Bug 1415770 - Simplify handling of IdleRequest list. r=smaug, r=baku 2017-11-28 14:23:46 -05:00
Nika Layzell f1ac9bf744 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 7273ec9699 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 a4f4d616b9 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 454baaeaca 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 2625b0ca22 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 38b6455183 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 14a3bf4116 Bug 1419597 - Part 2: Remove nsPIDOMWindow, r=smaug
MozReview-Commit-ID: 9TUURbj9s7N
2017-11-23 13:11:46 -05:00
Nika Layzell 39d4d66910 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 ee9635d6aa Bug 1419144 - Part 20: Remove nsGlobalWindowOuter::RiskyUnlink, r=mccr8
MozReview-Commit-ID: 3BZIKFc5noK
2017-11-23 13:11:43 -05:00
Nika Layzell e8ccb0faa7 Bug 1419144 - Part 4: Remove RemoveIdleCallback from outer window, r=farre
MozReview-Commit-ID: KxJgYeOQPyH
2017-11-23 13:11:17 -05:00
shindli 6d2a972dfe 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 35c01740e5 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.

--HG--
extra : rebase_source : 3d7fa73976571f357e84e369093aecfc10c5872e
extra : amend_source : ca86714f357b653577f3186b6312bfa00f1f45b9
2017-10-31 17:57:06 +09:00
Nika Layzell 640a992085 Bug 1416384 - Part 9: Deduplicate more code when possible, r=smaug
MozReview-Commit-ID: 1mzNDOFUNep

--HG--
extra : rebase_source : 0d8f5fa959aaae39c1fdcc0c025905a7a7bbb931
2017-11-15 11:34:47 -05:00
Nika Layzell b4d99baba8 Bug 1416384 - Part 6: Eliminate calls to Assert{Inner,Outer} and As{Inner,Outer} in nsGlobalWindow, r=smaug
MozReview-Commit-ID: GIiSlDzjgWb

--HG--
extra : rebase_source : e21578e4056b1f3000ef320d2c380fd9889ca9eb
2017-11-15 11:34:27 -05:00
Nika Layzell 7d62404270 Bug 1416384 - Part 5: Eliminate inner window only methods from nsGlobalWindowOuter, r=smaug
MozReview-Commit-ID: FzaGKmdDtmy

--HG--
extra : rebase_source : 14613fff864493523fd546b75991a63b92fa169a
2017-11-15 11:34:20 -05:00
Nika Layzell f0e713f349 Bug 1416384 - Part 4: Eliminate outer window only methods from nsGlobalWindowInner, r=smaug
MozReview-Commit-ID: CV6rrA0M2ZV

--HG--
extra : rebase_source : 2dbd420d97c99715324633f98345eb13d12e0114
2017-11-15 11:34:13 -05:00
Nika Layzell 842c5cbb02 Bug 1416384 - Part 3: Remove nsPIDOMWindow<nsISupports>, r=smaug
This was needed before as the base to nsGlobalWindow, but now that
nsGlobalWindow doesn't exist, and we only have specific versions, we no longer
need this type.

MozReview-Commit-ID: 6IJmJtnSkMr

--HG--
extra : rebase_source : d21068aa7da89a6d49ead2477b91577809f5856a
2017-11-15 11:34:04 -05:00
Nika Layzell 995525e901 Bug 1416384 - Part 2b: Get split headers building but not linking, r=smaug
MozReview-Commit-ID: JRvPtQTJqSX

--HG--
extra : rebase_source : d80d2cd93c0ad629b92b7b67af664a2ccbbc3658
2017-11-15 11:33:29 -05:00
nika@thelayzells.com 7c4791021a Bug 1416384 - Part 1: Copy nsGlobalWindow.{h,cpp} to nsGlobalWindow{Inner,Outer}.{h,cpp}, r=smaug
--HG--
rename : dom/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindowInner.cpp
rename : dom/base/nsGlobalWindow.h => dom/base/nsGlobalWindowInner.h
rename : dom/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindowOuter.cpp
rename : dom/base/nsGlobalWindow.h => dom/base/nsGlobalWindowOuter.h
extra : rebase_source : e29e0abbbc4898b9d50c05c68ada2f1561678cd1
2017-11-15 11:30:13 -05:00