Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Bill McCloskey
8ebd98768a
Back out bug 1323207, part 2 - Assert early if we're painting at various points we enter JS (a=backout)
...
This reverts commit cc6bc31c9f3fb10877292b31c1cf26927856a837.
MozReview-Commit-ID: Dljoh4lYVZ9
2017-01-11 13:20:21 -08:00
Michael Layzell
f2c6e39bb7
Bug 1328620 - Rename LargeAllocationRelatedBrowsingContexts to reflect new content, r=smaug
...
MozReview-Commit-ID: AQVqIFKObsI
2017-01-06 16:48:47 -05:00
Cameron McCormack
babad063ff
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Thomas Nguyen
0aaea58b69
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Christoph Kerschbaumer
63fe5cb0bb
Bug 1182569 - Skip security check for plugins using newstream attribute. r=smaug
2017-01-03 20:59:54 +01:00
Michael Layzell
f24af1792b
Bug 1324359 - Rename and simplify the DocShell ProcessLock concept, r=smaug
...
MozReview-Commit-ID: JTp8Q2mWqpN
2017-01-03 17:00:25 -05:00
Ho-Pang
7bc745d410
Bug 1299209 - Part 2: Support setting pointerId in nsDOMWindowwUtils and nsContentUtils. f=sshih, r=smaug
...
--HG--
extra : rebase_source : 46affaf510908e28ad47df2e088574d33aa52be3
2016-12-20 23:06:00 -05:00
Catalin Badea
835fb3fcef
Bug 1181127 - Fix nsContentUtils::FormatLocalizedString NS_ASSERTION. r=bkelly
...
nsStringBundle::FormatStringFromName asserts that GetStringFromName
should be used when the error message has no parameters.
2016-12-19 04:38:53 +02:00
Andrew McCreight
02491ce187
Bug 1323207, part 2 - Assert early if we're painting at various points we enter JS. r=billm
...
nsContentUtils::IsPatternMatching is the most common by far, but the
other is a generic location that may cover a number of issues.
MozReview-Commit-ID: Kli39btsqdd
--HG--
extra : rebase_source : 9ffdafb1f6654a90ab5e93594ffcb11e987f2b5e
2016-12-14 16:28:57 -08:00
Sebastian Hengst
22179cd574
Backed out changeset 491237dbcb5d (bug 1323207)
2016-12-16 20:06:43 +01:00
Andrew McCreight
d8103c4981
Bug 1323207, part 2 - Assert early if we're painting at various points we enter JS. r=billm
...
nsContentUtils::IsPatternMatching is the most common by far, but the
other two are generic locations that may cover a number of issues.
MozReview-Commit-ID: Kli39btsqdd
--HG--
extra : rebase_source : 1a7eda2a711f079978b54012d9c7466bbd6de36f
2016-12-14 16:28:57 -08:00
Cameron McCormack
382ed70f19
Bug 1321284 - Part 4: Factor out AllChildrenIterator's getting of document level NAC to a utility method. r=bholley
...
MozReview-Commit-ID: 862Yi82D2Ij
--HG--
extra : rebase_source : d612e27061ec3ccec3c30792127a53bb7010d30c
2016-12-03 09:37:00 +08:00
Henri Sivonen
a36fff43c5
Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan
...
MozReview-Commit-ID: 5UvYqJVvX0r
--HG--
extra : rebase_source : 5a6f3dfd97fb06810fde9a4b8b650a7a922a7c20
2016-06-09 14:29:30 +03:00
Boris Zbarsky
23cc88e459
Bug 1319255 part 2. Stop doing casts to HTMLContentElement* simply based on tag. r=wchen
2016-11-22 22:41:51 -05:00
Boris Zbarsky
584dd93891
Bug 1316616 part 2. Add an nsContentUtils API for getting the CallerType of a JSContext. r=bholley
2016-11-18 16:13:06 -05:00
Wes Kocher
f9e9d69899
Merge inbound to m-c a=merge CLOSED TREE
2016-11-16 17:07:26 -08:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Andi-Bogdan Postelnicu
ae0295a290
Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
...
MozReview-Commit-ID: FGjPRf0g3Yt
--HG--
extra : rebase_source : efe73faf1a5d3f26efea56e985bdbb586a6d1da8
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu
aaf2063029
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu
4df235170d
Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
...
MozReview-Commit-ID: CST7fV4h20h
--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Andi-Bogdan Postelnicu
b43be84495
Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
...
MozReview-Commit-ID: ysMKgcL3YQ
--HG--
extra : rebase_source : 37ac432e1bca84a6ab34ab2b84577b6702ba6413
2016-11-14 11:31:11 +02:00
Thomas Nguyen
b169621e2e
Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
...
MozReview-Commit-ID: 3V6W0fuRomZ
--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Sylvestre Ledru
30ee480275
Bug 1317430 - Avoid a unnecessary copy by passing a const & in dom/base/ r=smaug
...
MozReview-Commit-ID: A70LY4ekX8E
--HG--
extra : rebase_source : e370a9637d5c57507feb2dee164145a5992b5645
2016-11-14 23:15:46 +01:00
Michael Layzell
d53091c307
Bug 1314792 - Extract process changing logic into nsContentUtils::GetDocShellProcessLock, r=bkelly
...
MozReview-Commit-ID: FI0pIvHPN0h
2016-11-04 13:40:55 -04:00
Michael Layzell
209fba3a7f
Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
...
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Shih-Chiang Chien
2e3eadd9df
Bug 1291971 - Part 6, enable receiver idlharness test. r=smaug.
...
MozReview-Commit-ID: BDZ8daA2gpj
--HG--
extra : rebase_source : 70595ad9e8e56856c464fa12c2c2eeadc9e48063
2016-10-20 11:27:55 +08:00
Andrea Marchesini
fa19ea68e4
Bug 1312412 - Introducing BlobImplString, r=smaug
2016-10-25 07:53:54 +02:00
Eric Rahm
1eb4ae7e0d
Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug
2016-10-18 11:56:20 -07:00
John Dai
48b937b61e
Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
...
MozReview-Commit-ID: 3gYTaRVcV0y
--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
Eric Rahm
52edf921c1
Bug 1310017 - Remove nsISupportsArray usage from nsITransferable and nsIFormatConverter. r=smaug
...
This converts |nsITransferable.flavorsTransferableCanExport| and
|nsITransferable.flavorsTransferableCanImport| to return a |nsIArray|.
|nsIFormatConverter.getInputDataFlavors| and
|nsIFormatConverter.getOutputDataFlavors| are updated as well.
2016-10-16 12:43:56 -07:00
Tim Huang
372ec56ff4
Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
2016-10-13 15:43:54 +08:00
Wes Kocher
2142de26c1
Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
...
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Tim Huang
0ceca5575d
Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
2016-10-12 17:32:03 +08:00
Gerald Squelart
f600196067
Bug 1176218 - p1. Constify nsContentTypeParser::Get... methods - r=froydnj
...
GetType() and GetParameter() don't actually modify the nsContentTypeParser
object, so we can make them const.
It makes it possible to pass the parser as a const-ref, which I think makes
sense as getters (even those doing some actual work) are usually const.
MozReview-Commit-ID: 9vmqKbmt8y8
--HG--
extra : rebase_source : d07371c8cdcf116952bffafad0cd6cda78f59b20
2016-10-04 16:19:15 +11:00
Phil Ringnalda
46dddfc99b
Backed out 8 changesets (bug 1277803) for frequent failures in browser_privatebrowsing_favicon.js
...
Backed out changeset a046eef2014c (bug 1277803)
Backed out changeset 61947b3073ba (bug 1277803)
Backed out changeset ef181cdd290f (bug 1277803)
Backed out changeset b6ea3bd24359 (bug 1277803)
Backed out changeset 835470de461d (bug 1277803)
Backed out changeset f4adcb16d1ec (bug 1277803)
Backed out changeset 58c23d794ba5 (bug 1277803)
Backed out changeset f29f88c5c1b9 (bug 1277803)
2016-10-07 18:41:27 -07:00
Tim Huang
b7324dcec9
Bug 1277803 - Part 1: Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
...
--HG--
extra : rebase_source : 75a1dadecd0ef86940ab309d673aeffbf72013af
2016-10-04 11:56:14 +08:00
Nathan Froyd
70d6d5515f
Bug 1305422 - part 5 - simplify Is8bit; r=baku
...
The implementation of Is8bit, with its multiply-nested loops, dates from
the time when string iterators could be fragmented into multiple pieces.
We no longer have such iterators, so we can write Is8bit much more
straightforwardly, with the single loop you would expect.
2016-09-29 22:33:58 -04:00
John Dai
67c1584d51
Bug 838954 - Backout newlines lost in .innerHTML serialization of <pre> when first character is a newline. r=smaug
2016-09-22 02:42:00 -04:00
Wes Kocher
4fec8fe947
Backed out changeset 7e898928c51b (bug 838954) for lint failures a=backout CLOSED TREE
2016-09-21 12:44:31 -07:00
John Dai
2e88ad8701
Bug 1275832 - Implement custom element name validation for custom elements. r=wchen
...
--HG--
extra : rebase_source : e3c3adef09a3b5ae6f8ecb508ef782a9b39998c0
2016-09-20 23:26:00 -04:00
Wes Kocher
b39fcf65f2
Backout revisions b80d560e0102 and fc593dd9a280 (bug 838954) a=backout
...
--HG--
extra : source : 7008e3ee291ec274025d72ebd157eef7588da291
2016-09-21 11:42:16 -07:00
Arthur Edelstein
dfebfaa34a
Bug 1268726 - isolate shared worker by first party domain. r=baku
...
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>
review tweaks
2016-09-19 21:13:00 -04:00
Andrea Marchesini
5994c71158
Bug 1301251 - Handle GetSpec() failure in nsContentUtils::GetWrapperSafeScriptFilename(), r=smaug
2016-09-19 15:50:22 +02:00
Jan de Mooij
a53986bf29
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
...
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Ho-Pang Hsu
bb6962b37c
Bug 1285804 - Part 1: Introduce a new message to nsIDOMWindowUtils::sendMouseEvent() for test automation. r=smaug, f=btseng
...
--HG--
extra : rebase_source : 60a0e28ee3c063e730844874cca6b7f002c35fe4
extra : histedit_source : 02a45d4783e7fbb8ad30847e5f49f7a0e62cfeac
2016-09-12 13:51:10 +08:00
Nicholas Nethercote
e4eb76b618
Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz.
...
--HG--
extra : rebase_source : 55e83aad222825b2dd1399fa42eee6b6c894d0ee
2016-09-08 14:17:58 +10:00
Carsten "Tomcat" Book
7c6c7db247
Merge mozilla-central to autoland
2016-09-07 17:26:11 +02:00
Jeremy Chen
e42a48e81d
Bug 1297306 - part5:create enum constructors for EnumTable. r=baku
...
Enable nsAttrValue::EnumTable to be initialized with enum. So, we could get rid
of the castings in EnumTable. Fix EnumTable initialization comment.
For those untyped enumerations, declare them with uint8_t, as to other typed
enumerations with type size larger than int16_t, force casting to int16_t.
Use {nullptr,0} instead of {0} to represent the last entry.
MozReview-Commit-ID: 7Dma3Apkmxj
--HG--
extra : rebase_source : b2289866c4c33d80c8e170727bf109d018d92f67
2016-09-07 10:20:17 +08:00
Wes Kocher
ee92002ede
Merge inbound to m-c a=merge
2016-09-02 13:17:30 -07:00