Andi-Bogdan Postelnicu
4bbf229571
Bug 1725145 - header files fixes in the hybrid build env. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D122343
2021-08-22 10:21:55 +00:00
Sean Feng
2ef032752a
Bug 1709232 - Make PerformanceObserver.supportedEntryTypes respects dom.enable_event_timing r=emilio
...
PerformanceObserver.supportedEntryTypes doesn't check whether
PerformanceEventTiming is enabled or not, so it'll falsely claims
PerformanceEventTiming is supported even if the pref is disabled.
This patch fixes that by adding a guard to it.
Differential Revision: https://phabricator.services.mozilla.com/D114250
2021-05-05 17:20:12 +00:00
Sean Feng
14056a7a87
Bug 1695328 - PerformanceObserver should throw TypeError instead of SyntaxError r=smaug
...
According to the latest spec
https://w3c.github.io/performance-timeline/#observe-method ,
TypeError should be thrown, however we throw SyntaxError.
Differential Revision: https://phabricator.services.mozilla.com/D106669
2021-03-01 21:45:59 +00:00
smolnar
bd68aa7a26
Backed out changeset 60a3eddb183b (bug 1695328) for causing failures in PerformanceObserver. CLOSED TREE
2021-03-01 17:16:51 +02:00
Sean Feng
419fbf1b21
Bug 1695328 - PerformanceObserver should throw TypeError instead of SyntaxError r=smaug
...
According to the latest spec
https://w3c.github.io/performance-timeline/#observe-method ,
TypeError should be thrown, however we throw SyntaxError.
Differential Revision: https://phabricator.services.mozilla.com/D106669
2021-03-01 14:38:32 +00:00
amurali
0e822cb197
Bug 1691453 - Remove ObservesTypeOfEntry again in PerformanceObserver::QueueEntry.r=sefeng
...
Differential Revision: https://phabricator.services.mozilla.com/D106290
2021-02-24 18:07:35 +00:00
Sean Feng
c189f031cd
Bug 1693059 - Make PerformanceObserver::Disconnect clears its option list r=smaug
...
Per spec, `disconnect` should clear its option list, such that
doing a `observe`->`disconnect`->`observe` will not be reusing
the same options from the first `observe`.
Spec: https://w3c.github.io/performance-timeline/#disconnect-method
Differential Revision: https://phabricator.services.mozilla.com/D105329
2021-02-24 15:01:37 +00:00
Sean Feng
6ed5ee2747
Bug 1667836 - Allow performance event entries can only be retrieved by PerformanceObserver r=smaug
...
Performance event entries should only be retrieved by
PerformanceObserver, so it can't be retrieved by using
Performance.GetEntries* APIs.
Differential Revision: https://phabricator.services.mozilla.com/D102036
2021-02-09 18:54:48 +00:00
Sean Feng
0f5d7f8980
Bug 1667836 - Implement PerformanceEventTiming Interface r=smaug
...
Spec: https://wicg.github.io/event-timing/#sec-performance-event-timing
Differential Revision: https://phabricator.services.mozilla.com/D102035
2021-02-09 18:54:47 +00:00
Sean Feng
03a1d639e9
Bug 1667836 - Make performance entries may have different should add entry algorithm r=smaug
...
According to https://w3c.github.io/timing-entrytypes-registry/#registry ,
unlike other performance entries, `event` and `first-input` entries have
their own algorithms to determine whether it can be added to observers.
This patch factors some code to allow such algorithms can be
implemented.
Differential Revision: https://phabricator.services.mozilla.com/D102034
2021-02-09 18:54:46 +00:00
Olli Pettay
2396f165cb
Bug 1688312 - Consider to use nsAtoms in PerformanceEntry, r=sefeng
...
Differential Revision: https://phabricator.services.mozilla.com/D102807
2021-01-24 12:16:55 +00:00
Sean Feng
98b6d8ff5a
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-10-27 16:25:50 +00:00
Bogdan Tara
612312a64c
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Sean Feng
a72f12bdac
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-10-23 19:25:36 +00:00
Dorel Luca
dce635f898
Backed out 10 changesets (bug 1518999) for GeckoView failures in PanZoomControllerTest.scroll. CLOSED TREE
...
Backed out changeset 7b5bdd071d05 (bug 1518999)
Backed out changeset 401e488734dd (bug 1518999)
Backed out changeset c13e51e17329 (bug 1518999)
Backed out changeset 2a2d67ba15b8 (bug 1518999)
Backed out changeset 3d4d84003227 (bug 1518999)
Backed out changeset 972731762965 (bug 1518999)
Backed out changeset f21b13582dad (bug 1518999)
Backed out changeset 13a4c749a802 (bug 1518999)
Backed out changeset 5a6cea5fd344 (bug 1518999)
Backed out changeset c3bb552e76a3 (bug 1518999)
2020-09-17 02:58:34 +03:00
Sean Feng
45d23b9206
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-09-14 15:13:18 +00:00
Cosmin Sabou
47aeae737d
Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE
...
Backed out changeset d93cb254eef5 (bug 1518999)
Backed out changeset a9715e73e862 (bug 1518999)
Backed out changeset e28081d16e3c (bug 1518999)
Backed out changeset c9d88f3f1f5b (bug 1518999)
Backed out changeset 9836adcc4e83 (bug 1518999)
Backed out changeset 9f01755d327f (bug 1518999)
Backed out changeset ef494065b8e2 (bug 1518999)
2020-08-28 06:27:11 +03:00
Sean Feng
d004d374c6
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-27 14:50:43 +00:00
Cosmin Sabou
cb292d6727
Backed out 6 changesets (bug 1518999) for geckoview failures on scrollToVerticalOnZoomedContentAuto.
...
Backed out changeset 10bf1552e301 (bug 1518999)
Backed out changeset e62cd63e3595 (bug 1518999)
Backed out changeset 1bf0b02bb0e0 (bug 1518999)
Backed out changeset 2203a9c52afa (bug 1518999)
Backed out changeset 10f07ca7a246 (bug 1518999)
Backed out changeset b90cf6b54c09 (bug 1518999)
2020-08-25 01:02:36 +03:00
Sean Feng
4e475992e5
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-24 16:03:31 +00:00
Csoregi Natalia
7ed84ce7af
Backed out 6 changesets (bug 1518999) for marionette failures on test_refresh_firefox.py. CLOSED TREE
...
Backed out changeset eb8e5411868e (bug 1518999)
Backed out changeset 0924e0169dcb (bug 1518999)
Backed out changeset b7de245b329c (bug 1518999)
Backed out changeset f2a6a3797ef1 (bug 1518999)
Backed out changeset 123403a14312 (bug 1518999)
Backed out changeset 1968b8ca14d7 (bug 1518999)
2020-08-18 23:53:26 +03:00
Sean Feng
dc060b5793
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-06 16:13:44 +00:00
Simon Giesecke
1fbb2b245e
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Noemi Erli
c5adcfe981
Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
...
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke
9d2e516112
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
sefeng
90773e914b
Bug 1631346 - Fix a null ptr crash in PerformanceObserver::Observe r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D76193
2020-05-28 16:01:56 +00:00
sefeng
7930e032d0
Bug 1634854 - Make performance.observe queues task when buffered is set r=baku
...
Spec: https://w3c.github.io/performance-timeline/#observe-method
Per sepc, when the buffered flag is set, a PerformanceObserver
task should be queued to notify the observer for buffered entires.
Differential Revision: https://phabricator.services.mozilla.com/D75574
2020-05-18 11:53:06 +00:00
Rob Rico
bc94813785
Bug 1604066 - Removing Return on Void Statement in PerformanceOberserver::ReportUnsupportedTypesErrorToConsole() r=sylvestre
...
Depends on D59654
Differential Revision: https://phabricator.services.mozilla.com/D59714
2020-01-13 18:13:37 +00:00
Boris Zbarsky
8e16a497d9
Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34201
2019-06-08 21:26:12 +00:00
Will Hawkins
caaa967057
Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=mstange,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27008
2019-04-12 16:29:48 +00:00
Bogdan Tara
ac5bb8d59f
Backed out changeset 3cd097a7b017 (bug 1539006) for po-observe.any.worker.html failures CLOSED TREE
2019-04-10 09:48:56 +03:00
Will Hawkins
bfc83d3601
Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D26654
2019-04-10 00:14:39 +00:00
Ciure Andrei
ee381d07b7
Backed out changeset e04ef5171459 (bug 1539006) for permafailing test_worker_observer.html CLOSED TREE
2019-04-09 06:32:40 +03:00
Will Hawkins
eb005d064d
Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D25426
2019-04-09 00:43:10 +00:00
Boris Zbarsky
847bb13da7
Bug 1535384 part 1. Eliminate some easy cases of MOZ_CAN_RUN_SCRIPT_BOUNDARY on webidl callbacks. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23771
2019-03-19 05:24:39 +00:00
Emilio Cobos Álvarez
dc336a73ba
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
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Jon Coppeard
53fde14e1a
Bug 1501979 - Make PerformanceObserver report mQueuedEntries to the cycle collector r=mccr8
2018-10-26 11:03:44 +01:00
Andrea Marchesini
7f71d838ab
Bug 1462879 - PerformanceNavigationTiming must be notified correctly - part 1 - notify, r=smaug, r=valentin
2018-08-04 08:54:58 +02:00
Thomas Wisniewski
07172303ad
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
2018-01-24 20:59:04 -05:00
Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andrea Marchesini
c93d4ef956
Bug 1463065 - "server" is not a valid PerformanceEntry type, r=valentin
2018-05-21 14:49:15 +02:00
Andrea Marchesini
d64c5b22a3
Bug 1436692 - Implement PerformanceObserver::takeRecords(), r=valentin
2018-02-08 17:43:25 +01:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
98ac9eb616
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Nika Layzell
20ee9a4927
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Sebastian Hengst
c4813b43c5
Backed out changeset c2c746884242 (bug 1403027) for failing M-e10s(2,h2) without failure summary on Windows. r=backout on a CLOSED TREE
2017-10-25 23:44:40 +02:00
Thomas Wisniewski
78e5b353fd
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
2017-10-22 22:49:44 -04:00