Ben Kelly
6d3f539ea5
Bug 1447871 P1 Call DisconnectFromOwner() on service worker binding objects in FreeInnerObjects(). r=asuth
2018-03-30 11:25:47 -07:00
Boris Zbarsky
e1ec29fb20
Bug 1447961. Fix the beta-and-release-only controllers shim code to actually compile. r=mystor
...
MozReview-Commit-ID: AreiVNKWg5L
2018-03-26 08:27:20 -04:00
Boris Zbarsky
c674308753
Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8
...
MozReview-Commit-ID: 6W1nEyKGlER
2018-03-23 12:53:48 -04:00
Gurzau Raul
7b521d5cc6
Backed out changeset 94a8e9c4c345 (bug 1448048) for Robocop failures on Android on a CLOSED TREE
2018-03-23 23:29:02 +02:00
Boris Zbarsky
cb33feffe7
Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8
...
MozReview-Commit-ID: 6W1nEyKGlER
2018-03-23 12:53:48 -04:00
Boris Zbarsky
bfe05cf811
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
ae5b36dbed
Bug 1062418 part 1. Move the remaining nsWindowSH bits into nsGlobalWindowInner. r=mystor
...
For now we preserve the current code structure and function signatures to make
review simpler. That's about to get cleaned up.
MozReview-Commit-ID: 4epLHQiEwDV
2018-03-21 23:18:51 -04:00
Boris Zbarsky
d80780910d
Bug 1442360 part 3. Remove nsScriptNamespaceManager, since now it's all dead code. r=peterv
...
MozReview-Commit-ID: DHRz2frjmT5
2018-03-21 23:18:51 -04: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
Boris Zbarsky
2676f04fc5
Bug 1442039 part 13. Remove the now-pointless nsWindowSH::NameStructEnabled. r=peterv
...
MozReview-Commit-ID: 9lawfsdyyZq
2018-03-21 23:13:29 -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
Adrian Wielgosik
03284e63fb
Bug 1446515 - Remove nsIDOMFileList. r=bz
...
MozReview-Commit-ID: 4ab1e6NTcOB
2018-03-16 20:55:32 +01:00
shindli
1056e3decf
Merge inbound to mozilla-central. a=merge
2018-03-15 12:15:17 +02:00
Kris Maglione
3de3eddddb
Bug 1445551: Part 4 - Remove compartment-per-addon. r=mccr8
...
The compartment-per-addon code was added so that we could segregate at least
some of the code from system-privileged add-ons into tagged compartments, even
when it ran in browser windows. That allowed us to apply certain special
behavior to them, such as enabling e10s shims, and to track some performance
characteristics.
The only remaining chrome-privileged add-ons now are system add-ons controlled
by us, and the shim system and per-compartment performance metrics are gone,
it no longer serves a purpose.
MozReview-Commit-ID: Ap186bWAaqP
2018-03-13 19:43:30 -07:00
Tom Ritter
728b7eb478
Bug 1443943 Port the performance APIs only to only clamping/jittering on non-System Principal r=baku
...
MozReview-Commit-ID: FKYLI5Yc1kX
2018-03-09 09:29:33 -06:00
Mike Conley
6e8acf5c0f
Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
...
MozReview-Commit-ID: INGpltVvNmZ
2018-02-28 16:15:51 -05:00
Ben Kelly
8bdf07d673
Bug 1438211 P9 Remove nsPIDOMWindowInner::GetServiceWorkerRegistration() and InvalidateServiceWorkerRegistration(). r=asuth
2018-03-02 13:02:50 -08:00
Ben Kelly
573a9d0b89
Bug 1438211 P2 Implement nsGlobalWindowInner::GetOrCreateServiceWorkerRegistration(). r=asuth
2018-03-02 13:02:49 -08:00
Narcis Beleuzu
03b61a2936
Backed out changeset 93a515ea1721 (bug 1442020) for bc failures on /browser_devices_get_user_media_tear_off_tab.js. a=backout
2018-03-08 19:48:58 +02:00
Mike Conley
f9778a02eb
Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
...
MozReview-Commit-ID: INGpltVvNmZ
2018-02-28 16:15:51 -05:00
Olli Pettay
8d2a7b0ad2
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Tooru Fujisawa
57bd88fa59
Bug 1442218 - Defer MicroTask checkpoint to the outside of loop in nsGlobalWindowInner::CallDocumentFlushedResolvers and nsGlobalWindowInner::CancelDocumentFlushedResolvers, and add observer if Promise callbacks adds document flushed resolvers. r=bz
2018-03-03 20:37:59 +09:00
Sebastian Hengst
cb6f80e7dd
merge mozilla-central to autoland
2018-03-01 12:27:56 +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
Jonathan Kingston
a58ab2befc
Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly
...
This patch disables device sensors except orientation by default.
It implements per-sensor prefs to disable orientation, motion, proximity and ambient light
selectively. The patch also makes the pref checks happen at runtime (versus on process
start) using Preferences::AddBoolVarCache.
The patch also removes the related Event constructors also.
MozReview-Commit-ID: EA8ARjjtlkF
2017-07-24 10:07:00 +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
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
Jason Orendorff
d640df5146
Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem.
...
js/src/jsalloc.h -> js/public/AllocPolicy.h
jsalloc.cpp -> js/src/util/AllocPolicy.cpp
jsbytecode.h -> merge into js/public/TypeDecls.h
jsprf.h -> js/public/Printf.h
jsprf.cpp -> js/src/util/Printf.cpp
jsprototypes.h -> public/ProtoKey.h
jswrapper.h -> js/Wrapper.h
2018-02-21 10:30:19 -06: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
Dorel Luca
9260b212cd
Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
...
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Peter Van der Beken
1da5c35811
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
Andrea Marchesini
c3783bdcce
Bug 1439686 - Console API should print logs on stdout when used by chrome code and if browser.dom.window.dump.enabled is true, r=bgrins
2018-02-22 08:49:51 +01:00
Ben Kelly
5bc8c5e6cf
Bug 1438541 P3 Allow nsIGlobalObject::ForEachEventTargetObject() callback function to abort iteration. r=smaug
2018-02-21 10:53:53 -08:00
Ben Kelly
da4d83130d
Bug 1438541 P2 Make nsIGlobalObject::GetOrCreateServiceWorker() use the DOMEventTargetHelper list stored on the global. r=smaug
2018-02-21 10:53:52 -08:00
Ben Kelly
be724518d3
Bug 1438541 P1 Track DOMEventTargetHelper objects in the nsIGlobalObject base class and always call DisconnectFromOwner() on them. r=smaug
2018-02-21 10:53:22 -08:00
Hiroyuki Ikezoe
b1da8534e8
Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
...
It would be convenient to get nsPresContext from nsIDocument.
MozReview-Commit-ID: Ei6V3UE8XGr
2018-02-21 07:00:10 +09:00
Hiroyuki Ikezoe
ce3e2391a3
Bug 1417354 - Drop unused presshell and prescontext in nsGlobalWindowInner.cpp. r=smaug
...
MozReview-Commit-ID: Ok80ilFDsf
2018-02-21 06:15:22 +09:00
Ben Kelly
4aa1944351
Bug 1439099 P3 Remove ServiceWorker::MatchesDescriptor() in favor of Descriptor().Matches(). r=asuth
2018-02-19 12:06:19 -08:00
Jonathan Kingston
5efafe0118
Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
...
MozReview-Commit-ID: 9NxFv57CyZO
2018-02-04 12:10:10 +00:00
Andreea Pavel
9ec6f2f2a3
Merge mozilla-inbound to mozilla-central a=merge
2018-02-15 12:24:21 +02: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
Adrian Wielgosik
461746740b
Bug 1437300 - Remove nsIDocCharset. r=bz
...
MozReview-Commit-ID: Ldl4utK3JKr
2018-02-10 19:12:42 +01:00
Adrian Wielgosik
d45b1b539c
Bug 1436865 - Remove nsIDOMCrypto. r=bz
...
MozReview-Commit-ID: 4bQVSF94bbz
2018-02-08 13:22:20 +01:00
Sebastian Hengst
5292298add
Backed out changeset dcb60325f0cf (bug 1429732) for breaking uriloader/exthandler/tests/mochitest/mochitest.ini: runByManifest mode must be enabled to set the prefs key (fails at least on Android)
2018-02-08 19:02:48 +02:00
Jonathan Kingston
6c1adbba6b
Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
...
MozReview-Commit-ID: 9NxFv57CyZO
2018-02-04 12:10:10 +00:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +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
Boris Zbarsky
b95841c15b
Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
...
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00