Граф коммитов

79927 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini a7033b2822 Bug 1515658 - ChannelMediaResource should use the BlobURLs' length when known, r=jya 2019-01-03 19:22:49 +01:00
Emilio Cobos Álvarez d3b4072acd Bug 1517241 - Fix some gcc / msvc bustage.
In a CLOSED TREE, since apparently I pushed the wrong revision to do all the
builds on try.
2019-01-03 18:37:33 +01:00
Emilio Cobos Álvarez b98f7193d9 Bug 1517241 - Fix some Android / non-unified bustage.
CLOSED TREE
2019-01-03 18:22:59 +01:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Daniel Varga ff20f2519a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 28249a6c172f584d05eb3a775578ebd0839aa057
2019-01-03 18:28:27 +02:00
Daniel Varga 6475e7a21d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-03 18:22:07 +02:00
Jon Coppeard 2909aa196d Bug 1342012 - Make import() work when the active script is in another document r=smaug 2019-01-03 10:06:01 +00:00
Jon Coppeard ca2a67e9ff Bug 1342012 - Associate event handler with active script when they are compiled r=smaug 2019-01-03 10:06:01 +00:00
Jon Coppeard bdfdf72d44 Bug 1342012 - Fix error message that covers all import() failures that don't throw a JS exception r=jandem 2019-01-03 10:06:00 +00:00
Jon Coppeard de102bc69b Bug 1342012 - Also associate classic scripts from the bytecode cache r=smaug 2019-01-03 10:06:00 +00:00
Olli Pettay f4756f7e8e bug 1515463, MessageBroadcaster.getChildAt should be out-of-bounds safe, r=peterv 2019-01-03 16:48:32 +02:00
Tom Schuster 008b6d8204 Bug 1510223 - Warn about scripts with wrong MIME type. r=ckerschb,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D14859

--HG--
extra : moz-landing-system : lando
2019-01-03 08:58:48 +00:00
Jan de Mooij 3e7306f81a Bug 1514210 part 2 - Use the privileged junk scope's compartment for windows created with the system principal. r=bzbarsky
Depends on D15290

Differential Revision: https://phabricator.services.mozilla.com/D15291

