Commit Graph

202 Commits

Author SHA1 Message Date
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
Arnaud Bienner
53063e13d2 Bug 1471843: Remove audioWorklet attribute from Window. r=baku,karlt
MozReview-Commit-ID: 9SJRZ2keJpb
2018-07-03 16:58:16 +02: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
Jeff Gilbert
d7732c4820 Bug 1469376 - Initial stubs for WebGPU sketch API. - r=kvark,qdot
MozReview-Commit-ID: 3MZLQDNpHBk
2018-06-13 10:43:48 -07:00
Dão Gottwald
c58c4db572 Bug 1455596 - Remove support for <panel backdrag="true"/>. r=enn,ehsan 2018-04-24 22:07:20 +02:00
Peter Van der Beken
d245c134c4 Bug 1448850 - Remove nsIMessageBroadcaster. r=bz. 2018-02-14 17:35:39 +01:00
Boris Zbarsky
bb32f68fba 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
Peter Van der Beken
be389decc0 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 4: Convert MessageManager to WebIDL. r=bz. 2017-06-20 11:09:50 +02: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
52fc5dc9c0 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 4: Convert MessageManager to WebIDL. r=bz. 2017-06-20 11:09:50 +02:00
Mike Conley
da3f1e9386 Bug 1434376 - Introduce ChromeOnly window.promiseDocumentFlushed to detect when refresh driver ticks have completed. r=bz
This is particularly useful for knowing when it's safe to query for style and
layout information for a window without causing a synchronous style or layout
flush.

Note that promiseDocumentFlushed was chosen over promiseDidRefresh or promiseRefreshed
to avoid potential confusion with the actual network-level refresh of browsers or
documents.

MozReview-Commit-ID: Am3G9yvSgdN
2018-02-11 20:14:49 -05:00
Andreea Pavel
f77494f37a Backed out 3 changesets (bug 1434376)for failing browser chrome at browser/base/content/test/performance/browser_urlbar_search_reflows.js on a CLOSED TREE
Backed out changeset b636251b75ab (bug 1434376)
Backed out changeset fccbba9cb959 (bug 1434376)
Backed out changeset b5128504011c (bug 1434376)
2018-02-25 12:44:28 +02:00
Mike Conley
6e072d9d0f Bug 1434376 - Introduce ChromeOnly window.promiseDocumentFlushed to detect when refresh driver ticks have completed. r=bz
This is particularly useful for knowing when it's safe to query for style and
layout information for a window without causing a synchronous style or layout
flush.

Note that promiseDocumentFlushed was chosen over promiseDidRefresh or promiseRefreshed
to avoid potential confusion with the actual network-level refresh of browsers or
documents.

MozReview-Commit-ID: Am3G9yvSgdN
2018-02-11 20:14:49 -05:00
Cosmin Sabou
b577c1c6c0 Backed out 3 changesets (bug 1434376) for build bustages on SystemTimeConverter.h(177)
Backed out changeset 2ed5aefc5bc2 (bug 1434376)
Backed out changeset 1b474fb6d798 (bug 1434376)
Backed out changeset 4e6a21e50be0 (bug 1434376)
2018-02-23 23:17:42 +02:00
Mike Conley
2002a64ddf Bug 1434376 - Introduce ChromeOnly window.promiseDocumentFlushed to detect when refresh driver ticks have completed. r=bz
This is particularly useful for knowing when it's safe to query for style and
layout information for a window without causing a synchronous style or layout
flush.

Note that promiseDocumentFlushed was chosen over promiseDidRefresh or promiseRefreshed
to avoid potential confusion with the actual network-level refresh of browsers or
documents.

