Commit Graph

13251 Commits

Author SHA1 Message Date
Wes Kocher
7f420b59d4 Merge autoland to central, a=merge
MozReview-Commit-ID: C4bl6Ufaiwv
2017-06-21 16:54:41 -07:00
Michael Layzell
f6a1ba145d Bug 1343728 - Part 3: Add StableStateEventTarget, an event target which runs dispatched runnables at the next stable state, r=smaug
MozReview-Commit-ID: 8dlo5Z60qsG
2017-06-21 14:23:13 -04:00
Tobias Schneider
73616729d7 Bug 1363650 - (intersection-observer) Use content area as the intersection rectangle for custom root with overflow clip. r=mattwoodrow
--HG--
extra : rebase_source : f5f559903d704159a062d99fa43360a6222a3ee7
2017-06-21 10:40:44 -07:00
Nathan Froyd
27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Wes Kocher
d0eddcaa44 Merge m-c to autoland a=merge
MozReview-Commit-ID: 5D2HzsGopzc
2017-06-21 18:13:41 -07:00
Sebastian Hengst
17c1285d32 Backed out changeset 733c828d5ba3 (bug 1355746) for frequently failing mochitest dom/html/test/test_fullscreen-api.html and devtools' browser_service_workers_multi_content_process.js, both on Linux. r=backout a=backout
MozReview-Commit-ID: 7VDiCD8uwOy
2017-06-21 19:51:13 +02:00
Sebastian Hengst
b2f7adcc7d Backed out changeset 38722eed8c8a (bug 1355746)
MozReview-Commit-ID: 1HcpK10x0V4
2017-06-21 19:49:04 +02:00
Wes Kocher
c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Masayuki Nakano
9f1aec970a Bug 1374207 - part4: Element classes should use TextEditor class instead of nIEditor r=smaug
Unfortunately, nsGenericHTMLElement::GetAssociatedEditor() cannot use concrete classes because it may return nsIEditor which is set via nsIDocShell.editor.  The editor set to nsIDocShell may be implemented by JS since nsIEditor isn't marked as builtinclass.

MozReview-Commit-ID: 6GY9LOYp4hM

--HG--
extra : rebase_source : 3e0464067b30daf8254805458c5358d7ea644be8
2017-06-22 15:21:31 +09:00
Masayuki Nakano
7ad4ad3aab Bug 1374207 - part1: nsTextEditorState should use mozilla::TextEditor instead of editor interfaces r=smaug
Using concrete class rather than interface classes (nsI*Editor) will allow to reduce QI and some virtual calls.  Therefore, Editor classes should be used as concrete class as far as possible.

Unfortunately, if classes referring editor are initialized via scriptable interface, we cannot do this because nsI*Editor is still not marked as builtinclass.  Therefore, their editor may be implemented by JS.  E.g., inline nsIInlineSpellChecker.init() and nsIDocShell.editor.  Such remaining cases should be fixed after nsI*Editor classes are marked as builtinclass.

Note that this patch also creates nsIdentifierMapEntry.h which is separated from nsDocument.h because ShadowRoot.h needs the class but exposing nsDocument.h to the global and includes it causes bustage on Linux and Android.  Therefore, for fixing the include hell, this patch touches them and ContentChild.cpp.

MozReview-Commit-ID: i6fLWw6Qeo

--HG--
rename : dom/base/nsDocument.h => dom/base/nsIdentifierMapEntry.h
extra : rebase_source : c57bdfc1c13775acdcfd4732d8157d04d6b6613f
2017-06-20 22:57:08 +09:00
Carsten "Tomcat" Book
07fab37fd8 Backed out changeset 352c30687dea (bug 1344917) 2017-06-21 14:59:32 +02:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Chris Peterson
4ef47bc0c7 Bug 1373525 - dom/indexedDB: Remove unused classes and member functions. r=bevis
The UpgradeSchemaFrom17_0To18_0Helper class is never instantiated, so its constructor and destructor don't need to be define.

dom/base/nsContentUtils.cpp:529:21 [-Wunused-member-function] unused member function 'GetResult'
dom/indexedDB/ActorsParent.cpp:2715:3 [-Wunused-member-function] unused member function 'UpgradeSchemaFrom17_0To18_0Helper'
dom/indexedDB/ActorsParent.cpp:2720:3 [-Wunused-member-function] unused member function '~UpgradeSchemaFrom17_0To18_0Helper'
dom/indexedDB/ActorsParent.cpp:6464:3 [-Wunused-member-function] unused member function 'GetPrincipalInfo'
dom/indexedDB/ActorsParent.cpp:6545:3 [-Wunused-member-function] unused member function 'ReleaseTransactionThreadObjects'
dom/indexedDB/ActorsParent.cpp:6548:3 [-Wunused-member-function] unused member function 'ReleaseBackgroundThreadObjects'
dom/indexedDB/ActorsParent.cpp:7710:3 [-Wunused-member-function] unused member function 'operator<'
dom/indexedDB/ActorsParent.cpp:7753:3 [-Wunused-member-function] unused member function 'IsOtherProcessActor'
dom/quota/ActorsParent.cpp:809:3 [-Wunused-member-function] unused member function 'GetState'
dom/quota/StorageManager.cpp:76:3 [-Wunused-member-function] unused member function 'GetType'

MozReview-Commit-ID: FbfMj2YJ4Fx

--HG--
extra : source : a38727295681d5368ed05a1b2758599f4debc424
extra : intermediate-source : 2010739762c276b15d8431d2df4725fb8281d549
extra : histedit_source : e9e4eb1c7d7813c6dda7ded023de4bd6e7b4b52a
2017-06-15 00:59:17 -07:00
Jonathan Watt
6d8696d0eb Bug 1344917, part 1 - Add a '-moz-windows-accent-color-applies' media query. r=heycam
The '-moz-windows-accent-color-applies' media query matches when the Windows 10
accent color should be used as the background of the title bar.

MozReview-Commit-ID: GM7nZij6MhQ
2017-06-08 14:49:21 +01:00
Wes Kocher
bb24138b9d Merge m-c to inbound, a=merge
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Wes Kocher
b9d43d4afd Backed out 4 changesets (bug 1343728) for failures in test_group_mouseevents.html a=backout
Backed out changeset 2029cb6bce86 (bug 1343728)
Backed out changeset 0169e09f6030 (bug 1343728)
Backed out changeset 831e95b29f66 (bug 1343728)
Backed out changeset d5630ef01b17 (bug 1343728)

MozReview-Commit-ID: 2RRBTmp5FGj
2017-06-21 17:13:49 -07:00
Wes Kocher
6d5026cd11 Backed out changeset 19fbc34f239c (bug 1374629)
MozReview-Commit-ID: KPYcFSnOpU8
2017-06-21 15:50:52 -07:00
Masatoshi Kimura
7faf369167 Bug 1374629 - Add mozilla::NotNull to mozilla::Encoding constant declarations. r=froydnj,hsivonen
MozReview-Commit-ID: s1sYrq6tqm

--HG--
extra : rebase_source : 5803e385fcc5deb0f74304b304979227e374d07e
2017-06-20 22:04:18 +09:00
Xidorn Quan
e747170dc5 Bug 1367306 part 1 - Add an attribute in nsIDOMWindowUtils to check whether the document is styled by stylo. r=bholley
MozReview-Commit-ID: 6ed78DkzmT8

--HG--
extra : rebase_source : 52171f9e97a4472f6c2bed773aac16acb7289052
2017-06-21 15:24:55 +10:00
Masatoshi Kimura
bdc7c83579 Bug 1374629 - Add mozilla::NotNull to mozilla::Encoding constant declarations. r=froydnj,hsivonen
MozReview-Commit-ID: s1sYrq6tqm

--HG--
extra : rebase_source : 0ffeab4554408fc6e28bd18478121aad73439a30
2017-06-20 22:04:18 +09:00
Kirk Steuber
e967f9a6c1 Bug 1375189 - Don't use aNodesWithProperties in nsNodeUtils::CloneAndAdopt if it is not needed r=bz
MozReview-Commit-ID: 9vu3HCQkDKf

--HG--
extra : rebase_source : eb6231c88732133ee6d90e621a5833b9be1e81ce
2017-06-21 11:55:04 -07:00
Blake Kaplan
4aafd09754 Bug 981796 - Make tests that use showModalDialog pass. r=smaug
Annoyingly, setting the pref doesn't magically make the function appear on the
current window, so we create an iframe and retrieve it from there.

