Olli Pettay
bd44815208
Bug 1535638, Ensure ReportingObservers are notified even if a previous observer calls disconnect, r=baku
...
Reusing an existing wpt test. That particular test happens to be enabled in Firefox, unlike most Feature Policy/Reporting API tests.
Differential Revision: https://phabricator.services.mozilla.com/D23675
--HG--
extra : rebase_source : eac208adb1783bde2d0fac5ccb311291219bd50b
2019-03-15 17:01:39 +02:00
Chris Peterson
3f655a7340
Bug 1534878 - xpcom: Rename NS_InitXPCOM2() to NS_InitXPCOM(). r=froydnj
...
--HG--
extra : rebase_source : 6e7a46cf49f78e46e12d1e7fc76aba6f0c377be0
2019-03-14 23:38:09 -07:00
Oana Pop Rus
dd77c51ff5
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-03-15 18:45:20 +02:00
Oana Pop Rus
940c9bae01
Merge inbound to mozilla-central. a=merge
2019-03-15 18:33:47 +02:00
Oana Pop Rus
23a7208a68
Merge autoland to mozilla-central. a=merge
2019-03-15 18:31:40 +02:00
arthur.iakab
b6deb00c93
Backed out 4 changesets (bug 1500713) on request of jcristau for causing Bug 1535603 a=Backout
...
Backed out changeset 5d0cad2c99a4 (bug 1500713)
Backed out changeset f96a12eedd89 (bug 1500713)
Backed out changeset 2633cea7d119 (bug 1500713)
Backed out changeset 49c4cfbf2bee (bug 1500713)
2019-03-15 15:50:20 +02:00
Christoph Kerschbaumer
23b1d42b45
Bug 1534971: Add helper function within CSP to check if two CSPs are equal. r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D23567
--HG--
extra : moz-landing-system : lando
2019-03-15 12:20:52 +00:00
Thomas Nguyen
33d78105b7
Bug 1528695 - Part 1 : Use referrerInfo in openWindow, cpp file r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D21910
--HG--
extra : moz-landing-system : lando
2019-03-15 05:11:43 +00:00
Jean-Yves Avenard
92251eaa4f
Bug 1532858 - Ensure metadata values are sane. r=kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D22484
--HG--
extra : moz-landing-system : lando
2019-03-15 02:30:09 +00:00
Razvan Maries
3d59436341
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2019-03-15 05:48:49 +02:00
Razvan Maries
b5f0d05bc9
Merge mozilla-inbound to mozilla-central a=merge
2019-03-15 05:40:21 +02:00
violet
71e059e062
Bug 1343357 - Ignore lower-priority animateMotion if a to-animation is encountered r=dholbert
...
Current impl at SVGMotionSMILType::Interpolate has some wrong assertions, it's probably caused by overlooking the special behavior of to-animation. These assumptions also lead weird animation in the product build. Now we take to-animation into account, and implement similar behavior as Chrome and Safari.
Differential Revision: https://phabricator.services.mozilla.com/D23095
--HG--
extra : moz-landing-system : lando
2019-03-15 01:26:13 +00:00
Razvan Maries
1cfbd79a4e
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2019-03-14 23:50:44 +02:00
Razvan Maries
b52345353d
Merge mozilla-inbound to mozilla-central a=merge
2019-03-14 23:41:17 +02:00
Razvan Maries
5a47e65bea
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2019-03-14 23:48:31 +02:00
Andrea Marchesini
61d20299f1
Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 4 - tests, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D22471
--HG--
extra : moz-landing-system : lando
2019-03-14 17:48:50 +00:00
Andrea Marchesini
694d7a90e5
Bug 1511749 - Fix a race condition in SharedWorker shutdown, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D23188
--HG--
extra : moz-landing-system : lando
2019-03-14 17:42:50 +00:00
Henri Sivonen
b5a365766b
Bug 1535282 - Add logging of content process-level focus changes. r=nika
...
Depends on D22468
Differential Revision: https://phabricator.services.mozilla.com/D23479
--HG--
extra : moz-landing-system : lando
2019-03-14 15:55:35 +00:00
Henri Sivonen
83788eac4c
Bug 1524983 - Make nsFocusManager::Blur() hand off focus one level up only. r=NeilDeakin
...
Depends on D22974
Differential Revision: https://phabricator.services.mozilla.com/D22468
--HG--
extra : moz-landing-system : lando
2019-03-14 16:25:33 +00:00
Henri Sivonen
f31daadc47
Bug 1533716 - Make out-of-process iframes able to request focus. r=masayuki,NeilDeakin
...
Depends on D22969
Differential Revision: https://phabricator.services.mozilla.com/D22974
--HG--
extra : moz-landing-system : lando
2019-03-14 16:20:51 +00:00
Dorel Luca
bc871ba7f1
Merge mozilla-central to autoland. CLOSED TREE
...
--HG--
extra : amend_source : 1a86c239e49011cf1a857de6e020b91ca0b6bd67
2019-03-14 18:27:51 +02:00
Dorel Luca
0e9ffb4c4f
Merge mozilla-inbound to mozilla-central. a=merge
2019-03-14 18:25:40 +02:00
Dorel Luca
2d22ab9308
Backed out 3 changesets (bug 1522451) for eslint failure
...
Backed out changeset bd7007ecd0db (bug 1522451)
Backed out changeset d291cd16ef76 (bug 1522451)
Backed out changeset 6fbcde5da1c1 (bug 1522451)
2019-03-14 18:07:15 +02:00
Henri Sivonen
35fba3ee0b
Bug 1534258 - Send Deactivate() messages to out-of-process iframes. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D22969
--HG--
extra : moz-landing-system : lando
2019-03-14 16:00:32 +00:00
Emilio Cobos Álvarez
d14196d9cd
Bug 1535297 - Remove some unnecessary namespace qualification in Document.h r=smaug
...
Only kept the ones needed to not conflict with method names.
Differential Revision: https://phabricator.services.mozilla.com/D23486
2019-03-14 16:56:04 +01:00
Dorel Luca
db38f9a7f7
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2019-03-14 18:33:49 +02:00
Andreea Pavel
af20d1c10b
Backed out changeset a5beba8cc190 (bug 1534364
) for assertion failures
2019-03-14 23:14:31 +02:00
Andreea Pavel
d6a864b0c0
Backed out 4 changesets (bug 1533840, bug 1522451) for failing dom/manifest/test/test_ManifestProcessor_background_color.html on a CLOSED TREE
...
Backed out changeset 4fd7ce83efe1 (bug 1533840)
Backed out changeset 5a892aa56e37 (bug 1522451)
Backed out changeset 2ddf151f9535 (bug 1522451)
Backed out changeset 49ebb69e8893 (bug 1522451)
2019-03-14 23:02:15 +02:00
Yaron Tausky
3f8d31ac5b
Bug 1530223 - Guard RemoteWorkerChild's shared data with a mutex r=perry,asuth
...
Reading and writing data without synchronization from multiple threads
is undefined behavior.
Note that this commit does not attempt to reason about the during of mutex
locking; its purpose is to first establish correctness.
Differential Revision: https://phabricator.services.mozilla.com/D22573
--HG--
extra : moz-landing-system : lando
2019-03-14 20:19:18 +00:00
Emilio Cobos Álvarez
5aa8533517
Bug 1533963 - Use a single RestyleHint representation. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D22828
--HG--
extra : moz-landing-system : lando
2019-03-14 11:47:50 +00:00
Christoph Kerschbaumer
459ec2f354
Bug 1533159: Add MOZ_RELEASE_ASSERT to all SetLoadInfo implementations to ensure loadinfo is never null. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23302
--HG--
extra : moz-landing-system : lando
2019-03-14 11:38:23 +00:00
Christoph Kerschbaumer
49a632b6c1
Bug 1532207: Do not query the CSP from the principal within LoadFrame, but rather do not even set the Principal if it does not override the CSP within nsContentUtils::GetAttrTriggeringPrincipal. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D22121
--HG--
extra : moz-landing-system : lando
2019-03-14 11:39:04 +00:00
Chun-Min Chang
72f160f9f7
Bug 1500713: P4 - Unit test for BufferReader. r=kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D22814
--HG--
extra : moz-landing-system : lando
2019-03-14 17:18:49 +00:00
Chun-Min Chang
f251af73b4
Bug 1500713: P3 - Prevent duration in GetBuffered from being overestimated. r=kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D22048
--HG--
extra : moz-landing-system : lando
2019-03-14 17:18:45 +00:00
Chun-Min Chang
1f89757f9f
Bug 1500713: P2 - Seek MP3 parser to the original position if it fails parsing. r=kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D19097
--HG--
extra : moz-landing-system : lando
2019-03-14 17:18:35 +00:00
Chun-Min Chang
3dcdee9e7a
Bug 1500713: P1 - MP3 Test for the files with VBRI headers. r=kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D19096
--HG--
extra : moz-landing-system : lando
2019-03-14 17:18:26 +00:00
Alex Gaynor
2b1e080e64
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-14 19:40:20 +00:00
James Willcox
be6df29c13
Bug 1522451 - Resolve named CSS colors to RGB in Web Manifests r=marcosc
...
Differential Revision: https://phabricator.services.mozilla.com/D23025
--HG--
extra : moz-landing-system : lando
2019-03-14 16:46:38 +00:00
Nika Layzell
75c02c72ea
Bug 1532661 - Part 6: Clean up BrowsingContext references more reliably, r=farre
...
Depends on D23047
Differential Revision: https://phabricator.services.mozilla.com/D23048
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:13 +00:00
Nika Layzell
f6a5c73c2a
Bug 1532661 - Part 5: Make the BrowsingContext opener edge a weak reference, r=farre
...
Depends on D22193
Differential Revision: https://phabricator.services.mozilla.com/D23047
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:11 +00:00
Nika Layzell
1b8834985a
Bug 1532661 - Part 4: Support initializing complete BrowsingContextGroups in a single op with an IPCInitializer struct, r=farre
...
Depends on D22192
Differential Revision: https://phabricator.services.mozilla.com/D22193
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:09 +00:00
Nika Layzell
1ebd4ff025
Bug 1532661 - Part 2: Use a field list macro header for synced fields, r=farre
...
Depends on D22190
Differential Revision: https://phabricator.services.mozilla.com/D22191
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:05 +00:00
Nika Layzell
88e15f606d
Bug 1532661 - Part 1: Perform basic validation on CanonicalBrowsingContext, r=farre
...
Depends on D21134
Differential Revision: https://phabricator.services.mozilla.com/D22190
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:03 +00:00
Nika Layzell
b388b0df00
Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
...
Depends on D22764
Differential Revision: https://phabricator.services.mozilla.com/D21134
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:55 +00:00
Nika Layzell
a26325ea58
Bug 1529684 - Part 6: Store a mIsInProcess flag to preserve WindowProxy behaviour, r=farre
...
Currently when we have an in-process WindowProxy object, we will attempt
to either use the cached mWindowProxy value, or fetch the
nsGlobalWindowOuter object from through the nsDocShell. Unfortunately,
when the BrowsingContext is detached, we will fail to get the
nsGlobalWindowOuter object. This happens to be OK for our test cases, as
the cached mWindowProxy value doesn't have the chance to go away, but
isn't acceptable long-term.
These patches exascerbated that issue by causing the nsDocShell pointer
itself to be cleared when it is destroyed, which caused the Remote
WindowProxy logic to be triggered. To deal with that case, this patch
adds a new mIsInProcess flag to continue to act like the old code-path.
In the future, we will need to also handle ensuring that the
nsGlobalWindowOuter lives for long enough, however that is not being
done in this patch in order to land it sooner rather than later.
Depends on D22763
Differential Revision: https://phabricator.services.mozilla.com/D22764
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:54 +00:00
Nika Layzell
1dc7594957
Bug 1529684 - Part 3: Create BrowsingContext for remote iframes in embedder, r=farre
...
Depends on D21096
Differential Revision: https://phabricator.services.mozilla.com/D21097
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:47 +00:00
Nika Layzell
eaf6c2306e
Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
...
Depends on D21095
Differential Revision: https://phabricator.services.mozilla.com/D21096
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:45 +00:00
Nika Layzell
6a04609cc9
Bug 1529684 - Part 1: Allow Attaching BrowsingContext from parent to child, r=farre
...
This is important to allow creating BrowsingContexts outside of the process
where they are going to be used. This is largely a re-arrangement of existing
code.
There is currently no way to do this type of attaching for browsing contexts in
existing BrowsingContextGroups, which creates some limitations, but happens to
be sufficient for us in the current situation.
Differential Revision: https://phabricator.services.mozilla.com/D21095
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:38 +00:00
Christoph Kerschbaumer
fd9b8db6bf
Bug 1535291: Actually use aContentPolicyType argument within nsWebBrowserPersist::SaveURIInternal r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D23484
--HG--
extra : moz-landing-system : lando
2019-03-14 18:42:47 +00:00
Eden Chuang
3cce0a0fc6
Bug 1472307 - Implement delay update mechanism in ServiceWorkerRegistrationProxy. r=asuth
...
1. Add a new private member class DelayedUpdateCallback in
ServiceWorkerRegistrationProxy for handling the deley time up.
2. Modify the lambda function in ServiceWorkerRegistrationProxy::Update(). Get
the update delay time at first. If the delay time does not equal zero. create
a timer and a timer callback(DelayedUpdateCallback) to perform the delay
update. Otherwise execute update directly.
Differential Revision: https://phabricator.services.mozilla.com/D17358
--HG--
extra : moz-landing-system : lando
2019-03-14 10:19:13 +00:00