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

14587 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 723521145b Bug 1418558 part 1. Add MOZ_CAN_RUN_SCRIPT annotations to most Element methods that call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: LWI1p75EyxB
2017-12-05 11:18:16 -05:00
Noemi Erli 47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
shindli 2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Ben Kelly 2982dea3de Bug 1422983 Cycle collect the ClientSource object when owned by an nsGlobalWindowInner or nsDocShell object. r=mccr8 2017-12-04 22:13:33 -05:00
Adam Gashlin 95018ae790 Bug 1374338 - Search all ranges to avoid filtering r=mats
MozReview-Commit-ID: uu35565lfP

--HG--
extra : rebase_source : e7f885b58f172998533c73fd8dff3d27d58c6dd6
2017-12-01 14:53:20 -08:00
Bogdan Tara ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
Dragana Damjanovic d022b3db46 Bug 1414209 - Truncate as value after each link header. r=smaug 2017-12-04 17:48:56 +01:00
Jessica Jong fbd3a63cba Bug 1409975 - Part 3: Fix event get-the-parent algorithm for a node. r=smaug 2017-12-04 16:06:40 +08:00
Jessica Jong 306e4bafc3 Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08:00
Jessica Jong adc29479a2 Bug 1409975 - Part 1: Implementation for assignedNodes. r=smaug
Set and unset assignedNodes properly when slot is added/removed and when
slotables are added/removed/modfied. Note that assigedNodes with
flatten: true is calculated on demand.
2017-12-04 16:06:34 +08:00
Honza Bambas 8402a72987 Bug 1385298 - Fix test for bug 504224 to actually do something. r=bkelly 2017-12-04 15:24:00 -05:00
Honza Bambas 4eab23cce4 Bug 1411632 - Introduce onload and DOMContentLoaded telemetry for active tab and network optimization. r=valentin, r=francois 2017-12-02 18:13:43 -05:00
Eitan Isaacson a55e238edf Bug 1409731 - Expose input[type=date/time] correctly in a11y. r=surkov, r=jjong 2017-12-02 18:12:14 -05:00
Henri Sivonen 009840a99b Bug 1409951 - Use a stack to end serializer contexts instead of recomputing them. r=smaug
MozReview-Commit-ID: FOd8AUmtYyA
2017-12-01 10:45:25 -05:00
Tooru Fujisawa 37740524e5 Bug 1421582 - Fix dom/base/test/browser_bug902350.js to wait for events in proper order. r=Gijs 2017-12-01 10:05:48 +09:00
Gijs Kruitbosch 7b8023dcab Bug 1420507, r=freddyb,francois
--HG--
extra : rebase_source : f7984ad91b4f8260538fa3cb2cf3e560dfbc2dcc
2017-11-29 17:03:54 +00:00
Gurzau Raul 1c0a590e09 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-01 13:00:44 +02:00
Gurzau Raul 0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00
Emilio Cobos Álvarez 5604b99826 Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.

Far from the final, ideal state, but hey, progress.

MozReview-Commit-ID: 7TrifME9VZ
2017-12-01 08:46:39 +01:00
Tim Taubert 2725932278 Bug 1333140 - Remove WEBCRYPTO_METHOD_SECURE histogram r=keeler 2017-11-30 14:06:28 +01:00
Thomas Nguyen 1cbe6d16c5 Bug 1420702 - Propagate referrer policy when creating window from pinned tab r=ckerschb,smaug
MozReview-Commit-ID: 1kMssKbAm1l

--HG--
extra : rebase_source : 446d4a9fffd1d5b19bca41722db32759b4540a29
2017-11-30 21:42:05 +08:00
Edgar Chen 0c779a0480 Bug 1421170 - Move the declarations of CustomElementUpgradeReaction and CustomElementCallbackReaction to CustomElementRegistry.cpp; r=smaug
The CustomElementUpgradeReaction and CustomElementCallbackReaction are only used inside CustomElementRegistry.cpp,
so we don't need to expose them in header file.

MozReview-Commit-ID: 9lYwHeFIODi

--HG--
extra : rebase_source : 099821b680b171b0c354c34ebd91ba5963536dc1
2017-11-28 14:52:32 +08:00
Narcis Beleuzu 2d0c93c273 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-01 00:47:21 +02:00
Brindusan Cristian 6f5b49da3e Backed out 2 changesets (bug 1420762) for merge conflicts r=merge a=merge
Backed out changeset ba350c82d823 (bug 1420762)
Backed out changeset 00287b88254b (bug 1420762)
2017-12-01 00:20:10 +02:00
Emilio Cobos Álvarez f28656c543 Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.

Far from the final, ideal state, but hey, progress.