MozReview-Commit-ID: 9fOr4YJOzXh

--HG--
extra : rebase_source : d23643b388538955cc831a3b6e1473232ab5498a
2017-06-16 12:41:01 -07:00
Blake Kaplan
9904c18859 Bug 981796 - Don't assume that the active global is our global. r=smaug
Without this, grabbing another window's showModalDialog function and calling
it with this being a second window asserts.

MozReview-Commit-ID: GvGUClFwdoN

--HG--
extra : rebase_source : f7bb2afd898db0affaf455401b6ddeec8ba7e917
2017-06-16 11:42:23 -07:00
Ehsan Akhgari
e3eba5af6a Bug 1373857 - Part 4: Optimize the selectionchange async event dispatcher to use direct WidgetEvent dispatch; r=smaug 2017-06-20 13:59:52 -04:00
Ehsan Akhgari
4eac977034 Bug 1373857 - Part 3: Optimize the PostHandleEvent() events that we dispatch for checkboxes and radiocontrols when they get toggled in order to make it use direct WidgetEvent dispatch; r=smaug 2017-06-20 13:59:52 -04:00
Ehsan Akhgari
9d4ea70f49 Bug 1373857 - Part 1: Add some nsContentUtils helpers for dispatching WidgetEvents directly; r=smaug 2017-06-20 13:59:52 -04:00
Tobias Schneider
89a9be7185 Bug 1369253 - Gather more information when test fails. r=jmaher 2017-06-20 09:04:25 -07:00
Sebastian Hengst
f38c7cdfa2 Backed out changeset 10676fd9e6ad (bug 1373536) for failing asan-fuzzing at dom/base/TimeoutHandler.h:26 with unknown type name 'NS_DECL_CYCLE_COLLECTION_CLASS' and more. r=backout 2017-06-20 17:47:54 +02:00
Sebastian Hengst
d569b67fe6 Backed out changeset 5bde0b2dd768 (bug 1373536) 2017-06-20 17:46:22 +02:00
Sebastian Hengst
9e2c8a5ab0 Backed out changeset d377000dbcc9 (bug 1373536) 2017-06-20 17:46:18 +02:00
Andreas Farre
7525173e5b Bug 1373536 - Clean up static API of TimeoutBudgetManager. r=smaug 2017-06-20 00:40:00 +02:00
Andreas Farre
3739a32604 Bug 1373536 - Move TimeoutBudgetManager to its own file. r=bkelly 2017-06-19 01:18:00 +02:00
Andreas Farre
094c0d5ecd Bug 1373536 - Unify execution measurements. r=bkelly
Expose the utility framework for computing runnable execution time for
telemetry to be able to use it for managing budget times.
2017-06-16 07:40:00 +02:00
Carsten "Tomcat" Book
ab7636d45d Backed out changeset 62999c1db7ee (bug 1236512) 2017-06-20 14:30:36 +02:00
Edgar Chen
7a94f225de Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.

MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Nicolas B. Pierron
c64732dcc7 Bug 1362114 - JSBC: Add telemetry to later tune the heuristics. r=mrbkap,francois 2017-06-20 09:53:10 +00:00
Carsten "Tomcat" Book
de892834ed Merge mozilla-central to mozilla-inbound 2017-06-20 11:31:34 +02:00
Carsten "Tomcat" Book
013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Hiroyuki Ikezoe
ade75cf304 Bug 1356141 - Don't traverse any elements that needed only for animation-only restyles in normal traversal. r=heycam
Before this patch, we were setting the dirty descendants bit in animation-only
restyles and it triggered unnecessary traversal for elements that does not need
the traversal (i.e no need selector matching).

MozReview-Commit-ID: 6pmF3ojVzgb

--HG--
extra : rebase_source : 5d83b203d4f5121c648be903165a0e9c77ca4a0c
2017-06-20 06:30:48 +09:00
Ehsan Akhgari
b306e0842e Bug 1373677 - Remove support for the moz-extremely-unstable-and-will-change-webcomponents permission; r=wchen 2017-06-19 22:12:24 -04:00
Wes Kocher
17a16ffd2f Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gf5xDaCWnPi
2017-06-19 17:34:36 -07:00
Wes Kocher
57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Sebastian Hengst
c153d4ba27 Backed out changeset a4230d2eab5f (bug 1362330) for failing asan-fuzzing (Bof) job, undeclared identifier TaskCategory at nsContentPolicy.cpp:142. r=backout 2017-06-19 17:43:39 +02:00
Sebastian Hengst
e027b845e7 Backed out changeset 6660b55684d3 (bug 1362330) 2017-06-19 17:42:25 +02:00
Ben Kelly
57c553c1a1 Bug 1372933 Relax time checks in browser_timeout_throttling_with_audio_playback.js back to previous levels. r=ehsan 2017-06-19 08:19:33 -07:00
Boris Zbarsky
633b9f4d31 Bug 1373798 part 3. Rewrite our existing checks for the state of the "dir" attr on top of the new event state flags. r=mystor
MozReview-Commit-ID: LpCYABK5ZRN
2017-06-19 23:24:59 -04:00
Boris Zbarsky
8afc692082 Bug 1373798 part 2. Introduce event state flags that track the state of an element's "dir" attribute. r=mystor
MozReview-Commit-ID: EDCV2fUWGmX
2017-06-19 23:24:59 -04:00
Wes Kocher
976d5437f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6A96Fe0GPjw
2017-06-19 17:37:53 -07:00
Masayuki Nakano
f337b95b60 Bug 1372829 - part2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr r=froydnj,m_kato
mozilla::EditorBase stores nsISelectionController and nsIDocument with nsWeakPtr.  However, nsWeakPtr requires QI to retrieve actual pointer and it makes some damage to the performance.  If mozilla::WeakPter were available for them, it'd be great.  However, it's not available with nsISelectionController nor nsIDocument because it's possible to implement SupportsWeakPtr only with their subclasses but the subclasses shouldn't be referred by editor.  Therefore, this patch creates mozilla::CachedWeakPtr<class T> which stores both raw pointer (as cache) and nsWeakPtr and when its cache is requested, it checks if the object referred by nsWeakPtr is still alive.

Additionally, this patch hides the members from subclasses of EditorBase for reducing the maintenance cost.

MozReview-Commit-ID: FvtM7453Vv8

--HG--
extra : rebase_source : a524a8ea327c3993645fafa81db8aef65090f1e0
2017-06-20 00:55:00 +09:00
Wes Kocher
3923267017 Backed out 4 changesets (bug 981796) for android failures in test_bug414291.html a=backout
Backed out changeset fe6569eae4ef (bug 981796)
Backed out changeset eca1651af3d3 (bug 981796)
Backed out changeset 5a1e684a1494 (bug 981796)
Backed out changeset 7f91ff196c93 (bug 981796)

MozReview-Commit-ID: COSf2kvo6c7
2017-06-19 16:41:55 -07:00
Wes Kocher
84816f4647 Backed out 5 changesets (bug 1373798) for browser_parseable_css.js failures a=backout CLOSED TREE
Backed out changeset ef2e6aa3ae88 (bug 1373798)
Backed out changeset 0970ac62b245 (bug 1373798)
Backed out changeset dc19b4db7e51 (bug 1373798)
Backed out changeset a5dd7744170e (bug 1373798)
Backed out changeset 2c8752c4b6fb (bug 1373798)

MozReview-Commit-ID: J1WkPvRqELs
2017-06-19 15:56:47 -07:00
Beekill95
288143cdad Bug 1362330 - Add testcases for C++ XPathGenerator's functions. r=smaug, r=mikedeboer
MozReview-Commit-ID: 5xSZOnrHceR
2017-06-12 14:18:55 +07:00
Beekill95
02915ae8bc Bug 1362330 - Move XPath generation to Node's interface and move all remaining XPathGenerator.jsm functions to FormData. r=smaug, r=mikedeboer
MozReview-Commit-ID: Ej45wPeddtQ
2017-06-15 08:49:17 +07:00
Carsten "Tomcat" Book
b6627b974a Merge mozilla-central to mozilla-inbound 2017-06-19 14:48:12 +02:00
Carsten "Tomcat" Book
d14a5a593a merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Christoph Kerschbaumer
829704554e Bug 1370788 - Move XFO out of nsDSURIContentListener.cpp into dom/security. r=smaug 2017-06-19 06:59:44 +02:00
Mats Palmgren
8924a195df Bug 1373999 part 3 - Create dom/base/SelectionChangeListener.cpp and move mozilla::dom::SelectionChangeListener code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: E8kiDtyWVdQ

