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
Boris Zbarsky
c360173249
Bug 1475065 part 12. Stop using nsIDOMOfflineResourceList in bindings. r=nika
2018-07-13 15:42:07 -07:00
Andrea Marchesini
1498612e1b
Bug 1474812 - No needs to store granted storage access in nsILoadInfo and in the inner window, r=ehsan
2018-07-13 12:02:19 +02:00
Andrea Marchesini
2227a5e089
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 3 - using permissions, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
ba1f8971c7
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 2 - storing first user interaction in nsILoadInfo, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
e6921e1adc
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 1 - storing first user interaction in a document with an opener window, r=ehsan
2018-07-10 10:09:58 +02:00
Margareta Eliza Balazs
c37b51f523
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
f34232490a
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 3 - using permissions, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
637cab9bf6
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 2 - storing first user interaction in nsILoadInfo, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
4322df2e13
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 1 - storing first user interaction in a document with an opener window, r=ehsan
2018-07-10 10:09:58 +02:00
Henri Sivonen
2363350998
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
--HG--
extra : rebase_source : 978a3fecf87e1ac4414ec0ea93335796bc24951a
2018-04-04 15:57:17 +03:00
Arnaud Bienner
6de8cbcb2b
Bug 1471843: Remove audioWorklet attribute from Window. r=baku,karlt
...
MozReview-Commit-ID: 9SJRZ2keJpb
--HG--
extra : rebase_source : f71d4be51e06f44cad6d8efb9ecde63a2d1dc7b7
2018-07-03 16:58:16 +02:00
Bogdan Tara
6669112756
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
82805f2778
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
--HG--
extra : rebase_source : 5852093c015844cf3cc49dcd7fe71c9ea881eef9
2018-04-04 15:57:17 +03:00
Margareta Eliza Balazs
d898125afb
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
f63ec4c1fe
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
--HG--
extra : rebase_source : 9679d42cc9df899e2208a3cb72e14fdaabbcad8c
2018-04-04 15:57:17 +03:00
Jeff Gilbert
a574f2ae1f
Bug 1469376 - Initial stubs for WebGPU sketch API. - r=kvark,qdot
...
MozReview-Commit-ID: 3MZLQDNpHBk
--HG--
extra : rebase_source : 4495aae52f283286ecafcc3217811d306097b9b6
2018-06-13 10:43:48 -07:00
Ben Kelly
083c06c238
Bug 1462772 P1 Add a fallible nsIGlobalObject::GetServiceWorkerRegistration() method. r=mrbkap
2018-07-02 07:44:18 -07:00
Ben Kelly
a11f4b5b1d
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
Andrea Marchesini
6518a03af1
Bug 1268889 - Implement Clear-Site-Data header - part 3 - reload contexts, r=smaug
2018-06-20 11:57:50 -04:00
Narcis Beleuzu
3f9f7d8191
Backed out 4 changesets (bug 1268889) for Windows GTest failures. CLOSED TREE
...
Backed out changeset da427a67372e (bug 1268889)
Backed out changeset 97528847b7b7 (bug 1268889)
Backed out changeset b2320061fbcb (bug 1268889)
Backed out changeset dd3b7047ea6f (bug 1268889)
2018-06-21 16:51:55 +03:00
Andrea Marchesini
1f52a1bed1
Bug 1268889 - Implement Clear-Site-Data header - part 3 - reload contexts, r=smaug
2018-06-20 11:57:50 -04:00
Jan de Mooij
3721ae615a
Bug 1464374 part 9 - Turn JS_SetCompartmentPrincipals into JS::SetRealmPrincipals. r=bz
2018-05-31 11:28:50 +02: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
Andreas Farre
21d26b0afe
Bug 1450066 - Fall back to 0 if setInterval interval not supplied. r=bkelly
...
--HG--
extra : rebase_source : 55bacede7cacd5b18f710a303acf077e777e817b
2018-05-03 06:20:00 +03:00
Boris Zbarsky
25aa42d9a4
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -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
Dão Gottwald
adc758e47b
Bug 1455596 - Remove support for <panel backdrag="true"/>. r=enn,ehsan
2018-04-24 22:07:20 +02: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
Ben Kelly
968dd21f15
Bug 1451913 P0 Delay rebinding and freeing the old inner window until after set the new inner window. r=smaug
2018-04-16 06:08:51 -07: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
Ben Kelly
2c5666c6d8
Bug 1450266 P1 Remove nsGlobalWindowInner::CleanUp() method in favor of FreeInnerObjects(). r=smaug
2018-04-03 17:10:16 -07: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
Boris Zbarsky
fc0fab9262
Bug 1062418 part 2. Clean up the bits that got moved from nsWindowSH. r=mystor
...
MozReview-Commit-ID: HGy6CHx4sCP
2018-03-21 23:18:51 -04:00
Boris Zbarsky
30d7175859
Bug 1442360 part 1. Change InstallTrigger to not use the JavaScript-global-property category. r=kmag
...
test_bug609794.html was testing a behavior that the method before the current
method of attaching InstallTrigger to windows depended on. We don't really
need that behavior, which is good, because this change is not producing it.
MozReview-Commit-ID: GPzif89UYYl
2018-03-21 23:18:51 -04:00