Mike Conley
45326e6d87
Bug 1261842 - Factor out logic for creating windows for content processes from nsWindowWatcher::OpenWindowInternal. r=smaug
...
MozReview-Commit-ID: 1dhGthT8bmu
--HG--
extra : rebase_source : 9da164c9647d6e69894d8e8e49bdd400e786bb81
extra : source : 0f8b603781817f58c4664a33429325bc316598e9
2016-07-05 12:00:07 -04:00
Wes Kocher
c9783f64cb
Backed out 4 changesets (bug 471020) for frequent Windows w(2) failures CLOSED TREE a=merge
...
Backed out changeset d9675ab3d203 (bug 471020)
Backed out changeset 3ee328c56de0 (bug 471020)
Backed out changeset 000576e264bd (bug 471020)
Backed out changeset ffe60708c457 (bug 471020)
2016-07-18 16:07:28 -07:00
Carsten "Tomcat" Book
0b2b46fcdb
Merge mozilla-central to mozilla-inbound
2016-07-18 17:10:52 +02:00
Carsten "Tomcat" Book
ca457776f8
merge mozilla-inbound to mozilla-central a=merge
2016-07-18 17:07:59 +02:00
Kartikaya Gupta
eb68bbaaa8
Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz
...
MozReview-Commit-ID: 4BdhwQRBavd
2016-07-18 10:26:38 -04:00
Christoph Kerschbaumer
f897b7df7e
Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus
2016-07-18 14:47:48 +02:00
Andrea Marchesini
a3d12cc23a
Bug 1279186 - Blob URLs in multi-e10s - part 3 - Remove all the blobURLs when the child goes away, r=me
2016-07-18 11:13:31 +02:00
Andrea Marchesini
0c1a08fce6
Bug 1279186 - Blob URLs in multi-e10s - part 1 - BlobURLs broadcasted, r=gabor
2016-07-17 16:50:50 +02:00
Cameron McCormack
8eedc7f07e
Bug 1287049 - Only clear restyle flags in BindToTree if not using Servo-backed style system. r=emilio
...
MozReview-Commit-ID: 38cWUyAYEIt
--HG--
extra : rebase_source : a3d994bd6ee984e4b3608e99da4c8ebd9b247f14
2016-07-15 15:21:38 +08:00
Iris Hsiao
296ca81daa
Backed out changeset effbc83efa08 (bug 1279186)
2016-07-18 12:11:07 +08:00
Nicholas Nethercote
2ebfc5116b
Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz.
2016-07-14 13:18:11 +10:00
Andrea Marchesini
109557fed5
Bug 1279186 - Blob URLs in multi-e10s - part 1 - BlobURLs broadcasted, r=gabor
2016-07-17 16:50:50 +02:00
Andrea Marchesini
c2e7f126f5
Bug 1282407
- Implement nsIURIWithBlobImpl to support blobURL after revoking them, r=smaug
2016-07-17 16:32:02 +02:00
Sebastian Hengst
b8b5c17e71
Backed out changeset f52c26d677b0 (bug 918703)
2016-07-17 12:55:38 +02:00
Thomas Wisniewski
a87fc764c1
Bug 918703 - Part 2: Correct progress event logic so events are sent in the correct order and with the correct values according to spec. r=baku
2016-07-16 19:11:01 -04:00
Carsten "Tomcat" Book
a0992595d6
merge mozilla-inbound to mozilla-central a=merge
2016-07-17 10:08:08 +02:00
Emilio Cobos Álvarez
1a49c35a07
Bug 1286445: stylo: Support restyles of non-pseudo content on state change. r=heycam
...
This includes, for example :hover.
Also removes the call to IsStyledByServo() in the document constructor, it's not
only unnecessary, but also we call UpdateStyleBackendType() too early.
MozReview-Commit-ID: 4YfCdmLoSxu
2016-07-16 16:22:12 -07:00
Wes Kocher
ad9620b862
Merge m-c to autoland a=merge
2016-07-15 17:01:59 -07:00
Jean-Yves Avenard
01308240dd
Bug 1286722: [MSE] P1. Add mediasource event handler attributes. r=bz
...
See https://github.com/w3c/media-source/issues/66
MozReview-Commit-ID: 9fANabkz5ud
--HG--
extra : rebase_source : 37ef4885191942c56cc2ff0e198c5cbc7cab0c4a
2016-07-14 18:28:19 +10:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Carsten "Tomcat" Book
7c0644d587
Merge mozilla-central to mozilla-inbound
2016-07-14 11:56:37 +02:00
Wes Kocher
85c761efaa
Merge m-c to autoland, a=merge
2016-07-13 14:12:44 -07:00
Xidorn Quan
a392f65064
Bug 1284785
part 2 - Report reason to console if a pointer lock request is denied. r=smaug
...
MozReview-Commit-ID: 9kSYxDQYGLz
--HG--
extra : rebase_source : 7577d56c1cb774fe8c556957dc3822fc33cded62
extra : source : 7c8410f8b164791d50c7369ede66d31c608e51d4
2016-07-13 10:28:28 +10:00
Xidorn Quan
5056efcb42
Bug 1284785
part 1 - Make ShouldLockPointer have internal linkage rather than being a method of nsDocument. r=smaug
...
MozReview-Commit-ID: 9dYVmUnTEgR
--HG--
extra : rebase_source : b8431cfbadf88657510e3d567c1de8b2768cce83
extra : source : 33a7da7c10be659ee5e804bd260e9eb884066567
2016-07-13 10:28:28 +10:00
Xidorn Quan
2f4c9bbf67
Bug 1285069 part 3 - Move code around to make pointer lock code together. r=smaug
...
MozReview-Commit-ID: 932txaKsLQZ
--HG--
extra : rebase_source : 3b6127baa48e2f877f9a409139059b96ebd446fd
extra : source : 2f40ef38a271a197621b3326eb8a69ed2ec0547e
2016-07-13 10:28:28 +10:00
Xidorn Quan
4bbb9f1825
Bug 1285069 part 2 - Remove nsPointerLockPermissionRequest, only keep the Allow method under a different name. r=smaug
...
We still want to keep ApplyPointerLock asynchronous so that the timing
when pointer lock takes effect is not changed by this patch.
MozReview-Commit-ID: EA8c6uzOd8F
--HG--
extra : rebase_source : 1d6355b618e67ff42c65d8088d3ccb1dca339401
extra : source : 98e099aad4b57295ffdce68a0140179d50bfd044
2016-07-13 10:28:28 +10:00
Xidorn Quan
efc0e7f9af
Bug 1285069 part 1 - Remove code around pending fullscreen request. r=smaug
...
This code is no longer needed as we are always granting pointerlock request.
MozReview-Commit-ID: 3HVo3CddqWY
--HG--
extra : rebase_source : 53e72af037007d5d490cb9cb449492437e4c4714
extra : source : ce74d9d66912b6dfbe8e1379228b742baff119c3
2016-07-13 10:28:28 +10:00
Tobias Schneider
ce4badc7bc
Bug 1268120 - Make plugin content blocking work on e10s. r=francois
2016-06-17 11:05:42 +01:00
Thomas Wisniewski
b66fa4f6c0
Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku
2016-07-11 15:03:44 -04:00
Thomas Wisniewski
ef7d665ee0
Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana
2016-07-11 14:27:36 -04:00
Jimmy Wang
aa9a74f34c
Bug 1162050 - remove instances of eLegacyDragDrop and dragdrop. r=enn
...
MozReview-Commit-ID: Di41WT8zcZ1
--HG--
extra : rebase_source : b9502c06b5351d0c75d23b17319c77579ccbb5a1
2016-05-27 16:54:36 -04:00
Jimmy Wang
af06755ad8
Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
...
MozReview-Commit-ID: 8kP1AY4peos
--HG--
extra : rebase_source : 0f64e55770c2b9cfd9737f8da53111bad007dca6
2016-05-27 14:32:59 -04:00
Carsten "Tomcat" Book
b40f905f49
Backed out changeset 643bfa8b72ba (bug 1207233) for bustage
2016-07-12 11:40:16 +02:00
Carsten "Tomcat" Book
c33672a846
Backed out changeset ff7dbda6a6d0 (bug 1207233)
2016-07-12 11:40:00 +02:00
John Dai
74ce0fbcb8
Bug 1278148 - Set createDocument()'s content type based on namespace. r=smaug
2016-07-11 07:02:00 +02:00
Thomas Wisniewski
458f4f42b3
Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku
...
--HG--
extra : rebase_source : de17309ef5704f288f309605dbb7744eadea3bd8
2016-07-11 15:03:44 -04:00
Thomas Wisniewski
291ec7772c
Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana
...
--HG--
extra : rebase_source : f4063c85716f899545878f89fc7f2225ef95c7cd
2016-07-11 14:27:36 -04:00
Cameron McCormack
acd21d26c0
Bug 1285474: Decide style system backend type for documents earlier. r=bholley
...
MozReview-Commit-ID: 7A4t3957CWe
2016-07-12 00:33:57 -07:00
Emilio Cobos Álvarez
474ff66ca4
Bug 1285474: stylo: Add dirtiness-tracking hooks for Servo and convenient methods. r=bholley
...
Also, guard with asserts the access to the new shared flags.
MozReview-Commit-ID: H9UFFHRPmiu
2016-07-12 00:33:57 -07:00
Emilio Cobos Álvarez
5990bbc7d5
Bug 1285474: stylo: Add nsINode method for knowing if the current document is using Servo's style back-end. r=bholley
...
MozReview-Commit-ID: 3sRE7BZj1tu
2016-07-12 00:33:57 -07:00
Emilio Cobos Álvarez
580accea5d
Bug 1285474: stylo: Reuse some element restyle-related flags for Servo-styled nodes. r=bholley
...
MozReview-Commit-ID: 86FS1s725KL
2016-07-12 00:33:57 -07:00
Christoph Kerschbaumer
b36ec459a4
Bug 1234813
- sendBeacon should not throw if blocked by Content Policy. r=rbarnes
2016-07-12 07:26:11 +02:00
Andrea Marchesini
86086055d5
Bug 1285955 - URL.revokeObjectURL should not remove '?' or '#' from the input, r=smaug
2016-07-12 07:36:48 +02:00
Carsten "Tomcat" Book
d2e362e983
Backed out changeset f8fe3acf2e78 (bug 1162050)
2016-07-11 11:18:48 +02:00
Carsten "Tomcat" Book
50ea69d1c5
Backed out changeset 342274a86c0d (bug 1162050)
2016-07-11 11:18:44 +02:00
Jimmy Wang
d89f7681bc
Bug 1162050 - remove instances of eLegacyDragDrop and dragdrop. r=enn
...
MozReview-Commit-ID: Di41WT8zcZ1
--HG--
extra : transplant_source : %1D%B5%C0%B3g%2C%EC8%DD%0E%DB%DD%10%A5%81%8F%90o%27%96
2016-05-27 16:54:36 -04:00
Jimmy Wang
209f78f925
Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
...
MozReview-Commit-ID: 8kP1AY4peos
--HG--
extra : transplant_source : XY2kY%87%AE%2A%C8%E8MV%86L%22%0B%21%5C%90%1B
2016-05-27 14:32:59 -04:00
Thomas Wisniewski
5a46237c13
Bug 1285036 - Part 6: Add CString variants of ASCIIToLower/Upper() for the next patch. r=baku
2016-07-08 12:51:09 -04:00
Brad Werth
dde35eb992
Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats
2016-07-07 11:38:12 -07:00
Andrew Sutherland
d1659931b7
Bug 1267473 - Report to console if service worker script 404s. r=bkelly
...
Add an error message of the following form for when a register/update job
fails for network reasons:
Failed to register/update a ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/network_error/’ :
Load failed with status 404 for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/404.js’ .
A mochitest is added that verifies this.
To simplify the process of logging error messages, ServiceWorkerManager gains
a new LocalizeAndReportToAllClients method that always provides the SW scope as
the first argument to the localized string since all good error messages should
include it.
Its argument list takes an nsTArray<nsString> in order to reduce the potential
for use-after-free scenarios from the char16_t** signature that unfortunately
has rippled outwards from the nsIStringBundle interface. This potentially
results in more memory allocation and byte shuffling than is strictly
necessary, but we're also talking about rare error logging where it's
better to optimize for easily adding the messages without needing to get hung
up on the life-cycle of temporaries.
nsTArray gained a std::initializer_list in bug 1228641. It is explicit, so
inline argument usages may take a form along the lines of:
`nsTArray<nsString> { string1, string2, ... }`
This change did necessitate a change to nsContentUtils to add an nsTArray
variant of FormatLocalizedString since the existing public function was
slightly too clever. It used a template function to statically acquire the
number of arguments at compile time, which is not compatible with the dynamic
nsTArray usage. Since nsTArray may be useful to other consumers as well, I
placed the conversion logic in nsContentUtils.
2016-07-10 22:22:27 -04:00
Phil Ringnalda
f69792c77b
Merge m-c to m-i
2016-07-09 09:01:35 -07:00
Phil Ringnalda
bc94fc8653
Merge f-t to m-c, a=merge
2016-07-09 08:53:47 -07:00
Phil Ringnalda
816f3fa167
Merge m-i to m-c, a=merge
2016-07-09 08:51:52 -07:00
Andrea Marchesini
5e957116da
Bug 1285508 - Fixing memory report for BlobURLs, r=smaug
2016-07-09 13:19:46 +02:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Daniel Holbert
05575e6215
Bug 1285660: Annotate DocshellEntryMonitor as 'final', to fix clang warning about it having virtual functions & explictly-invoked non-virtual destructor. r=bholley
...
(Its destructor is explicitly invoked by Maybe::reset(). This is fine, as long as there are no subclasses that need custom destruction behavior -- and 'final' proves that there are no subclasses.)
MozReview-Commit-ID: LKiw3CT6wN7
2016-07-08 16:20:18 -07:00
Masayuki Nakano
9b6e26f0bb
Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8
...
This patch renames classes/structs as:
nsHTMLEditor -> mozilla::HTMLEditor
nsHTMLEditor::BlobReader -> mozilla::HTMLEditor::BlobReader
SetSelectionAfterTableEdit -> mozilla::AutoSelectionSetterAfterTableEdit
nsHTMLEditor.h -> HTMLEditor.h (exposed as mozilla/editor/HTMLEditor.h)
nsHTMLAbsPosition.cpp -> HTMLAbsPositionEditor.cpp
nsHTMLAnonymousUtils.cpp -> HTMLAnonymousNodeEditor.cpp
nsHTMLDataTransfer.cpp -> HTMLEditorDataTransfer.cpp
nsHTMLEditorStyle.cpp -> HTMLStyleEditor.cpp
nsHTMLInlineTableEditor.cpp -> HTMLInlineTableEditor.cpp
nsHTMLObjectResizer.cpp -> HTMLEditorObjectResizer.cpp
nsTableEditor.cpp -> HTMLTableEditor.cpp
These new file names are clearer names which related to HTMLEditor than old names.
MozReview-Commit-ID: DTWaoFvy0DF
--HG--
rename : editor/libeditor/nsHTMLAbsPosition.cpp => editor/libeditor/HTMLAbsPositionEditor.cpp
rename : editor/libeditor/nsHTMLAnonymousUtils.cpp => editor/libeditor/HTMLAnonymousNodeEditor.cpp
rename : editor/libeditor/nsHTMLEditor.cpp => editor/libeditor/HTMLEditor.cpp
rename : editor/libeditor/nsHTMLEditor.h => editor/libeditor/HTMLEditor.h
rename : editor/libeditor/nsHTMLDataTransfer.cpp => editor/libeditor/HTMLEditorDataTransfer.cpp
rename : editor/libeditor/nsHTMLObjectResizer.cpp => editor/libeditor/HTMLEditorObjectResizer.cpp
rename : editor/libeditor/nsHTMLInlineTableEditor.cpp => editor/libeditor/HTMLInlineTableEditor.cpp
rename : editor/libeditor/nsHTMLEditorStyle.cpp => editor/libeditor/HTMLStyleEditor.cpp
rename : editor/libeditor/nsTableEditor.cpp => editor/libeditor/HTMLTableEditor.cpp
2016-07-09 11:42:33 +09:00
Carsten "Tomcat" Book
37cacb6747
Merge mozilla-central to fx-team
2016-07-08 12:17:32 +02:00
Ryan VanderMeulen
64abd594e5
Backed out 6 changesets (bug 1285036) for bustage on a CLOSED TREE.
...
Backed out changeset f7174077bd92 (bug 1285036)
Backed out changeset 4ae182434a6a (bug 1285036)
Backed out changeset 0390a7afb12d (bug 1285036)
Backed out changeset b93efbaf1d7a (bug 1285036)
Backed out changeset 3036026722de (bug 1285036)
Backed out changeset 8e94b77f805b (bug 1285036)
2016-07-07 21:57:49 -04:00
Xidorn Quan
a90f7b0ea8
Bug 1283526 part 2 - Remove fullscreen sandbox flag. r=smaug
...
MozReview-Commit-ID: 5qH4gZxvNQz
--HG--
extra : rebase_source : fdc1fea2996b259a65c3068cd10fffccf6c5ebdb
2016-07-05 09:46:55 +10:00
Xidorn Quan
dc193d9f49
Bug 1283526 part 1 - Revert behavior of allowfullscreen attribute for non-sandboxed iframe. r=smaug
...
MozReview-Commit-ID: BayA4tQBsfC
--HG--
extra : rebase_source : 17818546cd0c1ec971412346d6e32d537442dd26
2016-07-04 10:19:35 +10:00
Thomas Wisniewski
fccee69e2d
Bug 1285036 - Part 6: Add CString variants of ASCIIToLower/Upper() for the next patch. r=baku
2016-07-03 21:54:58 -04:00
Boris Zbarsky
0184b4df38
Bug 1282150 part 6. Get rid of GetSafeJSContext. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
3b1ead601a
Bug 1282150 part 5. Kill off all the unused GetJSContextForEventHandlers cruft. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
97b0a16147
Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
d208b0de7a
Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
e990418707
Bug 1282150 part 2. Get rid of GetDefaultJSContextForThread. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
6542e6c3f0
Bug 1282150 part 1. Add a mozilla::dom::danger::GetJSContext API. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
eb139d85bf
Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley
2016-07-07 20:08:25 -04:00
Andrea Marchesini
4b4be5ed67
Bug 1279622 - DocShell child should inherit OriginAttributes from the parent DocShell, r=smaug
2016-07-07 20:54:30 +02:00
Jan Henning
47101d08ae
Bug 1282902 - Part 3 - Let the MobileViewportManager recalculate the saved resolution if the display width changed before restoring. r=kats
...
The mobile session store saves the current document resolution in order to restore the previous zoom level when restoring a page. If the display width has changed since the session data was captured (e.g. because the device was rotated), the resolution might have to be scaled appropriately.
Currently, the session store does this scaling by itself by comparing the stored and current window widths, however this implementation is slightly simplified and doesn't cover all use cases, which means some pages can be restored at a wrong zoom level after rotation. To correctly cover all cases, the session store would have to compare viewport widths, too.
Because the MobileViewportManager doesn't wait for the session store to set the restore resolution, the latter has to call setRestoreResolution() as early as possible in order to guarantee that the restore resolution is set before the first paint of the document. Therefore the session store currently calls this after receiving a LocationChange notification. However at that time, the correct viewport for the current document is not yet available, which means the resolution cannot be recalculated by the session store at that point.
Therefore, this patch changes the approach taken and lets the MVM handle all resolution calculations instead. The session store now simply passes the stored previous display dimensions along with the previous document resolution to the MVM, which can then compare them to the current display and viewport widths and scale the resolution appropriately before using it during first paint.
MozReview-Commit-ID: IGxWw87yftK
--HG--
extra : transplant_source : e%8D%BD%26%D2%C3%8E5%E3%2B%C0t%BA%DB%C1%BBs%3F%13%1F
2016-07-01 21:23:25 +02:00
Jan Henning
b357e8c764
Bug 1282902 - Part 1 - Add a helper method for getting the content viewer size in device pixels. r=kats
...
The intention is for the session store to record the current window size and then pass it to the MobileViewportManager for restoring, so the latter can correctly scale the stored resolution if the display width has since changed. However currently all window dimensions available from the JS side are measured in CSS pixels rounded to integers. Transforming those values back into display pixels by multiplying them with "window.devicePixelRatio" (or accessing window.gScreenWidth/Height, which does the same thing internally) unfortunately introduces some rounding errors.
Therefore this patch introduces a new helper method in DOMWindowUtils which allows to access the content window width as measured in device pixels from the JS side, too.
MozReview-Commit-ID: FGNQlXhkgrU
--HG--
extra : transplant_source : %8B%90G%5C%C7%87%B8%8F%0D%EA%3B%FF%3AU%D5%07%81%E7%7Cq
2016-06-30 23:15:41 +02:00
Dale Harvey
45e036dff5
Bug 1273351 - Remove pointerlock permission requirement. r=dao
...
--HG--
rename : browser/base/content/browser-fullScreen.js => browser/base/content/browser-fullScreenAndPointerLock.js
2016-07-08 13:58:31 +01:00
Bobby Holley
ae4b3ffee8
Bug 1283620 - Add a namespaced overload of GetParsedAttr. r=mrbkap
2016-07-07 09:59:06 -07:00
Bobby Holley
906815cc56
Bug 1283620 - Add an atom overload of GetNameSpaceID. r=mrbkap
2016-07-07 09:59:04 -07:00
Bobby Holley
2a66d84624
Bug 1283620 - Devirtualize a bunch of namespace methods. r=mrbkap
...
I have no idea why these are virtual, but they're somewhat hot, so we should fix that.
2016-07-07 09:59:03 -07:00
Jan de Mooij
900af968f3
Bug 1283855
part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
...
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
Jan de Mooij
7ec38687c8
Bug 1283855
part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
...
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij
1ffe7cc891
Bug 1283855
part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
...
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Brad Werth
e0d3269112
Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey
...
--HG--
extra : rebase_source : 0c2a49236a2c71233a1ce6a92e50663b8a9f6238
2016-07-06 11:45:18 -07:00
Gregory Szorc
f21ec324a6
Merge mozilla-central to mozilla-inbound
2016-07-06 18:30:58 -07:00
Kershaw Chang
baf1057b0d
Bug 1268758 - Part1: Implement allow-presentation sandboxing flag, r=smaug
2016-07-14 02:44:00 +02:00
Andrea Marchesini
3c6ff93c8f
Bug 1186932 - Implement support for form submission of a picked directory - part 1 - FormData and Directory, r=smaug
2016-07-14 09:01:31 +02:00
Jan de Mooij
c1ed92b71b
Bug 1283855
part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust
2016-07-06 11:40:20 +02:00
Carsten "Tomcat" Book
1bb9877c16
Backed out changeset 3de5b79d7373 (bug 1241932) for bustage
2016-07-06 06:00:03 +02:00
Carsten "Tomcat" Book
2de695aebf
Backed out changeset e98d1ac584d6 (bug 1241932)
2016-07-06 05:59:52 +02:00
Brad Werth
1656f9d629
Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats
2016-07-05 13:35:52 -07:00
Brad Werth
dd6149d032
Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey
2016-06-24 12:20:05 -07:00
Michael Layzell
48f17dbe5d
Backout Bug 1279771 due to linux test failures
2016-07-05 13:48:52 -04:00
Michael Layzell
197e47c6a7
Bug 1279771 - Treat change events triggered by changing <select> element selections as user-initiated in e10s, r=enndeakin
2016-07-05 10:40:44 -04:00
Carsten "Tomcat" Book
b8fa6c4b53
Merge mozilla-central to mozilla-inbound
2016-07-05 16:07:19 +02:00
Carsten "Tomcat" Book
8ff729f2c7
merge mozilla-inbound to mozilla-central a=merge
2016-07-05 16:03:24 +02:00
Carsten "Tomcat" Book
c5537a7c68
merge autoland to mozilla-central a=merge
2016-07-05 16:00:37 +02:00
Xidorn Quan
047d82990f
Bug 1283579 - Use data schema rather than outside document for test of bug 682592 to make it faster. r=jfkthame
...
MozReview-Commit-ID: 6ccLpZF1qr8
--HG--
extra : rebase_source : e275f555152e38bf24ca833e5a876ade5776ed1c
2016-07-04 13:16:08 +10:00
Jan de Mooij
c8334f438a
Bug 1283855
part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink
2016-07-05 14:35:21 +02:00
bentian
33cf3aca7f
Bug 1264768
- Dispatch error event when image loads for URLs that fail to resolve, r=hsivonen
...
--HG--
extra : rebase_source : 109914a4204a4dcf2f21e861da269e5bb476acf0
2016-06-10 15:35:51 +08:00
Ben Kelly
498431cc2a
Bug 1281730 Restore timeouts before thawing workers to avoid running script on frozen timers. r=khuey
2016-07-04 06:49:29 -07:00
Stone Shih
f3651866bf
Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug
2016-05-06 18:39:10 +08:00
Carsten "Tomcat" Book
dfb499e050
Backed out changeset 38eebb8512cf (bug 1264323)
...
--HG--
extra : rebase_source : c19de40fb3ff4e6749153accce70cf437ec0f1c9
2016-07-01 14:07:38 +02:00
Carsten "Tomcat" Book
b9b02bb935
Backed out changeset b97c6b960d85 (bug 1264323)
...
--HG--
extra : rebase_source : 9eedd023a08c315be74fa7cdc832578c4bf5b5bf
2016-07-01 14:07:37 +02:00
Arthur Edelstein
2fefe85cca
Bug 1281963 - Hide mime types and plugins when resisting fingerprinting. r=blassey
2016-06-30 08:40:00 +02:00
John Dai
529d13327c
Bug 1264323 - Set namespace when DOMParser.parseFromString(application/xhtml+xml). r=smaug
2016-06-30 03:58:00 +02:00
John Dai
25b47e2c0a
Bug 1264323 - Remove redundant trailing spaces. r=smaug
2016-06-30 03:30:00 +02:00
Thomas Wisniewski
30e61f3146
Bug 918773 - set responseXML.referrer to the empty string. r=jst
...
--HG--
extra : rebase_source : e537ea45eb0ce380059830d615c35f5ab76e37e3
2016-06-30 14:01:25 -04:00
Chris Pearce
0405241de4
Bug 1283666 - Remove code to handle obsolete MediaKeySystemConfiguration attributes. r=jwwang
...
MozReview-Commit-ID: 1T3DH0JVstQ
--HG--
extra : source : f2d2fd02cdba4bd5c3c60c4005c852c3ee12ee9e
2016-07-01 11:26:29 +12:00
Benjamin Dahse
2400e065d1
Bug 988831 - support memory mapped files in Windows. r=ehoogeveen
...
--HG--
extra : rebase_source : faf8d37b0d4d517b8a859b3fa57f8cd7f914de8f
2016-06-30 14:32:13 +02:00
Bill McCloskey
b8ababd5ee
Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander)
2016-06-30 14:30:30 -07:00
Thomas Nguyen
6516ad9dae
Bug 959388 - Deliver CSP from HTTP header. r=ckerschb, r=khuey
...
MozReview-Commit-ID: 13ndERn6rrL
--HG--
extra : rebase_source : e0ec31f9d322b1385994eb7d66bd885c91d75df3
2016-06-30 12:31:59 +08:00
Masatoshi Kimura
e1c10f93bc
Bug 1282038 - Follow-up: Ensure unprefixed fullscreen API is enabled. r=me
...
--HG--
extra : rebase_source : 839c307c4842da7d42ce68e55fb26d85c905980c
2016-06-30 19:25:48 +09:00
Carsten "Tomcat" Book
3a42c363cc
merge mozilla-inbound to mozilla-central a=merge
2016-06-30 12:33:41 +02:00
Xidorn Quan
0826f76d6e
Bug 1282334 part 2 - Ensure scheduling flush for fullscreen change. r=smaug
...
The refresh driver may not be triggered regularly if the page is static.
In that case, we need to ensure a flush is scheduled for fullscreen
change, otherwise the page may get stuck.
MozReview-Commit-ID: c5FhqaIUQW
--HG--
extra : source : 10269de859e1a6b532ecd02fafff205365c51f2b
2016-06-30 14:57:30 +10:00
Jocelyn Liu
36d3b49b3a
Bug 1276240 - Ignore typeExtension argument if the value is null or undefined. r=smaug
...
MozReview-Commit-ID: 4ZeySrIpgFr
--HG--
extra : rebase_source : 36d230e041b01622110027e00c7b0eb1188454ed
2016-06-28 17:07:32 +08:00
Kartikaya Gupta
31b88c18e8
Bug 1282587 - Remove telemetry probe expiring in Firefox 50. r=botond
...
MozReview-Commit-ID: IOBw3kRPNQY
--HG--
extra : rebase_source : 4a32c7e317f96256ed219e49cf2346160707074e
2016-06-27 17:52:50 -04:00
Carsten "Tomcat" Book
5c90a99952
merge mozilla-inbound to mozilla-central a=merge
2016-06-29 16:13:05 +02:00
Mantaroh Yoshinaga
943f1fd84b
Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
...
MozReview-Commit-ID: Kf7PzzAH9Tj
--HG--
extra : rebase_source : 29f8eb0a6f3a624ff9c5af07f558bd5522847844
2016-06-29 10:59:35 +09:00
Paul Roberts
6707fd2982
Bug 671389 - Export document sandbox flags to chrome JS. r=smaug
...
--HG--
extra : rebase_source : 91463b43748b72283644d25b56242c244cc2a6bf
2016-06-19 12:34:08 -07:00
Paul Roberts
ec18fc5ff7
Bug 671389 - Implement CSP sandbox directive. r=ckerschb r=smaug
...
--HG--
extra : rebase_source : d9c5f5868c2558a3696cd489674da6f243be11ad
2016-06-29 07:48:44 -07:00
Xidorn Quan
737139c4a7
Bug 1216049 part 2 - Remove Element::IsFullScreenAncestor() and replace its trivial callsites. r=smaug
...
MozReview-Commit-ID: F46GXziXTIR
--HG--
extra : source : 7f41b62bbdc368ae1cc8b85e24c3582868805bfc
2016-06-30 09:24:41 +10:00
Xidorn Quan
227146d238
Bug 1216049 part 1 - Remove the use of Element::IsFullScreenAncestor() in Element::UnbindFromTree(). r=smaug
...
Since UnbindFromTree() would eventually be called synchronously for
every element unbound, we don't have to check whether the root of
unbound elements is a fullscreen ancestor.
MozReview-Commit-ID: F6mxNsVZ2yl
--HG--
extra : source : ed575daf8d8907ad9b45040423b176d32b9c0a08
2016-06-30 09:24:41 +10:00
Masatoshi Kimura
e4ae8f8bff
Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst
...
MozReview-Commit-ID: I8y0gMA5BxE
--HG--
rename : dom/base/test/test_youtube_flash_embed.html => dom/base/test/file_youtube_flash_embed.html
2016-06-24 19:12:53 +09:00
Makoto Kato
c603b26d13
Bug 1203871 - Part 5. Use mozilla::Move for rect array. r=masayuki
...
To optimize copy of text rect array, we should use mozilla::Move. Also, after using it, we should mark is invalid result into SetEventResult
MozReview-Commit-ID: HH9H7DhK12
--HG--
extra : rebase_source : 4e02ece73583306c386597bc92e203fa147cfcbc
extra : histedit_source : 726621cdaf262b9d173ae19d505575f10563cc36
2016-06-14 16:52:31 +01:00
Makoto Kato
954a8896f5
Bug 1203871 - Part 4. Implement QUERY_TEXT_RECT_ARRAY to nsIDOMWindowUtils for unit test. r=masayuki,smaug
...
To test eQueryCharRectArray, I would like to add it to nsIDOMWindowUtils. Also this require unit test and will require external keyboard support on Android
Masayiki asks me more review to smaug this due IDL change.
MozReview-Commit-ID: 24lvQxXBnRX
--HG--
extra : rebase_source : 30788f550a465dc1ee058bf71d56656a89e364c2
extra : histedit_source : 2d2a2d4309b1fde6416408fe0e0d6b0f313898fb
2016-06-23 10:42:00 +01:00
Jan de Mooij
b6c8bdd67a
Bug 1283855
part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier
2016-07-05 11:06:06 +02:00
Jan de Mooij
31f7512e9f
Bug 1283855
part 5 - Make warning reporter APIs take JSContext instead of JSRuntime. r=arai
2016-07-05 11:06:05 +02:00
Alexandre Lissy
1d8ace6878
Bug 1282571 - Followup of 1281748 Remove BlobSet.h r=baku
...
MozReview-Commit-ID: 92TmpwWdVmU
--HG--
extra : rebase_source : fbdf4ba38fc9de283d7e328efd9671fe13426925
2016-06-27 23:22:10 +02:00
Chih-Yi Leu
8733310923
Bug 1221730 - Change GamepadServiceTest into webidl. r=qdot, r=baku
...
--HG--
extra : rebase_source : 8e04725e80467a17d1a1a775f791782abe842c1b
2016-06-28 00:26:00 +02:00
Chih-Yi Leu
42a49e9e8c
Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku
...
--HG--
extra : rebase_source : 5ad6d31a770d0d7b1b10d6aebf693ed24fc956ca
2016-06-28 00:25:00 +02:00
Christoph Kerschbaumer
24fbc29c99
Bug 1188642 - Use channel->ascynOpen2 in dom/base/nsObjectLoadingContent.cpp r=smaug
2016-06-28 09:37:55 +02:00
Matthew Gregan
5abc4a0cdb
Bug 1282592 - Fix compile error in nsDOMWindowUtils::GetSupportsHardwareH264Decoding when building without MP4 support. r=cpearce
2016-06-28 15:02:09 +12:00
Wes Kocher
8414c26e20
Merge m-c to inbound, a=merge
2016-06-27 14:09:06 -07:00
Wes Kocher
a5dca92e10
Merge inbound to central, a=merge
2016-06-27 14:04:56 -07:00
Wes Kocher
cd463132d8
Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
...
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)
--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
Andreas Farre
6e8409f046
Bug 1282375 - Add missing namespace qualifiers. r=baku
...
MozReview-Commit-ID: DUtnCS8xeFn
2016-06-27 02:47:00 +02:00
Mantaroh Yoshinaga
a9ead4dd43
Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
...
MozReview-Commit-ID: Kf7PzzAH9Tj
--HG--
extra : rebase_source : 1cb1ff9f06c778d55f8a4a6beedccba946a31fbc
2016-06-27 08:09:31 +09:00
Olli Pettay
b8eb7f0a9e
Bug 1274806, got NS_ERROR_UNEXPECTED error when I call range.extractContents() for DOM element with iframe , r=mats
2016-06-27 01:16:27 +03:00
Arthur Edelstein
54c8149d55
Bug 1281949 - When resisting fingerprinting, spoof screen.orientation
...
When privacy.resistFingerprinting is enabled, make sure that
screen.orientation.angle -> 0 and
screen.orientation.type -> "landscape-primary"
Also refactors screen.mozOrientation.
Based on https://trac.torproject.org/18958
2016-06-24 09:53:00 -07:00
Boris Zbarsky
9b1f1daa04
Bug 767938 part 10. Remove the now write-only XPCJSContextStack's actual stack of JSContexts and AutoCxPusher. r=bholley
2016-06-24 14:19:51 -04:00
Boris Zbarsky
cca4d3bf70
Bug 767938 part 9. Move the JSAutoRequest from AutoCxPusher to AutoJSAPI, because we're about to kill off AutoCxPusher. r=bholley
2016-06-24 14:19:51 -04:00
Boris Zbarsky
ad60b5c087
Bug 767938 part 7. Remove the now-debug-only uses of XPCJSContextStack::Peek and Count(). r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
16f83caaad
Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
edb18fcfaf
Bug 767938 part 5. Stop using the JSContext stack to get the current JSContext. r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
674ca7344c
Bug 767938 part 3. Make AutoJSAPI a ScriptSettingsStackEntry. r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
e7805058b1
Bug 767938 part 2. Move control over pushing/popping ScriptSettingsStackEntry instances into subclasses, so we can do the conditional pushing/popping AutoJSAPI will need. r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
78464e8e2a
Bug 767938 part 1. Change ScriptSettingsStackEntry to allow having stack entries that are neither candidates for being entry globals nor candidates for being incumbent globals. r=bholley
2016-06-24 14:19:50 -04:00
Robert Longson
ea7cbbe858
Bug 1279690 Part 2 - switch should always allowReorder. r=cam, r=dholbert
2016-06-24 18:47:18 +01:00
Dragana Damjanovic dd.mozilla@gmail.com
638edf0077
Bug 1279440 - Fix prefetch for rel=next. r=smaug
2016-06-23 08:52:00 +02:00
Christoph Kerschbaumer
0d99d638ef
Bug 1258111 - Fix crash in CheckPolicy. r=billm
2016-06-23 09:40:51 +02:00
Thomas Nguyen
7bcc37e4d7
Bug 1264165 - Update and add test cases. r=franziskus
2016-06-22 18:28:40 +08:00
Thomas Nguyen
545e22fb16
Bug 1264165 - Implement link referrerPolicy attribute. r=josh, r=khuey
...
MozReview-Commit-ID: GxMtNB23eD8
2016-06-24 10:38:47 +08:00