--HG--
rename : dom/base/Selection.cpp => dom/base/SelectionChangeListener.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren
18cc369911 Bug 1373999 part 2 - Create layout/generic/nsFrameSelection.cpp and move nsFrameSelection code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: 2uTrJ9SO63s

--HG--
rename : dom/base/Selection.cpp => layout/generic/nsFrameSelection.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren
d582beef4f Bug 1373999 part 1 - Move layout/generic/nsSelection.cpp verbatim to dom/base/Selection.cpp, and layout/generic/Selection*.h to dom/base/. Also export a few table header files that it needs. r=smaug
MozReview-Commit-ID: 9YUmEOIHUdc

--HG--
rename : layout/generic/nsSelection.cpp => dom/base/Selection.cpp
rename : layout/generic/Selection.h => dom/base/Selection.h
rename : layout/generic/SelectionChangeListener.h => dom/base/SelectionChangeListener.h
2017-06-19 00:07:36 +02:00
Sebastian Hengst
1f7d31312c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 20:50:40 +02:00
Paolo Amadini
585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Mats Palmgren
5b7c81e34b Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Wes Kocher
b0560565d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Wes Kocher
39066d6984 Merge inbound to central, a=merge
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Mats Palmgren
9d353fa50b Bug 966240 - Remove support for <meta http-equiv="msthemecompatible" content="no">. r=dbaron
It appears that neither Chrome, Safari or Edge support this feature,
and it's causing web-compat issues for us, e.g. bug 1373417.

MozReview-Commit-ID: AP5LMgL6QmR
2017-06-16 17:17:22 +02:00
Olli Pettay
19e0e34c6d Bug 1373651 - Ensure we don't report too large GC-during-idle values, r=mccr8
--HG--
extra : rebase_source : 597faa884e613f9580c9ae3283f6e54cb02dd46b
2017-06-16 17:45:15 +03:00
Mats Palmgren
41a0eaaaa9 Bug 1372009 - Use aCommandsHandled.EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 4ukgy6mBsKq
2017-06-17 00:06:04 +02:00
Mats Palmgren
4264d9480f Bug 1371925 - Remove unnecessary hashtable lookups in DOMIntersectionObserver. r=froydnj
MozReview-Commit-ID: LUt03nCz3SD
2017-06-17 00:06:04 +02:00
Sebastian Hengst
efd723cdad merge mozilla-central to autoland. r=merge 2017-06-18 00:21:41 +02:00
Masatoshi Kimura
838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Masatoshi Kimura
9865b2fdeb Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
MozReview-Commit-ID: E0w8BsP1Rof

--HG--
extra : rebase_source : db95e1e7fc60c9b9c8e6d7fcc5329421ec97e811
2017-06-16 21:11:03 +09:00
Xidorn Quan
88857216a9 Bug 1359217 part 1 - Make document nsIDocumentObserver::StyleRule* methods include the rule as parameter. r=bz
MozReview-Commit-ID: H8FgiwCv0Gr

--HG--
extra : source : 64481d27547196d9e3794eeea562492af67d900f
2017-06-19 15:45:43 +10:00
Tim Huang
7d1c0f2d14 Bug 1369303 - Part 2: Marking the performance timing API always reports 0 and the access of resource timing and user timing becomes NOP when 'privacy.resistFingerprinting' is true. r=arthuredelstein,baku
This patch is going to neutralize the threat of fingerprinting of performance API
by spoofing the value of performance timing into 0, making getEntries* functions
always returns an empty list and making mark() and measure() into NOP methods.

In addition, this patch changes nsContentUtils::ShouldResistFingerprinting() to
allow it can be called in both main thread and worker threads.

MozReview-Commit-ID: C8Jt7KEMe5e

--HG--
extra : rebase_source : 85cbf66881c868ca5109022ffd4af81e3ab0a049
2017-06-15 16:48:27 +08:00
John Dai
005cba50ea Bug 556743 - Implement the labels attribute. r=smaug 2017-06-15 20:04:00 -04:00
Sebastian Hengst
265affc002 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5wTyHWufcCh
2017-06-16 09:50:00 +02:00
Bill McCloskey
1158c7c282 Bug 1372733 - EventTargetFor should return an nsISerialEventTarget (r=bkelly)
MozReview-Commit-ID: Kchg4kqBERt
2017-06-15 20:16:25 -07:00
Yoshi Huang
6c761bcc02 Bug 1368897 - rewrite dom/base/test/test_x-frame-options.html. r=smaug
We test the expected behavior base on the pref,
"security.data_uri.unique_opaque_origin".

We run the legacy test when the pref is off, however if the pref is on,
we run the new behavior, loading an iframe with X-FRAME-OPTIONS in a
data: URI should be blocked.
2017-06-16 10:54:10 +08:00
Yoshi Huang
68f70ea183 Bug 1368896 - rewrite dom/base/test/test_viewport_scroll.html. r=smaug 2017-06-16 10:53:04 +08:00
Yoshi Huang
8ddf2451de Bug 1267075 - Part 6: test state pseudo class for image blocking. r=bz
Verify when image is blocked, the style of the following state pseudo class will
apply:
:-moz-suppressed
:-moz-broken
:-moz-user-disabled
2017-06-16 10:12:10 +08:00
Yoshi Huang
0bb598eed9 Bug 1267075 - Part 5: test for blocking image. r=bz
A mochitest browser test for image blocking.
We query the blocking status by reading imageBlockingStatus.

See nsImageLoadingContent.cpp for the logic of blocking image.
In this test we verified the following behavior:
1. image is loaded.
2. image is blocked.
3. mCurrentRequest doesn't have size yet, so it should be replaced.
4. mCurrentRequest already got size, the following request should be a
pendingRequest.
2017-06-16 10:12:10 +08:00
Yoshi Huang
8af20dccc4 Bug 1267075 - Part 4: add a boolean to prevent calling asynchronously. r=bz
Use a boolean to prevent calling SetBlockedRequest asynchronously.
Also use the same boolean to prevent some evil code reenters LoadImage.

Then we should redesign the correct bahavior in those follow-up bugs,
Bug 1353685 - Should ServiceWorker call SetBlockedRequest
Bug 1353683 - consider calling SetBlockedRequest in nsCORSListenerProxy::UpdateChannel
Bug 1371237 - consider calling SetBlockedRequest in nsContentSecurityManager::CheckChannel
2017-06-16 10:12:09 +08:00
Yoshi Huang
83ef929df9 Bug 1267075 - Part 2: bail out early if it's for data document. r=bz
Check the document earlier before calling into imageLoader, this could
save us tons of time if in the end the document isn't allowed to load images.
2017-06-16 10:12:09 +08:00
Yoshi Huang
5dcdd16255 Bug 1267075 - Part 1: call SetBlockedRequest when CSP check failed. r=bz
As a follow-up from bug 1206961, we will remove calling CanLoadImage in
this bug. Also in the case of CSP check failed, we will call
SetBlockedRequest in those cases.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1267075#c30 for the
analysis between the old and new setup.
2017-06-16 10:12:08 +08:00
Ben Kelly
4deac3f186 Bug 1371787 P8 Change Timeout::mInterval member to a TimeDuration. r=ehsan 2017-06-15 17:30:48 -07:00
Ben Kelly
310e665654 Bug 1371787 P7 Make CalculateDelay() return a TimeDuration. r=ehsan 2017-06-15 17:30:48 -07:00
Ben Kelly
36211ea11b Bug 1371787 P6 Move the std::max() calculation into DOMMinTimeoutValue() and rename the method to CalculateDelay(). r=ehsan 2017-06-15 17:30:47 -07:00
Ben Kelly
a0d3a469e4 Bug 1371787 P5 Move the Timeout conditional checking into DOMMinTimeoutValue(). r=ehsan 2017-06-15 17:30:47 -07:00
Ben Kelly
a720c757a3 Bug 1371787 P4 Pass Timeout to DOMMinTimeoutValue(). r=ehsan 2017-06-15 17:30:47 -07:00
Ben Kelly
9e7089aee3 Bug 1371787 P3 Move some Timeout initialization earlier. r=ehsan 2017-06-15 17:30:47 -07:00
Ben Kelly
36f2e5562d Bug 1371787 P2 Don't adjust Timeout::When() values in TimeoutManager::Resume(). r=ehsan 2017-06-15 17:30:47 -07:00
Ben Kelly
f4263c76a4 Bug 1371787 P1 Rename TimeoutManager "min timeout" values to "min clamp timeout" for clarity. r=ehsan 2017-06-15 17:30:47 -07:00
domfarolino@gmail.com
d4253766db Bug 1274663 - Expose API to trigger device reset. r=dvander
--HG--
extra : rebase_source : 5a9d2757f8e7378083ce42131d5a250027569814
2017-06-15 14:34:00 -04:00
Wes Kocher
c0147ff641 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gpr1rVG4pMo
2017-06-15 16:26:40 -07:00
Wes Kocher
208ec84119 Merge inbound to central, a=merge
MozReview-Commit-ID: AiSwcmvIrE
2017-06-15 16:22:40 -07:00
Ryan Hunt
fd8c1c280d Bug 1373285 - Remove keyboard apz telemetry probes. r=smaug
These are no longer needed as we have the data we were looking for.

