Henri Sivonen
edffadcd1b
Bug 218415 - Add window.event. r=smaug.
...
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.
MozReview-Commit-ID: HXeUIicdMuT
2018-04-04 15:57:17 +03:00
Bogdan Tara
b3a055c4f8
Backed out changeset 306ec43e7ab9 (bug 218415) for failures on track-remove-track-inband.html CLOSED TREE
2018-07-04 19:56:18 +03:00
Henri Sivonen
0720d6417c
Bug 218415 - Add window.event. r=smaug.
...
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.
MozReview-Commit-ID: HXeUIicdMuT
2018-04-04 15:57:17 +03:00
Margareta Eliza Balazs
06011ec139
Backed out changeset 27257fdd6c67 (bug 218415) for xpcshell failures in js/xpconnect/tests/unit/test_nuke_sandbox_event_listeners.js on a CLOSED TREE
2018-07-04 16:46:52 +03:00
Henri Sivonen
155557a2e7
Bug 218415 - Add window.event. r=smaug.
...
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.
MozReview-Commit-ID: HXeUIicdMuT
2018-04-04 15:57:17 +03:00
Chris Pearce
6d0c39faee
Bug 1463919 - Add AutoplayRequest to encapsulate asking for autoplay permission. r=smaug
...
Add an implementation of nsIContentPermissionRequest to encapsulate requesting
permission from the user to autoplay audible media.
All documents in the tab request permission using the top level document's
origin, so the AutoplayRequest instance for a tab is stored on the top level
content window of the tab.
AutoplayRequest ensures that there's only a single prompt shown at once.
MozReview-Commit-ID: 2u3aLnEa21z
2018-06-22 11:57:24 +12:00
Ben Kelly
9598680ef1
Bug 1469941 Note DOMContentLoaded on the ClientSource and trigger service worker update in appropriate process. r=mrbkap
2018-06-23 10:11:47 -07: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
Noemi Erli
e10c8e580d
Backed out 3 changesets (bug 1462879) for wpt failures in nav2_test_document_open.html and mochitest failures in test_resource_timing.html on a CLOSED TREE
...
Backed out changeset 1b3a818279f3 (bug 1462879)
Backed out changeset 2f2b2965aa89 (bug 1462879)
Backed out changeset f3058ee77146 (bug 1462879)
2018-05-24 19:13:49 +03:00
Andrea Marchesini
ec9288f546
Bug 1462879 - PerformanceNavigationTiming must be notified correctly, r=valentin, r=smaug
2018-05-24 14:58:43 +02:00
Boris Zbarsky
5d017f96cf
Bug 1387143 part 29. Remove nsISelection. r=mats
2018-05-08 13:52:42 -04:00
Boris Zbarsky
d69efa353f
Bug 1387143 part 4. Stop using nsISelection in remaining xpidl. r=mats
2018-05-08 13:52:36 -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
Ben Kelly
6b24f05f06
Bug 1450266 P3 Remove nsGlobalWindowInner::InnerObjectsFreed() in favor of IsDying(). r=smaug
2018-04-03 17:10:16 -07:00
Boris Zbarsky
a3cdef7134
Bug 1450418. Get rid of nsIDOMScreen. r=qdot
...
MozReview-Commit-ID: A5Rq0BSQt4V
2018-04-03 00:42:41 -04:00
Ben Kelly
8bdf07d673
Bug 1438211 P9 Remove nsPIDOMWindowInner::GetServiceWorkerRegistration() and InvalidateServiceWorkerRegistration(). r=asuth
2018-03-02 13:02:50 -08:00
Ben Kelly
6330e7323d
Bug 1440407 P1 Add nsPIDOMWindowInner::AsGlobal() to cheaply cast to nsIGlobalObject*. r=mystor
2018-02-22 14:28:39 -08:00
Ben Kelly
a7f8b06286
Bug 1434701 P1 Make ServiceWorkerRegistration::CreateForMainThread() take a ServiceWorkerRegistrationDescriptor. r=catalinb r=asuth
2018-02-14 14:23:15 -05:00
Ben Kelly
5948b3aefc
Bug 1434342 P5 Support caching the ServiceWorker DOM instance on the global. r=asuth
2018-01-31 09:10:26 -08:00
Kyle Machulis
0a53e994dd
Bug 1432271 - Remove dom/time; r=baku
...
dom/time contained the TimeService and TimeManager classes, used for
setting time via Gecko on FirefoxOS. Since FirefoxOS is no longer in
the code base, the directory can be removed.
MozReview-Commit-ID: 8PEk3e6HA67
2018-01-29 13:54:42 -08:00
Noemi Erli
62cc21febf
Backed out 2 changesets (bug 1432271) for bustage in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/Navigator.h:79:23 on a CLOSED TREE
...
Backed out changeset 7af7827525c8 (bug 1432271)
Backed out changeset 79b9d49e08db (bug 1432271)
2018-01-27 02:49:25 +02:00
Kyle Machulis
c46ce15107
Bug 1432271 - Remove dom/time; r=baku
...
dom/time contained the TimeService and TimeManager classes, used for
setting time via Gecko on FirefoxOS. Since FirefoxOS is no longer in
the code base, the directory can be removed.
MozReview-Commit-ID: 8PEk3e6HA67
2018-01-22 12:50:11 -08:00
Nika Layzell
1518874730
Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
...
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -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
Boris Zbarsky
fd28401723
Bug 1431846 part 2. Rename nsPIDOMWindowInner::GetNavigator() to Navigator(), since it never returns null. r=mystor
...
Also have it return a dom::Navigator.
MozReview-Commit-ID: 5thGopGWIk9
2018-01-22 12:59:15 -05:00
Ben Kelly
f3253e898f
Bug 1425316 P4 Note that a ClientSource has called register() for a SW scope and use it to match window console reports. r=asuth
2017-12-19 10:04:48 -05:00
Ben Kelly
6e1a3f429c
Bug 1424338 P3 Add ClientManager::Navigate() method. r=baku
2017-12-08 14:46:42 -05:00
Ben Kelly
1928345b3c
Bug 1423412 P1 Actually mark window/worker ClientSource objects controlled when loaded with a controlling service worker. r=baku r=jld
2017-12-05 20:45:22 -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
b19198823e
Bug 1419597 - Part 5: Remove mFocusedNode from the outer window, r=enndeakin
...
MozReview-Commit-ID: 62pgCjfIsvu
2017-11-23 13:11:51 -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
eb57bcd820
Bug 1419597 - Part 3: Remove unused fields from nsPIDOMWindowInner, r=smaug
...
MozReview-Commit-ID: FJQ6GmxE5gq
2017-11-23 13:11:48 -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
1c4d7e638e
Bug 1419144 - Part 19: Move IsRootOuterWindow to nsPIDOMWindowOuter, r=smaug
...
MozReview-Commit-ID: Cgh1Cbb60Zk
2017-11-23 13:11:41 -05:00
Nika Layzell
446dd5ff04
Bug 1419144 - Part 18: Move AsInner() and AsOuter() off of nsPIDOMWindow<T>, r=smaug
...
MozReview-Commit-ID: IA29zmacrJ4
2017-11-23 13:11:39 -05:00
Nika Layzell
c2a2aa6fc5
Bug 1419144 - Part 15: Move PopupControlState into nsContentUtils, r=smaug
...
MozReview-Commit-ID: Kt2moF5nsDg
2017-11-23 13:11:34 -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
Ben Kelly
07fdc1850b
Bug 1419536 P3 Handle creating and activating the ClientSource in nsDocShell and nsGlobalWindow. r=baku r=freesamael
2017-11-21 15:13:05 -05: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
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