MozReview-Commit-ID: 7TrifME9VZ
2017-11-30 15:42:45 +01:00
Andreas Farre 295bd4906a Bug 1421009 - Don't schedule idle callback if window is shutting down. r=bkelly 2017-11-30 05:14:00 -05:00
Cosmin Sabou 5c4663243d Backed out 23 changesets (bug 1419771) for frequently failing service workers related devtools tests, e.g. devtools/client/aboutdebugging/test/browser_service_workers_push.js. r=backout on a CLOSED TREE
Backed out changeset 2242edc902a5 (bug 1419771)
Backed out changeset 9cc3c29a9e36 (bug 1419771)
Backed out changeset c39ee002c825 (bug 1419771)
Backed out changeset caf7428013f2 (bug 1419771)
Backed out changeset c03970363433 (bug 1419771)
Backed out changeset 7f9de012861e (bug 1419771)
Backed out changeset ed146ac42a7f (bug 1419771)
Backed out changeset a8154698f782 (bug 1419771)
Backed out changeset 8a54c1c8d45d (bug 1419771)
Backed out changeset e32cd55b4c96 (bug 1419771)
Backed out changeset b7f342f436ef (bug 1419771)
Backed out changeset 60464b3e468f (bug 1419771)
Backed out changeset 108806f14ad8 (bug 1419771)
Backed out changeset 65998b0740f3 (bug 1419771)
Backed out changeset 0d23880842d8 (bug 1419771)
Backed out changeset 862aeaa2fefd (bug 1419771)
Backed out changeset cbc192478bf5 (bug 1419771)
Backed out changeset c58ef2a91bad (bug 1419771)
Backed out changeset 2b0a4bfd654f (bug 1419771)
Backed out changeset f182eba574f9 (bug 1419771)
Backed out changeset d9999a624097 (bug 1419771)
Backed out changeset 4050a1b8db2b (bug 1419771)
Backed out changeset a1a68e6500d9 (bug 1419771)
2017-11-30 22:35:32 +02:00
Olli Pettay af3373dc1d Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
Olli Pettay a75b955405 Bug 1421607 - Do black marking of bfcache documents during GC, r=mystor
--HG--
extra : rebase_source : 395dddb461c065b780aeead12150c0feff550d5d
2017-11-30 01:24:46 +02:00
Bogdan Tara df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Kate McKinley f9f14d6f64 Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
Per https://github.com/w3c/webappsec-secure-contexts/issues/42, the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-11-29 10:40:00 -05:00
Edgar Chen 3a109e4f15 Bug 1416999 - Remove the custom elements prototype and document order stored in CustomElementDefinition; r=smaug
They are used for old spec, and we don't need them after removing document.registerElement

MozReview-Commit-ID: EqzB1PJJtrg

--HG--
extra : rebase_source : 5eaa1343bc749d172eb782e063d74099f856f9da
2017-11-29 10:51:54 +08:00
Edgar Chen 9f4324f41e Bug 1416999 - Remove document.registerElement; r=smaug
MozReview-Commit-ID: HiX07Vbljhk

--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Dorel Luca 79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Masayuki Nakano 1bb0ec153d Bug 1419745 - part 1: Make EditorDOMPointBase not a sub class of RangeBoundaryBase and duplicate methods of RangeBoundaryBase into EditorDOMPointBase r=m_kato
EditorDOMPointBase should store child at offset for editor uses.  E.g., when
editor wants to refer a node as child node of an EditorDOMPoint instance,
even if the node is unexpectedly moved to different container, editor wants
to keep referring the child node rather than its previous sibling.

Therefore this patch makes EditorDOMPointBase not a sub class of
RangeBoundaryBase but copying all methods and members of RangeBoundaryBase
into EditorDOMPointBase for keeping current behavior completely.

MozReview-Commit-ID: LIyPFkCfsZ9

--HG--
extra : rebase_source : fd76c4808625f8f8a86f7b4e4c1ac22fbdc11dd5
2017-11-23 00:15:29 +09:00
Tiberius Oros 18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Andreas Farre 3dae0daf36 Bug 1415770 - Simplify handling of IdleRequest list. r=smaug, r=baku 2017-11-28 14:23:46 -05:00
Boris Zbarsky 14eb0311b4 Bug 1417405 - Make sure to hold a strong ref on the stack to arguments passed to IsPotentiallyScrollable. r=smaug
--HG--
extra : rebase_source : abbd4b46d6c813b14aa767b1aab7b20567792a6b
2017-11-17 01:10:01 -05:00
Andrea Marchesini 6f8ea5140c Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 23 - DOMPreferences initialized at startup, r=asuth 2017-11-30 18:16:47 +01:00
Andrea Marchesini 7560ffd56e Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 21 - DevTools enabled, r=asuth 2017-11-30 18:16:47 +01:00
Andrea Marchesini ec279a6bc2 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 20 - Resist finger-printing enabled, r=asuth 2017-11-30 18:16:47 +01:00
Andrea Marchesini ff3102232c Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 19 - FetchObserver API enabled, r=asuth 2017-11-30 18:16:46 +01:00
Andrea Marchesini 87b88ecf23 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 18 - Network Information enabled, r=asuth 2017-11-30 18:16:46 +01:00
Andrea Marchesini 278c4a3bc7 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 17 - Webkit/Blink directory picker enabled, r=asuth 2017-11-30 18:16:46 +01:00
Andrea Marchesini 68264e1209 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 16 - Offscreen Canvas enabled, r=asuth 2017-11-30 18:16:46 +01:00
Andrea Marchesini 4f8c375ea7 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 15 - Request Context enabled, r=asuth 2017-11-30 18:16:46 +01:00
Andrea Marchesini 5c6a04a6d2 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 14 - Streams API enabled, r=asuth 2017-11-30 18:16:46 +01:00
Andrea Marchesini dd319f861b Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 13 - Push enabled, r=asuth 2017-11-30 18:16:45 +01:00
Andrea Marchesini 02c4d1fc9d Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 12 - Promise Rejection Event enabled, r=asuth 2017-11-30 18:16:45 +01:00
Andrea Marchesini cd7b81714c Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 11 - StorageManager enabled, r=asuth 2017-11-30 18:16:45 +01:00