MozReview-Commit-ID: 3WlPng3mAwt

--HG--
extra : rebase_source : 73a390f85f5c0894d53a5e8ee10b19278af58282
extra : amend_source : 6a2b9ff4191715d0ac6e43f92af1e64c59123ac6
2017-06-15 13:55:26 -05:00
Sebastian Hengst
9b6197930c merge mozilla-central to autoland. r=merge a=merge 2017-06-15 20:13:40 +02:00
Olli Pettay
0bb08227bb Bug 1372042 - Add telemetry about running collectors during idle time, r=mccr8 2017-06-14 23:41:22 +03:00
Mats Palmgren
893dffd030 Bug 1372262 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 5LmOqXRgo25
2017-06-14 16:11:21 +02:00
Mats Palmgren
2c6dbe5497 Bug 1372259 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 5wTxn8HESyn
2017-06-14 16:11:21 +02:00
Mats Palmgren
287ff411c2 Bug 1372050 - Use LookupForAdd instead of Get+Put to avoid an unnecessary hashtable lookup. r=froydnj
MozReview-Commit-ID: FpPkNEuP5FR
2017-06-14 16:11:21 +02:00
Mats Palmgren
7edf472a8d Bug 1372048 - Use LookupForAdd instead of Contains+Get/Put to avoid an unnecessary hashtable lookup. r=froydnj
MozReview-Commit-ID: Anh9DdOjNc1
2017-06-14 16:11:21 +02:00
Carsten "Tomcat" Book
5e8c1546ec merge mozilla-inbound to mozilla-central a=merge 2017-06-14 14:45:26 +02:00
Kris Maglione
7bb88fc9de Bug 1371246: Handle serializing Blobs in StructuredCloneHolder instances. r=billm
MozReview-Commit-ID: 2n15NCnLC48

--HG--
extra : rebase_source : b9769b5b79d6d9dd6277a783963d83a0e0ab88eb
extra : amend_source : ac9167122891a374b4fd7219feaa7d7afbf6f5f0
2017-06-12 14:42:49 -07:00
Ben Kelly
4eb739057c Bug 1371664 P5 Fix browser_timeout_throttling_with_audio_playback.js not to expect clamping in background windows using audio. r=ehsan 2017-06-13 18:08:28 -07:00
Ben Kelly
a3c8156b38 Bug 1371664 P4 Remove old TimeoutManager code that adjusted Timeout::When() while in background. r=ehsan 2017-06-13 18:08:28 -07:00
Ben Kelly
2771b377cb Bug 1371664 P3 Pass a minimum delay to TimeoutExecutor::MaybeSchedule() based on TimeoutManager::IsBackground(). r=ehsan 2017-06-13 18:08:27 -07:00
Ben Kelly
d959a50dfa Bug 1371664 P2 Make nsGlobalWindow::SetIsBackground() call new TimeoutManager::UpdateBackgroundState(). r=ehsan 2017-06-13 18:08:27 -07:00
Ben Kelly
3ea8a7a387 Bug 1371664 P1 Add a minimum delay argument to TimeoutExecutor::MaybeSchedule(). r=ehsan 2017-06-13 18:08:27 -07:00
Mats Palmgren
a9090b986a Bug 1372008 - Use mPreloadedPreconnects.LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 6TwXdVhYQYE
2017-06-14 01:54:26 +02:00
Mats Palmgren
fb94159369 Bug 1372007 - Replace calls to Contains+Put with LookupForAdd and Contains+Get+Put with LookupRemoveIf to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 5Y1rVCglpzu
2017-06-14 01:54:26 +02:00
Mats Palmgren
24a9e3129b Bug 1371095 - Avoid doing unnecessary hashtable lookups in ImageTracker::Add/Remove. r=froydnj
MozReview-Commit-ID: AUpTHGH3JQV
2017-06-14 01:03:38 +02:00
Joanmarie Diggs
c306e05c88 Bug 1343537 - Implement ARIA DPUB extension. r=surkov
--HG--
extra : rebase_source : 38af7ac790cb60d952b1dc2885f50fc9c15cdea6
2017-06-13 15:06:08 -04:00
Peter Van der Beken
3455c5b415 Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
--HG--
extra : rebase_source : 78b770df8863b8165639c4a7a0eaabd5463c1090
2017-06-08 21:04:02 +02:00
Cameron McCormack
ea96847844 Bug 1373155 - Disable Web Components in Servo-styled documents. r=wchen
MozReview-Commit-ID: 5IBBN2Gfazs

--HG--
extra : rebase_source : 832174c4b30627b77d247a762c0a525b3afb7885
2017-06-15 19:39:58 +08:00
Henri Sivonen
2f2bb984f8 Bug 1372994 - Clear up leftover ISO-8859-1 encoding names. r=emk
MozReview-Commit-ID: IBuUPa9H9Q2

--HG--
extra : rebase_source : fb8db0c70caeec179d50b9ecaeb811d1e87eb0dd
2017-06-15 10:35:22 +03:00
Xidorn Quan
589d06fb7f Bug 1372757 - Remove several dependencies to ServoBindings.h. r=heycam
MozReview-Commit-ID: Lruin1acS19

--HG--
extra : rebase_source : 7aeb83df3e1bf21a68d2f3e9048c5bfaa295ccdb
2017-06-14 09:38:16 +10:00
Tobias Schneider
e5f0ccbf64 Bug 1359317 - (intersection-observer) Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect. r=mstange 2017-06-19 13:32:07 -07:00
Ehsan Akhgari
46b7fbd1ec Bug 1374030 - Optimize the loop in nsAttrAndChildArray::IndexOfAttr() a bit; r=bzbarsky 2017-06-19 14:31:03 -04:00
Emilio Cobos Álvarez
f6dc661b5b Bug 1370802: Parse lang attributes as atoms. r=heycam
MozReview-Commit-ID: Cnq3wB7aVB1

--HG--
extra : rebase_source : fa0252b78381bf023ab08bf2d9fd13d4c0ed57a1
2017-06-15 21:48:26 +02:00
Peter Van der Beken
ae390ac4ca Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : ccfc87c460e20027a4ea6b3cc04efe14802dc41e
2017-05-24 11:51:10 +02:00
Blake Kaplan
d8f53f83da Bug 981796 - Make tests that use showModalDialog pass. r=smaug
Annoyingly, setting the pref doesn't magically make the function appear on the
current window, so we create an iframe and retrieve it from there.

MozReview-Commit-ID: 9fOr4YJOzXh

--HG--
extra : rebase_source : d23643b388538955cc831a3b6e1473232ab5498a
2017-06-16 12:41:01 -07:00
Blake Kaplan
a0d7ca97b2 Bug 981796 - Don't assume that the active global is our global. r=smaug
Without this, grabbing another window's showModalDialog function and calling
it with this being a second window asserts.

MozReview-Commit-ID: GvGUClFwdoN

