Commit Graph

200 Commits

Author SHA1 Message Date
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
Cosmin Sabou
47f2c0b0a5 Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky
091ce8747f Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -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
Andrea Marchesini
f7ecc0f399 Bug 1432963 - Fixing workers headers - part 16 - JSSettings in a workerinternals namespace, r=smaug 2018-01-31 08:24:59 +01:00
Andrea Marchesini
8a21b54e4a Bug 1413112 - Renaming Workers.h to WorkerCommon.h, r=bkelly 2018-01-30 10:10:04 +01: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
Ben Kelly
dff41a71ea Bug 1431814 P1 Allow the controller to be inheritted for other local URLs like blob: and data:. r=asuth 2018-01-23 12:34:48 -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
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
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
Cameron McCormack
6f67ab6348 Bug 1427512 - Part 29: Remove nsIDOMCSSDeclaration. r=xidorn,jryans,bz
This removes the .style attribute from nsIDOMSVGElement, but there
shouldn't be any users of that.

MozReview-Commit-ID: LOBSFo85Utn
2018-01-11 16:17:57 +08:00
Ben Kelly
77614ae1c2 Bug 1426979 P1 Ignore about:blank and about:srcdoc channels when determining if a window ClientSource is controlled or not. r=asuth 2018-01-10 13:59:29 -05:00
Kearwood "Kip" Gilbert
47a879d246 Bug 1402147 - Part 1: Fire VRDisplayConnect event for VR displays that are already enumerated when a page is loaded r=daoshengmu
MozReview-Commit-ID: 7zQOSYJ6tkg
2018-01-04 14:27:03 -08:00
Andrea Marchesini
8ef37758ae Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth 2018-01-08 14:05:03 +01:00
Andrea Marchesini
19aaf33f1c Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth 2018-01-08 14:05:03 +01:00
Ben Kelly
41a6ec34cd Bug 1425975 P13 Check for a different final document principal and reset the ClientSource when it happens. r=asuth 2018-01-05 12:10:22 -05:00
Csoregi Natalia
783947af6e Backed out 14 changesets (bug 1425975) for M(5) permafails mochitest/test_ext_webrequest_filter.html. r=backout a=backout
Backed out changeset e6f4a2d1df9a (bug 1425975)
Backed out changeset 1e657fa97b71 (bug 1425975)
Backed out changeset 9e1544ec814d (bug 1425975)
Backed out changeset 0e50d9d1d069 (bug 1425975)
Backed out changeset fb89dbd922ba (bug 1425975)
Backed out changeset f2b451ce55d4 (bug 1425975)
Backed out changeset 4ce186c6d8f5 (bug 1425975)
Backed out changeset 6f520ab76d6a (bug 1425975)
Backed out changeset f091f5e182c4 (bug 1425975)
Backed out changeset 82d39ed8c831 (bug 1425975)
Backed out changeset df13eba47970 (bug 1425975)
Backed out changeset 553628a56e6a (bug 1425975)
Backed out changeset acf4d61babab (bug 1425975)
Backed out changeset b7ae11b5bce8 (bug 1425975)
2017-12-24 00:23:57 +02:00
Ben Kelly
bff5ed87ab Bug 1425975 P13 Check for a different final document principal and reset the ClientSource when it happens. r=asuth 2017-12-22 21:09:20 -05:00
Andrea Marchesini
98b02a0bb8 Bug 1425463 - Expose Console API to JSM, r=smaug 2017-12-20 14:35:34 +01:00
Ben Kelly
69f1772498 Bug 1425316 P5 Match service worker console reports against currently loading navigation channel. r=asuth 2017-12-19 10:04:49 -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
51179207eb Bug 1425316 P3 Make nsGlobalWindowInner::ShouldReportForServiceWorkerScope() handle checks for controlled windows. r=asuth 2017-12-19 10:04:48 -05:00
Ben Kelly
753d5ad674 Bug 1425316 P2 Improve nsGlobalWindowInner::CallOnChildren() to take variable arguments and allow iteration to be aborted. r=asuth 2017-12-19 10:04:48 -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
Olli Pettay
9c377ccc57 Bug 1412775 - Implement Event.composedPath, r=stone 2017-12-18 18:07:36 +02:00
Andreea Pavel
f83f963a34 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 22:21:17 +02:00
Ben Kelly
6e1a3f429c Bug 1424338 P3 Add ClientManager::Navigate() method. r=baku 2017-12-08 14:46:42 -05:00
Gurzau Raul
08cab4f288 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-09 00:56:50 +02:00