MozReview-Commit-ID: Am3G9yvSgdN
2018-02-11 20:14:49 -05:00
Adrian Wielgosik
d45b1b539c Bug 1436865 - Remove nsIDOMCrypto. r=bz
MozReview-Commit-ID: 4bQVSF94bbz
2018-02-08 13:22:20 +01:00
Jonathan Kingston
b12757515a Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h
2018-01-12 19:09:30 +00:00
shindli
71aaa07f8c Backed out changeset e401076359c6 (bug 1354175) for M(8) failures on a CLOSED TREE 2018-01-31 21:26:42 +02:00
Jonathan Kingston
10d024070b Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h
2018-01-12 19:09:30 +00: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
Ben Kelly
f01ec2b5b5 Bug 1425316 P1 Expose a chrome-only Window.shouldReportForServiceWorkerScope() method that initially forwards to ServiceWorkerManager. r=asuth 2017-12-19 10:04:47 -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
Nika Layzell
fb06faf75a Bug 1416384 - Part 2b: Get split headers building but not linking, r=smaug
MozReview-Commit-ID: JRvPtQTJqSX
2017-11-15 11:33:29 -05:00
Nika Layzell
16ec63eeb5 Bug 1415645 - Part 5: Fix some more consumers of nsGlobalWindow which I missed, r=smaug
MozReview-Commit-ID: DvMH4cVw5NK
2017-11-15 11:21:57 -05:00
Boris Zbarsky
3e24d362fc Bug 1414935. Hide window.print entirely when it's disabled by pref. r=mystor
MozReview-Commit-ID: ArDw85eQYeh
2017-11-13 10:38:50 -05:00
Sebastian Hengst
9806a89fdf Backed out changeset b9aa0fc4f179 (bug 1414935) for failing mochitest test_bug739038.html. r=backout on a CLOSED TREE 2017-11-13 20:11:00 +02:00
Boris Zbarsky
db2e23e95d Bug 1414935. Hide window.print entirely when it's disabled by pref. r=mystor
MozReview-Commit-ID: ArDw85eQYeh
2017-11-13 10:38:50 -05:00
Emilio Cobos Álvarez
4752927341 Bug 1410074: Make the caller type from MatchMedia arrive to the CSS code. r=xidorn,bz
MozReview-Commit-ID: LUiobfHSUq1
2017-10-25 16:04:48 +02:00
Peter Van der Beken
6cef2341d0 Bug 1383059 - Remove instanceof for supplemental interfaces. Part 2: remove support for supplemental interfaces in instanceof code and remove unnecessary ChromeWindow interface. r=bz. 2017-07-05 23:01:04 +02:00
Peter Van der Beken
a8401db6ec Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz. 2017-10-06 13:47:27 +02:00
Brad Werth
a7f61d9aad Bug 1402942 Part 1: Use double precision math in computation of Window.devicePixelRatio. r=bz,heycam
MozReview-Commit-ID: 9OCtSgE6jYj
2017-09-25 11:53:09 -07:00
Jonathan Kew
3447742c23 Bug 1402859 - Remove ENABLE_INTL_API conditional from webidl and dom/base code, now that it's true across all builds. r=smaug 2017-09-25 17:32:12 +01:00
Boris Zbarsky
4409a52362 Bug 1400898 part 2. Get rid of the interface constants on nsIDOMChromeWindow. r=farre
MozReview-Commit-ID: 4FuJSgha5y3
2017-09-19 10:13:22 -04:00
Boris Zbarsky
e65fe3dfb3 Bug 1400139 part 2. Make window.content non-enumerable. r=mystor
MozReview-Commit-ID: LQkEkdG8wKf
2017-09-18 21:24:38 -04:00
Boris Zbarsky
b7551a3d7c Bug 864845 part 2. Make window.content chromeonly in nightly. r=mystor
MozReview-Commit-ID: Q7hTmngEgI
2017-09-12 15:33:10 -04:00
Ryan VanderMeulen
c8d39ae7c1 Merge m-c to autoland. a=merge 2017-09-13 20:37:40 -04:00
Ryan VanderMeulen
2a2bc84b94 Backed out 2 changesets (bug 864845) for causing bug 1399649.
Backed out changeset c991b71d3642 (bug 864845)
Backed out changeset 9e6a4d96cf76 (bug 864845)
2017-09-13 19:23:12 -04:00
Boris Zbarsky
33b0b37aa3 Bug 864845 part 2. Make window.content chromeonly. r=mystor
MozReview-Commit-ID: Q7hTmngEgI
2017-09-12 15:33:10 -04:00
Masatoshi Kimura
ab77b9afbb Bug 1398445 - Remove window._content. r=mystor,qdot
MozReview-Commit-ID: 13KovslzGnM
2017-09-09 10:47:48 +09:00
Sebastian Hengst
e4faa8b84e Backed out changeset 27f3e967a340 (bug 864845) 2017-09-09 22:35:59 +02:00
Boris Zbarsky
8aad8f4df7 Bug 864845 part 2. Make window.content chromeonly. r=mystor 2017-09-09 04:29:51 -04:00
Eric Rahm
d419d4fef3 Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly 2017-08-11 17:42:11 -07:00
Eric Rahm
0c7237960f Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Blake Kaplan
7eaf7651f9 Bug 1374460 - Remove all code related to showModalDialog. r=smaug
MozReview-Commit-ID: GCGwBfIx2SJ
2017-07-13 16:42:03 -07:00
Zibi Braniecki
762b28fb77 Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
MozReview-Commit-ID: IqGbT6ZUfuN
2017-07-14 16:47:23 -07:00
Boris Zbarsky
7e30f6bee2 Bug 1370550. Move the onwheel attribute to GlobalEventHandlers, to follow the spec. r=smaug 2017-07-11 17:49:25 -04:00