--HG--
extra : rebase_source : f7bb2afd898db0affaf455401b6ddeec8ba7e917
2017-06-16 11:42:23 -07:00
Boris Zbarsky
0abd585823 Bug 1373798 part 3. Rewrite our existing checks for the state of the "dir" attr on top of the new event state flags. r=mystor
MozReview-Commit-ID: LpCYABK5ZRN

--HG--
extra : rebase_source : 2771f8fb377b051b8dc8d93d08a2360817331f21
2017-06-19 14:42:01 -04:00
Boris Zbarsky
54df8acf71 Bug 1373798 part 2. Introduce event state flags that track the state of an element's "dir" attribute. r=mystor
MozReview-Commit-ID: EDCV2fUWGmX

--HG--
extra : rebase_source : b2e588d6aab951eeb46b5b1e9321c82c83e0afa4
2017-06-19 14:41:58 -04:00
Markus Stange
f122f663be Bug 1373761 - Add a PROFILER_LABEL to nsMessageManagerScriptExecutor::LoadScriptInternal. r=billm
MozReview-Commit-ID: A1mU4RdjYw7

--HG--
extra : rebase_source : aeb73de8d30eca1978375f7f362a20afcc536923
2017-06-16 16:34:12 -04:00
Cameron McCormack
fdf5336fc8 Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
MozReview-Commit-ID: 4nCQYU9lzKD

--HG--
extra : rebase_source : 0fa4962efe97f03f311c18692acf99d3913ea347
2017-06-16 17:22:34 +08:00
Cameron McCormack
3f6d354226 Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
MozReview-Commit-ID: IfTLBhhG1Ya

--HG--
extra : rebase_source : aa5c7136f3425def8efa221c7f3e63240ac6ad8e
2017-06-16 17:22:34 +08:00
Sebastian Hengst
c21843350e Backed out changeset e9f7c901e132 (bug 1364361) 2017-06-16 11:18:27 +02:00
Sebastian Hengst
3ed689e8af Backed out changeset 65c77754d49c (bug 1364361) 2017-06-16 11:18:23 +02:00
Cameron McCormack
671a338aa9 Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
MozReview-Commit-ID: 4nCQYU9lzKD

--HG--
extra : rebase_source : e2d33d980af1516daebbdc78022f29480ac426ad
2017-06-16 15:37:08 +08:00
Cameron McCormack
68b572fafa Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
MozReview-Commit-ID: IfTLBhhG1Ya

--HG--
extra : rebase_source : d9b7a4c6e0a7893dc1cd7b3337c32a4fd3bd0bff
2017-06-16 15:37:06 +08:00
Olli Pettay
0b41b8c34d Bug 1373067 - Ensure CC isn't started too often, r=mccr8 2017-06-15 19:44:32 +03:00
Joanmarie Diggs
88ed2a9207 Bug 1358417 - Use ATK_ROLE_DESCRIPTION_TERM for "term" role and "dt" element. r=surkov 2017-06-16 14:02:55 -04:00
Olli Pettay
21bf92b7d1 bug 1373583, initialize sActiveIntersliceGCBudget by default to non-zero value, r=jonco 2017-06-16 19:11:34 +03:00
Bevis Tseng
9a227e8674 Bug 1352401 - Part 1: Define IndexedDB Counters in TabGroup and nsGlobalWindow. r=smaug
MozReview-Commit-ID: 4UCPvNv1paD

--HG--
extra : rebase_source : b492555bd1b8ee4b799c1ffd98b979281d7c47ef
2017-04-18 18:21:34 +08:00
Bevis Tseng
da26e6fa39 Bug 1352401 - Part 1: Define IndexedDB Counters in TabGroup and nsGlobalWindow. r=smaug
MozReview-Commit-ID: 4UCPvNv1paD

--HG--
extra : rebase_source : 234c1b7db74c24923f1fe04c92fb2ee50dd90941
2017-04-18 18:21:34 +08:00
Jonathan Watt
c9118ba223 Bug 1344917, part 1 - Add a '-moz-windows-accent-color-applies' media query. r=heycam
The '-moz-windows-accent-color-applies' media query matches when the Windows 10
accent color should be used as the background of the title bar.

MozReview-Commit-ID: GM7nZij6MhQ

--HG--
extra : rebase_source : ee8089ef876d0887e2c0d063015145d17eefa612
2017-06-08 14:49:21 +01:00
Sebastian Hengst
ab9ae9facf Backed out changeset 39f4723df4a3 (bug 1372061) for build bustage: ChildIterator.h:43:7: field 'mIndexInInserted' will be initialized after field 'mIsFirst'. r=backout 2017-06-30 02:52:55 +02:00
Cameron McCormack
2338c02a85 Bug 1372061 - Shuffle some fields around to avoid bindgen issues. r=emilio
MozReview-Commit-ID: 8PKFowep2b2
2017-06-29 17:32:52 -07:00
Alastor Wu
5ea418e1fe Bug 1347791 - part2 : the tab would always be resumed when it goes to foreground first time. r=baku
Since now we move the block/resume logic to front-end side, we can remove
the changing from bug1319771 and other related bugs which are used to ensure the
pinned tab should be blocked successfully after session restore.

MozReview-Commit-ID: Ixe7tOvCEhv

--HG--
extra : rebase_source : 4214c68b4c95df5c33bf1a68c9ffb84ee4c4d5aa
2017-06-29 04:52:02 -07:00
Jan Keromnes
0dd0be00cb Bug 1376628 - Annotate methods with 'override' where possible in dom/base/ (clang-tidy: modernize-use-override). r=ehsan 2017-06-27 17:23:00 -04:00
Jan Keromnes
7149c5be06 Bug 1376628 - Change loop variable copies to const references where possible in dom/base/ (clang-tidy: performance-for-range-copy). r=ehsan 2017-06-27 17:23:00 -04:00
Jan Keromnes
e6fb1d5091 Bug 1376628 - Don't use 'else' after 'break' or 'return' in dom/base/ (clang-tidy: readability-else-after-return). r=ehsan 2017-06-27 17:23:00 -04:00
Jan Keromnes
13fee0b758 Bug 1376628 - Use nullptr where possible in dom/base/ (clang-tidy: modernize-use-nullptr). r=ehsan 2017-06-27 17:23:00 -04:00
Michael Layzell
2e8a4708cd Bug 1343728 - Part 3: Add StableStateEventTarget, an event target which runs dispatched runnables at the next stable state, r=smaug
MozReview-Commit-ID: 8dlo5Z60qsG
2017-06-28 12:25:29 -04:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Emilio Cobos Álvarez
cbba1b6268 Bug 1371130: Move AllChildrenIterator::AppendNativeAnonymousChildren to nsContentUtils. r=heycam
MozReview-Commit-ID: E5kfdxEWTuf
2017-06-20 14:24:34 +02:00
Henry Chang
a221ac674f Bug 1355746 - Part 2. Polish IdleTaskRunner and reuse it for background parsing. r=smaug
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor.
The only necessary work to that purpose is to remove the dependency of
sShuttingDown, which was a static variable in nsJSEnvironment.cpp.
The idea is to have a "ShouldCancel" as a callback for the consumer to
return sShuttingDown.

In addition to sShuttingDown, we use std::function<bool()> as the runner
main callback type.

MozReview-Commit-ID: FT2X1unSvPS

--HG--
extra : rebase_source : cfd99aba19f014327875683f5ea85d183c8af674
extra : intermediate-source : 99af874c7b1d278057194894d406474b8af07349
extra : source : 792359c898f68241e1373820ea8fd3ba18b09994
2017-06-15 15:51:29 +08:00
Henry Chang
e13aeee5fd Bug 1355746 - Part 1. Rename CollectRunner to IdleTaskRunner and move to xpcom/threads/IdleTaskRunner.h/cpp r=smaug
Nothing is changed in this patch except for renaming and code move around.
The strategy is to have the final file setup in this patch without any
detail change. The actual code change will be in the next patch so that
we can focus on reviewing the diff in the next patch regarding IdleTaskRunner.

MozReview-Commit-ID: 4Bul9mZ7z1n