--HG--
extra : moz-landing-system : lando
2018-12-28 11:25:48 +00:00
Botond Ballo f179255747 Bug 1513232 - Avoid clamping the layout viewport size to be larger than the display size. r=kats
The clamping is intended to be a safeguard against extreme values in the
meta viewport tag. If the layout viewport is sized to the display size,
avoid the clamping, since the display size could legitimately be small
(e.g. in Android 8's picture-in-picture mode).

Differential Revision: https://phabricator.services.mozilla.com/D15605

--HG--
extra : moz-landing-system : lando
2019-01-03 05:53:52 +00:00
Andreas Pehrson 4e9e43bc92 Bug 1515873 - Don't create a backend as part of cleanup. r=jib
There's no guarantee a backend exists when a MediaManager does, and
crash-stats shows that shutdown can occur between posting a task and running
it, making it illegal to create a backend anew.

We're safer off avoiding creating a new backend. The cleanup step we're trying
to do is only effective if a backend already exists anyway.

Differential Revision: https://phabricator.services.mozilla.com/D15631

--HG--
extra : moz-landing-system : lando
2019-01-03 04:21:09 +00:00
Andreas Pehrson e72c999524 Bug 1515873 - Remove aWindowId arg from MediaManager::GetBackend. r=jib
It is unused.

Differential Revision: https://phabricator.services.mozilla.com/D15630

--HG--
extra : moz-landing-system : lando
2019-01-03 05:18:09 +00:00
Bogdan Tara 490ea365ac Merge inbound to mozilla-central. a=merge 2019-01-03 06:23:27 +02:00
Jorg K c31c78b310 Bug 1353867 - Follow-up: add missing include WindowProxyHolder.h to EventTarget.h. r=nika a=npotb
--HG--
extra : histedit_source : 5f5a58291a943fc10a09265d66ad9278eaff3a0e
2019-01-03 02:24:29 +02:00
Bogdan Tara 954395da08 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-02 23:41:59 +02:00
Bogdan Tara 6582cc9a1d Merge inbound to mozilla-central. a=merge 2019-01-02 23:36:12 +02:00
Geoff Brown 06eb954bfa Bug 1516441 - Skip dom/media/tests/mochitest/identity on android; r=bc
These tests were already skipped on the Android 4.3 emulator and started
failing on hardware when host-utils were updated to 66.0a.
2019-01-02 09:50:37 -07:00
Geoff Brown 3830f1cb12 Bug 1517170 - Skip some https tests on Android; r=bc
These tests have always been skipped silently. Now that https tests are
enabled to actually run, we find that some (all?) actually fail on Android:
now explicitly skipped to allow for green runs of tier 1 suites.
2019-01-02 09:50:37 -07:00
Nathan Froyd 9acf5a0c63 Bug 1517276 - thread callbacks through MemoryReportRequestClient; r=mccr8
The guts of MemoryReportRequestClient's supporting runnables contain
switches on the particular type of process we're running.  If you're
bringing up a new process type, having to add extra cases for your
process type here is a bit onerous.  These runnables really shouldn't
know anything about the process types that they're running on, either.

The easiest thing to do is modify MemoryReportRequestClient::Start to
take callbacks for what to do when a report is created and when
reporting is finished.  Then all process-specific knowledge can be
pushed out to the clients themselves, leaving MemoryReportRequestClient
and friends process-type agnostic.  We could even, at some later date,
move this code into xpcom/base/ to sit near nsMemoryReporterManager,
where it belongs.
2019-01-02 16:18:13 -05:00
Olli Pettay 12ee1c0884 Bug 1517221, explicitly break down pending mutation record list, r=mccr8 2019-01-02 21:36:39 +02:00
longsonr eb0a735bca Bug 1517185 - Move nsSVGEnum to the mozilla namespace and rename it as SVGEnum r=jwatt
--HG--
rename : dom/svg/nsSVGEnum.cpp => dom/svg/SVGEnum.cpp
rename : dom/svg/nsSVGEnum.h => dom/svg/SVGEnum.h
extra : amend_source : faf1423f0eecafceae6ede115759d06fa061faf2
2019-01-02 18:24:11 +00:00
Daniel Holbert 44acfc60f7 Backed out changeset c796403f5a29 since it landed with wrong bug number
--HG--
rename : dom/svg/SVGEnum.cpp => dom/svg/nsSVGEnum.cpp
rename : dom/svg/SVGEnum.h => dom/svg/nsSVGEnum.h
2019-01-02 10:44:12 -08:00
longsonr 69a6be5b17 Bug 1517108 - Move nsSVGEnum to the mozilla namespace and rename it as SVGEnum r=jwatt
--HG--
rename : dom/svg/nsSVGEnum.cpp => dom/svg/SVGEnum.cpp
rename : dom/svg/nsSVGEnum.h => dom/svg/SVGEnum.h
2019-01-02 18:24:11 +00:00
James Willcox d72a96de1f Bug 1450762 - Don't prompt for device permissions on Android in MediaDevices.enumerateDevices() r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D14575

--HG--
extra : moz-landing-system : lando
2019-01-02 16:44:35 +00:00
Peter Van der Beken 066d891adb Bug 1353867 - Add cross-process proxies for WindowProxy. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12656

--HG--
extra : moz-landing-system : lando
2019-01-02 13:29:18 +00:00
Peter Van der Beken b816d68b07 Bug 1353867 - Add code generation for array of cross origin properties. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12654

--HG--
extra : moz-landing-system : lando
2019-01-02 13:28:06 +00:00
Peter Van der Beken 05c586c0a9 Bug 1353867 - Split up PostMessage into two parts, one gathering information from the source and one gathering information from the target. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12652

--HG--
extra : moz-landing-system : lando
2019-01-02 13:27:33 +00:00
Peter Van der Beken 58c7fc4d20 Bug 1353867 - Change WindowProxyHolder's native type to BrowsingContext. r=bzbarsky
Make the WindowProxyHolder hold a strong reference to a BrowsingContext, as in the future
we might not have a nsPIDOMWindowOuter (if the document is loaded in a different process).

Differential Revision: https://phabricator.services.mozilla.com/D12651

--HG--
extra : moz-landing-system : lando
2019-01-02 13:27:05 +00:00
Peter Van der Beken a17049feac Bug 1353867 - Change WindowProxy type. r=bzbarsky
Add a WindowProxyHolder type and generate binding code that takes or returns it whenever
the WebIDL refers to the WindowProxy type. This patch just makes the WindowProxyHolder
hold a strong reference to a nsPIDOMWindowOuter.

Differential Revision: https://phabricator.services.mozilla.com/D12650

--HG--
extra : moz-landing-system : lando
2019-01-02 13:26:56 +00:00
Andrew McCreight f557e273ca Bug 1517036 - Remove some unused test support files. r=mrbkap
Differential Revision: https://phabricator.services.mozilla.com/D15531

--HG--
extra : moz-landing-system : lando
2019-01-01 18:28:12 +00:00
Tarek Ziadé aa665262ce Bug 1513304 - check that the nsIURI pointer is not null - r=baku
Verify that the script URI is not null before using it.
If it's the case, we can't really continue because that url
identifies the worker in the metrics.

Differential Revision: https://phabricator.services.mozilla.com/D15187

--HG--
extra : moz-landing-system : lando
2019-01-02 08:25:13 +00:00
Narcis Beleuzu 0ee0b63732 Merge inbound to mozilla-central. a=merge 2019-01-02 11:43:36 +02:00
longsonr ade1b15610 Bug 1517108 - Move nsSMILTimeContainer, nsSMILMilestone and nsSMILTargetIdentifier to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILMilestone.h => dom/smil/SMILMilestone.h
rename : dom/smil/nsSMILTargetIdentifier.h => dom/smil/SMILTargetIdentifier.h
rename : dom/smil/nsSMILTimeContainer.cpp => dom/smil/SMILTimeContainer.cpp
rename : dom/smil/nsSMILTimeContainer.h => dom/smil/SMILTimeContainer.h
2019-01-02 07:21:13 +00:00
longsonr 477d3cab33 Bug 1516727 - Part 4 move SVGAngle to the mozilla namespace r=jwatt 2019-01-01 21:01:19 +00:00
longsonr bf776da028 Bug 1517127 - move nsSVGClass to the mozilla::dom namespace r=jwatt
--HG--
rename : dom/svg/nsSVGClass.cpp => dom/svg/SVGClass.cpp
rename : dom/svg/nsSVGClass.h => dom/svg/SVGClass.h
2019-01-01 16:26:26 +00:00
Boris Zbarsky b7c8308871 Bug 1516560. Stop trying to do DOM proxy caching for DOM proxies with dynamic prototypes. r=jandem
This only affects Location.

Differential Revision: https://phabricator.services.mozilla.com/D15422

--HG--
extra : moz-landing-system : lando
2018-12-31 16:16:00 +00:00
longsonr aa72e7261b Bug 1516980 - Move nsSMILCompositor and nsSMILTimedElement to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILCompositor.cpp => dom/smil/SMILCompositor.cpp
rename : dom/smil/nsSMILCompositor.h => dom/smil/SMILCompositor.h
rename : dom/smil/nsSMILCompositorTable.h => dom/smil/SMILCompositorTable.h
rename : dom/smil/nsSMILTimedElement.cpp => dom/smil/SMILTimedElement.cpp
rename : dom/smil/nsSMILTimedElement.h => dom/smil/SMILTimedElement.h
2019-01-01 09:16:21 +00:00
Daniel Varga 6aa9c556dc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-31 23:27:53 +02:00
Daniel Varga f6510e6ac9 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-31 23:24:52 +02:00
Geoff Brown 35e432a3a8 Bug 1392946 - backout 61eca43af2dffc3ba19cf343210d851c638694d5 since it was not effective 2018-12-31 13:24:26 -07:00
Geoff Brown 300213c9ea Bug 1516441 - backout f2dc090551f076387b984a670fe9eb7be9c8d460 since it was not effective 2018-12-31 13:24:23 -07:00
longsonr e6ae298fff Bug 1516727 - Part 3 rename nsSVGAngle to SVGAngle r=jwatt
--HG--
rename : dom/svg/nsSVGAngle.cpp => dom/svg/SVGAngle.cpp
rename : dom/svg/nsSVGAngle.h => dom/svg/SVGAngle.h
2018-12-31 19:00:42 +00:00
Geoff Brown d8589d86d7 Bug 1516441 - Skip test_fingerprints.html on android-hw; r=me,a=test-only
This test started to perma-fail after host-utils were updated.
2018-12-31 11:46:07 -07:00
Geoff Brown fdae0d32eb Bug 1392946 - Skip test_webvtt_positionalign.html on android-hw; r=me,a=test-only
This test started to perma-fail after host-utils were updated.
2018-12-31 11:46:04 -07:00
Olli Pettay b63ca79965 bug 1514802, break down MutationRecords list so that cycle collector can delete the objects sooner, r=mccr8 2018-12-31 19:13:13 +02:00
Emilio Cobos Álvarez 63814207cb Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15498

--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00