--HG--
extra : rebase_source : 21d7d601c70304d69100d96cecfdb3e0322cb777
extra : intermediate-source : 366862231c26e085fe749012a09418aa31936224
extra : source : 7b4e77911d1471c33fda0a43b50ed17c5274e795
2017-06-15 14:47:56 +08:00
Carsten "Tomcat" Book
bf5e392d4d Merge mozilla-central to autoland 2017-06-20 11:32:41 +02:00
cku
e3fbcec1af Bug 265894 - Part 9. Selectors should not cross use-element shadow tree boundary. r=heycam
MozReview-Commit-ID: 9xrZ5938FRV

--HG--
extra : rebase_source : 4bf4fc35091db868a2908ad5a8c4589e82fd29f7
2017-06-14 23:06:30 +08:00
cku
67b6f80c35 Bug 265894 - Part 1. Implement NS_IMPL_ELEMENT_CLONE_WITH_INIT_AND_PARSER. r=heycam
Implement this new macro to reuse clone code in SVGSymbolElement in the
following patch.

MozReview-Commit-ID: 4vobWVrcbn2

--HG--
extra : rebase_source : 11e7dd9fd11199689ed5dc2a532c6517cf2e21fe
2017-06-14 19:57:40 +08:00
Tim Huang
b6286c46af Bug 1333651 - Part 2: Spoofing Navigator object when 'privacy.resistFingerprinting' is true. r=arthuredelstein,Ehsan
This patch makes navigator object to return spoofed value for fields have fingerprintable
concerns. This changes the worker navigator as well.

MozReview-Commit-ID: E2SLNZRfuVP

--HG--
extra : rebase_source : 960bafbe41382eba891ad807c37a822ba6a758c8
2017-06-01 14:54:59 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
0bd7a2c931 Bug 1222633 - Add rel=preload - dom part. r=smaug 2017-07-10 15:05:56 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
4a4943b2d5 Bug 1222633 - Add rel=preload - tests. r=smaug 2017-07-10 15:05:48 +02:00
Beekill95
d2643cda87 Bug 1331932 - Suppress window animations while we're restoring window dimension. r=mikedeboer,jimm,mstange
--HG--
extra : rebase_source : 4c1cc1b8beb38f1445db8942d38babfa9fbce526
2017-06-22 14:27:05 +07:00
Stone Shih
e431021d68 Bug 1330632 - Remove DataAvailableRunnable when necko supports dispatching DataAvailable on the target thread. r=baku.
MozReview-Commit-ID: tbY9en2sXR
2017-01-20 09:41:05 +08:00
Olli Pettay
83e12e47e1 Bug 1378218, back out the wrong patch, r=me 2017-07-06 22:41:22 +03:00
Olli Pettay
d01d13d52c Bug 1378218 - Don't register visited callback if we have pending link update, r=ehsan
--HG--
extra : rebase_source : 9d8b72261500d7570ba11d8316fb07320e38e963
2017-07-06 22:34:25 +03:00
Peter Van der Beken
9b9495bf79 Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Michael Layzell
5d8aa01e08 Bug 1367458 - Manage TabGroup::IsBackground passively to avoid Runnable overhead, r=ehsan
MozReview-Commit-ID: 9HVvV1omF8G
2017-06-13 12:49:30 -04:00
Dominic Farolino
6590a708e6 Bug 1368097 - Update standards link. r=smaug
--HG--
extra : rebase_source : d96b3043a1f55d8a61042046e0fe1fd47df8c4b5
2017-05-26 14:02:00 -04:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Carsten "Tomcat" Book
4a5a3d9f30 Backed out changeset 2c51cdd42834 (bug 1252211) for bustage 2017-06-13 12:20:33 +02:00
Carsten "Tomcat" Book
3ef39f1665 Backed out changeset 82c5f20d6ee2 (bug 1252211) 2017-06-13 12:20:16 +02:00
Carsten "Tomcat" Book
dc97c12485 Backed out changeset 629ace67da3b (bug 1252211) 2017-06-13 12:20:14 +02:00
Carsten "Tomcat" Book
bd7620cf36 Merge mozilla-central to mozilla-inbound 2017-06-13 12:11:42 +02:00
Carsten "Tomcat" Book
d67ef71097 merge mozilla-inbound to mozilla-central a=merge 2017-06-13 12:09:48 +02:00
Bill McCloskey
515899bc76 Bug 1371125 - Stop saving JSContext in nsSameProcessAsyncMessageBase (r=mccr8)
MozReview-Commit-ID: 23kFRobyO2W
2017-06-12 20:21:43 -07:00
Bill McCloskey
ab678597e4 Bug 1371116 - Remove nsJSEnvironment::sContext (r=mccr8)
MozReview-Commit-ID: ETtzht971fI
2017-06-12 20:21:43 -07:00
Bill McCloskey
aefa2aa5da Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.

MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Bill McCloskey
5ddda3bb77 Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj)
MozReview-Commit-ID: 12bk9hQ7Wnv
2017-06-12 20:20:08 -07:00
Boris Zbarsky
d7ec8ed805 Bug 1372371. Fix enumerability handling in the window resolve hook. r=qdot 2017-06-12 22:17:03 -04:00
Wes Kocher
f8412cddff Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 4j8ngmg8FAD
2017-06-12 17:02:56 -07:00
Ben Kelly
bd95903746 Bug 1197401 Remove the disabled HTML imports implementation. r=wchen 2017-06-12 07:36:02 -07:00
Andrea Marchesini
7dc6f0aafc Bug 1369913 - Better check of the buffer size in WebSocket, r=smaug 2017-06-12 10:39:51 +02:00
Masatoshi Kimura
cab6038243 Bug 1371010 - Stop percent-encoding href attributes when serializing documents. r=hsivonen
MozReview-Commit-ID: 6nBFtzk0K4T

--HG--
extra : rebase_source : 9a03a1bf79791f45b2c4f0084a0c16f3c2a46c4e
2017-06-09 11:26:52 +09:00
Peter Van der Beken
d34f37d164 Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
--HG--
extra : rebase_source : 246c1dda3db15ed0332af895485853e6e5d1ffa4
extra : intermediate-source : 0312d6ff0792f8d9cb20f2e06cbae59d5bbf690a
extra : source : 7b808c16e93cbd395a9f57bda4a9206e11a6df69
2017-06-08 21:04:02 +02:00
Wes Kocher
101940382d Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Kirk Steuber
0312c4f54a Bug 1370705 - Move attribute change effects from HTMLImageElement::BeforeMaybeChangeAttr to HTMLImageElement::AfterMaybeChangeAttr r=bz
It logically makes more sense for these effects to happen after the attribute has actually been changed and moving them allows us to get rid of the member variable HTMLImageElement::mForceReload.

MozReview-Commit-ID: IJBF3AHVb0U

--HG--
extra : rebase_source : fe3ae2a0cc55ded9702fb7654261ffee83a52057
2017-06-09 09:46:54 -07:00
Kris Maglione
38e062c7fb Bug 1370752: Part 1 - Enter the correct target compartment when creating structured clone holder. r=aswan
MozReview-Commit-ID: AoDsocd3vPu

--HG--
extra : rebase_source : 6399ef08b2ba7bc4f8c2c0f7e7a26022a20e6e5f
extra : histedit_source : 6ff2d875ead72f0237edad8e96465ebf99333c58
2017-06-09 18:15:50 -07:00
Peter Van der Beken
7c1c7552a6 Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : 6788542d65fe446e851eebd4804d7dba428c8c84
extra : source : 599f27e86cb7ba543b4014c91be89c67225064ec
2017-05-24 11:51:10 +02:00
Eric Rahm
a758e6ab82 Bug 1370070 - Avoid unnecessary string creation. r=smaug
MozReview-Commit-ID: LLQQrCpK630
2017-06-09 15:56:35 -07:00
Sebastian Hengst
0457405200 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: C5HD11ptDT0
2017-06-11 10:35:34 +02:00
Cameron McCormack
9c5bdf701f Bug 1323647 - Re-enable crashtest. r=me
MozReview-Commit-ID: GlQdxJJGbCe
2017-06-11 12:27:54 +08:00
Olli Pettay
3d7f2966ec Bug 1371224 - Add markers for forgetSkippable and CC slices, r=mccr8,mstange
--HG--
extra : rebase_source : 34fd3553e7eeba6e72291d145451c8dd786c6834
2017-06-10 03:16:25 +03:00
Olli Pettay
5591c27af9 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, tweaks to keep reftest memory usage lower, r=mccr8
--HG--
extra : rebase_source : 850e4f25ef1ac18b768dc50dc4fa9b77f0743080
2017-06-10 02:41:06 +03:00
Olli Pettay
ce6010c7d6 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
--HG--
extra : rebase_source : 2ee14a0cc890b91f405a5b4741030dbad6989018
2017-06-10 02:38:50 +03:00
Wes Kocher
7462f47787 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LZOwJMXpznP
2017-06-09 15:58:08 -07:00
Wes Kocher
b66d50d0ca Merge autoland to central, a=merge
MozReview-Commit-ID: 1k7iJedKGDR
2017-06-09 15:48:12 -07:00
Ehsan Akhgari
60fa8934e7 Bug 1357656 - Part 1: Expose an nsIDOMWindowUtils method for retrieving the direction of a piece of text based on the first-strong character algorithm; r=mystor 2017-06-09 17:26:14 -04:00
Nicolas B. Pierron
45f5fab197 Bug 1370345 - Create JS bytecode mime type based on the platform BuildID instead of MOZ_BUILDID macro. r=mrbkap 2017-06-09 13:52:52 +00:00
Carsten "Tomcat" Book
d5a13ba05e merge mozilla-inbound to mozilla-central a=merge 2017-06-09 12:58:49 +02:00
Wes Kocher
1be06aea28 Merge m-c to autoland, a=merge
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: ItWcUAUYyaj

--HG--
extra : amend_source : fc43f23f0e12d5f88d72be9526a953d8015e6975
2017-06-08 18:44:32 -07:00
Wes Kocher
39dd8b763b Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: 4of9LS9sA2I

--HG--
extra : amend_source : c399503fa642c04d256ee0ce53b099601259f90a
2017-06-08 18:10:10 -07:00
Wes Kocher
43acd1b6e6 Backed out 2 changesets (bug 1367905) for a spike in Windows reftest failures a=backout
Backed out changeset c5aaa3f7b79e (bug 1367905)
Backed out changeset 1c66da2b1e88 (bug 1367905)

MozReview-Commit-ID: IX632WoWHrO
2017-06-08 16:09:28 -07:00
Ehsan Akhgari
3615b687a6 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-08 09:49:49 -04:00
Carsten "Tomcat" Book
247a47fac9 Merge mozilla-central to mozilla-inbound 2017-06-08 15:16:36 +02:00
Ben Kelly
89441f5ad6 Bug 1370537 P2 Remove TimeoutManager::RunTimeout()'s last expired timeout reference. r=ehsan 2017-06-08 05:51:59 -07:00
Ben Kelly
f323cc363c Bug 1370537 P1 Stop iterating in TimeoutManager::RunTimeout() when we see an invalid firing ID. r=ehsan 2017-06-08 05:51:58 -07:00
Carsten "Tomcat" Book
b9d94b34d4 merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Carsten "Tomcat" Book
383edc0429 Backed out changeset 575e351a12af (bug 1361461) for causing frequent reftest assertion failures like Assertion failure: false (Ran out of memory while building cycle collector graph), at z:/build/build/src/xpcom/base/nsCycleCollector.cpp:929
--HG--
extra : rebase_source : d4b0d05b42656579e35efde2d676c2f8f0115299
2017-06-08 11:27:43 +02:00
Mats Palmgren
1d809923d2 Bug 1370654 - Use mPendingLoads.GetOrInsert() to avoid a second hashtable lookup for Put(). Remove a redundant Get() before Remove(). r=froydnj
MozReview-Commit-ID: 36rxXpEwKcB
2017-06-08 12:48:32 +02:00
Tobias Schneider
04fcc5ed06 Bug 1370968 - Test for crash in nsLayoutUtils::FindNearestCommonAncestorFrame. r=mstange
--HG--
extra : rebase_source : e16a303a7a67104a49cf4e8ad9023b7a7f8196a3
2017-06-07 16:02:25 -07:00
Tobias Schneider
b002e63faf Bug 1370968 - Guard against possible NULL values when IntersecionObserver API is used in XUL pages. r=mstange
--HG--
extra : rebase_source : e4e7adb0113b39cda607bf9f863e75165ed402c1
2017-06-07 15:16:59 -07:00
Ehsan Akhgari
8e38408bd7 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-07 21:49:03 -04:00
Cameron McCormack
d73b4d31f2 Bug 1365162 - Part 2: Factor out lang="" namespace checks. r=emilio
MozReview-Commit-ID: CBwV3xB5sz9

--HG--
extra : rebase_source : 4606c31bdcb3ff3e4d108b3c9f58d0965b923072
2017-06-07 11:10:07 +08:00
Christoph Kerschbaumer
632fd14dfa Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug 2017-06-07 21:17:49 +02:00
Mats Palmgren
4ab8b6f8bc Bug 1370700 part 2 - Use mAttributeCache.GetOrInsert() to avoid a second hashtable lookup for Put(). r=froydnj
MozReview-Commit-ID: BE6vztn6ljl
2017-06-07 20:03:19 +02:00
Mats Palmgren
6cdee8c35e Bug 1370700 part 1 - Use mAttributeCache.LookupRemoveIf() to avoid a second hashtable lookup for Remove(). r=froydnj
MozReview-Commit-ID: CrIb6DcE1D7
2017-06-07 20:03:19 +02:00
Ehsan Akhgari
3cc0bd4b17 Backout bug 1361461 due to potentially introducing some intermittent reftest failures 2017-06-07 13:01:24 -04:00
Tobias Schneider
4dcf7f2e6f Bug 1369363 - Test for crash in nsLayoutUtils::TransformFrameRectToAncestor.
--HG--
extra : rebase_source : c7e3cb5e8733ea1a53c77838bed38953580de817
2017-06-06 10:44:42 -07:00
Michael Layzell
e9a9541ee7 Bug 1368046 - Part 2: Propagate OriginAttributes across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 8ok4DI9zgfR
2017-06-07 12:54:57 -04:00
Michael Layzell
ac7ba92fd5 Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Ehsan Akhgari
db983a3ae9 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-07 10:57:09 -04:00
Carsten "Tomcat" Book
8fb20a5801 Backed out changeset ff33e6c6f6a5 (bug 1367905) for memory leaks 2017-06-07 15:13:37 +02:00
David Keeler
838ea1425f bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot
MozReview-Commit-ID: 13EqlQVQApx

--HG--
extra : rebase_source : 5790d61619e4d4a0d4039b9379bcf06169bd762f
2017-05-23 14:55:10 -07:00
David Keeler
abac00aea3 bug 1332681 - part 3/4 - convert authentication.makeCredential to credentials.create r=jcj,qdot
MozReview-Commit-ID: 1xfsQqGCEcl

--HG--
rename : dom/webauthn/WebAuthentication.cpp => dom/credentialmanagement/CredentialsContainer.cpp
rename : dom/webauthn/WebAuthentication.h => dom/credentialmanagement/CredentialsContainer.h
extra : rebase_source : d92546a7f6a3780c6ec8790dfabb23a9ea29efbe
2017-05-22 17:09:49 -07:00
Kirk Steuber
99a80af5db Bug 1365092 - Move side effects of SetAttr, UnsetAttr, and ParseAttribute functions to BeforeSetAttr and AfterSetAttr r=bz
This is necessary to facilitate the transition to cloning attributes instead of reparsing them.

MozReview-Commit-ID: Gyd1tD6ldly

--HG--
extra : rebase_source : 777cfed750c95c448f953a6ec98026481997e227
2017-06-07 10:28:20 -07:00
Kirk Steuber
2feb07c8c6 Bug 1365092 - Moves side effects of HTMLImageElement's SetAttr function to the corresponding BeforeSetAttr and AfterSetAttr functions r=bz
This is necessary to facilitate the transition to cloning attributes instead of reparsing them.

HTMLImageElement's side effects proved to be a bit trickier than those of many other classes because HTMLImageElement::SetAttr intentionally forces an image reload, even if the attribute value has not been changed. Element::SetAttr, on the other hand, usually ignores attribute changes that do not change the attribute value, exiting before BeforeSetAttr is even called. In order to preserve this behavior, another virtual function |OnAttrSetButNotChanged| was added to the Element class. This function will be called in the case that Element::SetAttr exits early, allowing a forced reload to take place at that time.

MozReview-Commit-ID: 4CrH30bo5GT

--HG--
extra : rebase_source : 94245dde2710abd439671d05e99f145caca3e189
2017-06-01 15:38:45 -07:00
Kirk Steuber
a02a78b5c7 Bug 1365092 - Moves side effects of nsGenericHTMLElement and Element's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions r=bz
This is necessary to facilitate the transition to cloning attributes instead of reparsing them.

MozReview-Commit-ID: HzB3f1sr9y9

--HG--
extra : rebase_source : 8c343c60b5dca18fb04a4cb548907a2e4b9df1d2
2017-05-31 11:01:47 -07:00
Olli Pettay
03c8a070c4 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
--HG--
extra : rebase_source : b7248c5b45fe43eb733d73965a49c1cd69a1c72d
2017-06-06 20:41:34 +03:00
Ben Kelly
b0069d1478 Bug 1371020 P3 Cleanup some IsFrozen()/IsSuspended() checking in TimeoutManager. r=ehsan 2017-06-08 19:13:37 -07:00
Ben Kelly
f120eee48f Bug 1371020 P2 Avoid scheduling TimeoutExecutor if the window becomes suspended in RunTimeout. r=ehsan 2017-06-08 19:13:37 -07:00
Ben Kelly
cef34aad9d Bug 1371020 P1 Avoid rescheduling the TimeoutExecutor in ClearTimeout() in some cases. r=ehsan 2017-06-08 19:13:36 -07:00
Boris Zbarsky
237aa3d58c Bug 1370072. Don't hold on to a frame pointer across a frame flush. r=ehsan 2017-06-06 21:21:45 -04:00
Boris Zbarsky
febf0f30d6 Bug 1364816 part 5. Make getting window names a bit faster by avoiding various intermediate strings. r=qdot,jandem 2017-06-06 21:21:45 -04:00
Boris Zbarsky
60d80c3c4e Bug 1364816 part 3. Switch NeedResolve bindings to using a newResolve hook instead of a resolve hook. r=qdot,jandem 2017-06-06 21:21:44 -04:00
Boris Zbarsky
2a310b9f3b Bug 1364816 part 2. Add a way to ask the WebIDLGlobalNameHash for only the names that have not yet been resolved on the given window. r=qdot 2017-06-06 21:21:44 -04:00
Wes Kocher
bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Brad Werth
2413824883 Bug 1369903 Part 1: Remove over-specified stylesheet calls in nsDocument. r=emilio
MozReview-Commit-ID: 6YHC0vvvrtn

--HG--
extra : rebase_source : 3bdd45f055fc3d9f35080984cd2c5ccbab77b1a6
2017-06-05 08:49:21 -07:00
Nicolas B. Pierron
558a57a171 Bug 1368992 - JS bytecode cache: Do not attempt to encode bytecode if the compilation failed. r=mrbkap 2017-06-06 12:04:29 +00:00
Nicholas Nethercote
ede22c7534 Bug 1369612 - Remove ProfilerStackFrameDynamicRAII and profiler_call_{enter,exit}. r=mstange.
ProfilerStackFrameRAII and ProfilerStackFrameDynamicRAII are very similar; the
latter lets a dynamic string be specified as well (and lacks the
MOZ_GUARD_OBJECT stuff, for no good reason).

This patch does the following.

- Removes ProfilerStackFrameDynamicRAII, and adds a dynamic string to
  ProfilerStackFrameRAII. It also reorders the constructor's arguments to match
  the field ordering of ProfileEntry. There aren't many usage sites so these
  changes don't affect many places.

- With that done, there is only a single callsite for each of
  profiler_call_enter() and profiler_call_exit(), so the patch also inlines and
  removes them.
2017-06-02 15:38:20 +10:00
Ben Kelly
cf2f97c065 Bug 1370025 P5 Remove the old TimeoutManager insertion point logic. r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
c2b540895d Bug 1370025 P4 Use FiringId validity in TimeoutManager::Timeouts::Insert() and ::ResetTimersForThrottleReduction(). r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
1cacde3284 Bug 1370025 P3 Give the Timeouts structure a reference back to its owning TimeoutManager. r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
c5ee173aaa Bug 1370025 P2 Add TimeoutManager::IsValidFiringId() helper routine. r=ehsan 2017-06-05 12:42:33 -07:00
Ben Kelly
dd9bba778b Bug 1370025 P1 Better optimize the single mFiringIdStack case in IsInvalidFiringId(). r=ehsan 2017-06-05 12:42:33 -07:00
Hector Zhao
b8d53c802c Bug 1368464 - Don't attempt to copy multipart image as file promise. r=tnikkel
MozReview-Commit-ID: 1pwwZwBNb23

--HG--
extra : rebase_source : e99a49144b7f2c90941efd48eac8d9ff756fb8b6
2017-06-05 16:06:15 +08:00
Nicolas B. Pierron
6534093b4d Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap 2017-06-05 12:06:20 +00:00
Kris Maglione
fb74d7df50 Bug 1356546: Follow-up: Fix rooting hazard warning.
MozReview-Commit-ID: JDDjiEbbErK

--HG--
extra : rebase_source : 48d6fe05597da32517035e6a524f3a143581e4f5
2017-06-05 00:13:15 -07:00
Kris Maglione
16c90bb383 Bug 1356546: Follow-up: Fix debug build failure.
MozReview-Commit-ID: 69AbeESbWc4

--HG--
extra : rebase_source : 27ceecde3a825a76acd8eb178e25dfbe457b73c9
2017-06-04 22:22:26 -07:00
Kris Maglione
761a458cda Bug 1356546: Part 1 - Add a StructuredCloneHolder JS helper to hold opaque structured clone blobs. r=billm
There are several places in the WebExtensions framework where we currently
need to repeatedly serialize and deserialize structured clone data as it
passes through message managers, which can lead to significant performance
issues.

This helper class lets us serialize a value directly from the source extension
context into an opaque blob, and then directly deserialize it into the target
context on the other end, with no X-ray overhead or clones into privileged
scopes in-between.

MozReview-Commit-ID: 4QzHi89onxc

--HG--
extra : rebase_source : 2ec196ca9ce9be90b7eadf136c938373ac7d3fdd
2017-05-20 15:09:24 -07:00
Tobias Schneider
f47b467c52 Bug 1359318 - (intersection-observer) Map intersectionRect to the coordinate space of the target document. r=mstange 2017-06-02 14:11:31 -07:00
Kartikaya Gupta
10f514bb72 Bug 1369840 - Support content-side APZ test data in WebRenderLayerManager. r=botond
This mostly just copies the functional parts of the APZTestData code from
ClientLayerManager into WebRenderLayerManager, and propagates the paint sequence
number over to the compositor using the existing WebRenderScrollData machinery.

MozReview-Commit-ID: LHupFpqtWTX
2017-06-04 22:29:35 -04:00
Kartikaya Gupta
8b69d8d217 Bug 1369840 - Support getting the compositor-side APZ test data over PWebRenderBridge. r=botond
This is fairly straightforward plumbing. The webrender equivalent of PLayerTransaction
is PWebRenderBridge and we can use that to get the compositor-side APZTestData.

MozReview-Commit-ID: Bn8WjKW5GoI
2017-06-04 22:29:35 -04:00
Kris Maglione
02c1b0890c Bug 1368102: Part 2 - Add WebExtensionContentScript bindings. r=billm,mixedpuppy
Bill, can you please review the binding code? Shane and zombie, can you please
review the content script matching?

MozReview-Commit-ID: IJB5s0a7r7S

--HG--
extra : rebase_source : 4026105b8c04e6b88c9be8cf76898fca26f1c3e0
2017-06-03 22:03:19 -07:00
Kris Maglione
414584f497 Bug 1322235: Part 5 - Add an ExtensionPolicyService singleton class to track active extension policies. r=billm,mixedpuppy
Bill, can you please review the binding changes? Shane, can you please review
the policy service?

This is the first step to making extension policy data directly available to
C++ code without any COM overhead. It tracks the set of currently active
extensions, and how they map to add-on IDs and URIs.

MozReview-Commit-ID: 9Z61AXFll3P

--HG--
extra : rebase_source : c38898905a63ab8d0a424bfda7c61ea6c645ff32
2017-05-23 19:15:10 -07:00