Search completed in 0.96 seconds.
From object to iframe — other embedding technologies - Learn web development
previous overview: multimedia and embedding next by now you should really be getting the hang of embedding things into your web pages, including images, video and audio.
... previous overview: multimedia and embedding next by now you should really be getting the hang of embedding things into your web pages, including images, video and audio.
...that is on the way out, but which you'll still see semi-regularly.
...And 34 more matches
<iframe>: The Inline Frame element - HTML: Hypertext Markup Language
the html inline frame element (<
iframe>) represents a nested browsing context, embedding another html page into the current one.
...tive-examples and send us a pull request.
... the browsing context that embeds the others is called the parent browsing context.
...And 31 more matches
HTMLIFrameElement - Web APIs
the html
iframeelement interface provides special properties and methods (beyond those of the htmlelement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
...aco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">htmlelement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#d4dde4" fill="none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#d4dde4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#d4dde4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#d4dde4"/><a xlink:href="/docs/web/api/html
iframeelement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">html
iframeelement</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties inherits ...
...h="170" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">html
iframeelement</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties inherits properties from its parent, htmlelement.
...And 26 more matches
HTMLIFrameElement.setVisible()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...ture is non-standard and is not on a standards track.
...And 6 more matches
HTMLIFrameElement.referrerPolicy - Web APIs
the html
iframeelement.referrerpolicy property reflects the html referrerpolicy attribute of the <
iframe> element defining which referrer is sent when fetching the resource.
... the html
iframeelement.referrerpolicy property reflects the html referrerpolicy attribute of the <
iframe> element defining which referrer is sent when fetching the resource.
... the html
iframeelement.referrerpolicy property reflects the html referrerpolicy attribute of the <
iframe> element defining which referrer is sent when fetching the resource.
...And 6 more matches
iframe - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] an inner frame that works much like the html <
iframe> element.
... « xul reference home [ examples | attributes | properties | methods | related ] an inner frame that works much like the html <
iframe> element.
... « xul reference home [ examples | attributes | properties | methods | related ] an inner frame that works much like the html <
iframe> element.
...And 5 more matches
nsIFrameLoader
content/base/public/ns
iframeloader.idlscriptable handles loading a frame.
...iuri auri); void sendcrossprocesskeyevent(in astring atype, in long akeycode, in long acharcode, in long amodifiers, [optional] in boolean apreventdefault); void sendcrossprocessmouseevent(in astring atype, in float ax, in float ay, in long abutton, in long aclickcount, in long amodifiers, [optional] in boolean aignorerootscrollframe); void updatepositionandsize(in ns
iframe a
iframe); native code only!
... clicked, if any.
...And 5 more matches
HTMLIFrameElement.src - Web APIs
the html
iframeelement.src property reflects the html referrerpolicy attribute of the <
iframe> element defining which referrer is sent when fetching the resource.
... the html
iframeelement.src property reflects the html referrerpolicy attribute of the <
iframe> element defining which referrer is sent when fetching the resource.
... the html
iframeelement.src property reflects the html referrerpolicy attribute of the <
iframe> element defining which referrer is sent when fetching the resource.
...And 5 more matches
nsIFrameLoaderOwner
content/base/public/ns
iframeloader.idlscriptable represents the owner of an ns
iframeloader.
... content/base/public/ns
iframeloader.idlscriptable represents the owner of an ns
iframeloader.
... 1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview [noscript, notxpcom] alreadyaddrefed_nsframeloader getframeloader(); void swapframeloaders(in ns
iframeloaderowner aotherowner); attributes attribute type description frameloader ns
iframeloader the frame loader owned by this ns
iframeloaderowner.
...And 4 more matches
nsIFrameMessageManager
1.0 66 introduced gecko 2.0 obsolete gecko 17.0 inherits from: nsisupports last changed in gecko 17.0 (firefox 17.0 / thunderbird 17.0 / seamonkey 2.14) this interface is obsolete and was removed in firefox 17.
...7.0 (firefox 17.0 / thunderbird 17.0 / seamonkey 2.14) this interface is obsolete and was removed in firefox 17.
...] in boolean listenwhenclosed); void removemessagelistener(in astring amessage, in ns
iframemessagelistener alistener); void sendasyncmessage(in astring amessage, in astring json); methods addmessagelistener() adds a message listener to the local frame.
...And 4 more matches
HTMLIFrameElement.getMuted()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...not use it on production sites facing the web: it will not work for every user.
...And 3 more matches
HTMLIFrameElement.getVolume()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...rack.
...And 3 more matches
HTMLIFrameElement.purgeHistory()
warning: removed in firefox 65.
... warning: removed in firefox 65.
...ehistory() method of the html
iframeelement interface is used to clear the browsing history associated with the browser <
iframe>.
...And 3 more matches
HTMLIFrameElement.sendMouseEvent()
non-standard this feature is non-standard and is not on a standards track.
...tandard this feature is non-standard and is not on a standards track.
... and is not on a standards track.
...And 3 more matches
HTMLIFrameElement.getActive()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...d and is not on a standards track.
...And 2 more matches
HTMLIFrameElement.getScreenshot()
warning: removed in firefox 65.
... warning: removed in firefox 65.
...ithin a specified maximum width and height.
...And 2 more matches
HTMLIFrameElement.getVisible()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...d and is not on a standards track.
...And 2 more matches
HTMLIFrameElement.setActive()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...dards track.
...And 2 more matches
HTMLIFrameElement.contentWindow - Web APIs
the contentwindow property returns the window object of an html
iframeelement.
... the contentwindow property returns the window object of an html
iframeelement.
... the contentwindow property returns the window object of an html
iframeelement.
...And 2 more matches
HTMLIFrameElement.findAll()
warning: removed in firefox 65.
... warning: removed in firefox 65.
...rst instance of the string relative to the caret position will be highlighted.
...which carries details about the search results.
HTMLIFrameElement.getManifest()
warning: removed in firefox 65.
... warning: removed in firefox 65.
... warning: removed in firefox 65.
... the getmanifest() method of the html
iframeelement interface retrieves the manifest of an app loaded in the browser <
iframe> and returns it as json.
HTMLIFrameElement.goBack()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...standard and is not on a standards track.
...hange in the future.
HTMLIFrameElement.goForward()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...e is non-standard and is not on a standards track.
... behavior may change in the future.
HTMLIFrameElement.mute()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...oduction sites facing the web: it will not work for every user.
HTMLIFrameElement.setVolume()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...on-standard this feature is non-standard and is not on a standards track.
... and the behavior may change in the future.
HTMLIFrameElement.unmute()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...non-standard this feature is non-standard and is not on a standards track.
...n sites facing the web: it will not work for every user.
HTMLIFrameElement.zoom()
warning: removed in firefox 65.
... warning: removed in firefox 65.
... warning: removed in firefox 65.
...seful for zooming in/out on non-touch-enabled devices.
HTMLIFrameElement.download()
warning: removed in firefox 65.
... warning: removed in firefox 65.
...tional settings to be specified for the download.
HTMLIFrameElement.getCanGoBack()
non-standard this feature is non-standard and is not on a standards track.
...n-standard and is not on a standards track.
...ards track.
HTMLIFrameElement.getCanGoForward()
non-standard this feature is non-standard and is not on a standards track.
...s non-standard and is not on a standards track.
...tandards track.
HTMLIFrameElement.getContentDimensions()
warning: removed in firefox 65.
... warning: removed in firefox 65.
...tanceofhtml
iframeelement.getcontentdimensions(); returns a domrequest for handling the dimensions request.
HTMLIFrameElement.reload()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...andard this feature is non-standard and is not on a standards track.
HTMLIFrameElement.stop()
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...rd this feature is non-standard and is not on a standards track.
Working with iframes - Firefox Developer Tools
you can point the developer tools at a specific
iframe within a document.
... you can point the developer tools at a specific
iframe within a document.
... you can point the developer tools at a specific
iframe within a document.
HTMLIFrameElement.allowPaymentRequest - Web APIs
the allowpaymentrequest property of the html
iframeelement interface returns a boolean indicating whether the payment request api may be invoked on a cross-origin
iframe.
... the allowpaymentrequest property of the html
iframeelement interface returns a boolean indicating whether the payment request api may be invoked on a cross-origin
iframe.
...equest api may be invoked on a cross-origin
iframe.
HTMLIFrameElement.csp - Web APIs
the csp property of the html
iframeelement interface specifies the content security policy that an embedded document must agree to enforce upon itself.
... the csp property of the html
iframeelement interface specifies the content security policy that an embedded document must agree to enforce upon itself.
... the csp property of the html
iframeelement interface specifies the content security policy that an embedded document must agree to enforce upon itself.
HTMLIFrameElement.setNfcFocus() - Web APIs
the setnfcfocus() method of the html
iframeelement interface sets whether an <
iframe> can receive an nfc event.
... the setnfcfocus() method of the html
iframeelement interface sets whether an <
iframe> can receive an nfc event.
... the setnfcfocus() method of the html
iframeelement interface sets whether an <
iframe> can receive an nfc event.
HTMLIFrameElement.findNext()
warning: removed in firefox 65.
...ous instance of a search result after a findall() search has been carried out.
nsIIFrameBoxObject
layout/xul/base/public/nsi
iframeboxobject.idlscriptable please add a summary to this article.
... layout/xul/base/public/nsi
iframeboxobject.idlscriptable please add a summary to this article.
HTMLIFrameElement.featurePolicy - Web APIs
the featurepolicy read-only property of the html
iframeelement interface returns the featurepolicy interface which provides a simple api for introspecting the feature policies applied to a specific frame.
... the featurepolicy read-only property of the html
iframeelement interface returns the featurepolicy interface which provides a simple api for introspecting the feature policies applied to a specific frame.
Browser API
the html browser api is an extension of the html <
iframe> element that allows web apps to implement browsers or browser-like applications.
... the html browser api is an extension of the html <
iframe> element that allows web apps to implement browsers or browser-like applications.
... the html browser api is an extension of the html <
iframe> element that allows web apps to implement browsers or browser-like applications.
...And 93 more matches
Index - Web APIs
f the body mixin takes a response stream and reads it to completion.
...mes, or
iframes) with the same origin (usually pages from the same site).
...on interface represents the caret position, an indicator for the text insertion point.
...And 51 more matches
Event reference
d the corresponding raw samples are available.
...itydone firefox os browser api-specific sent when some activity has been completed (complete description tbd.) mozbrowserasyncscroll firefox os browser api-specific sent when the scroll position within a browser <
iframe> changes.
...cscroll firefox os browser api-specific sent when the scroll position within a browser <
iframe> changes.
...And 24 more matches
Using the Browser API
non-standard this feature is non-standard and is not on a standards track.
... the html browser api is an extension of the html <
iframe> element that allows web apps to implement browsers or browser-like applications.
...rame> element that allows web apps to implement browsers or browser-like applications.
...And 22 more matches
Using channel messaging - Web APIs
the channel messaging api allows two separate scripts running in different browsing contexts attached to the same document (e.g., two
iframes, or the main document and an
iframe, or two documents via a sharedworker) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
...r) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
...able in web workers.
...And 20 more matches
Space Manager Detailed Design - Archive of obsolete content
be).
...manager(); void* operator new(size_t asize); void operator delete(void* aptr, size_t asize); static void shutdown(); /* * get the frame that's associated with the space manager.
...ace is * relative to the local coordinate system.
...And 14 more matches
Using Remote XUL - Archive of obsolete content
ml-based language, and this instruction tells browsers how to parse the document.
... other elements.
...ad and display in our web browser, even though there's nothing to see yet.
...And 13 more matches
The JavaScript input interpreter - Firefox Developer Tools
f9 on windows and linux ( ctrl+r on mac) cycles backwards through the matches.
...ac) cycles backwards through the matches.
...earch, you can use shift + f9 on windows or linux ( ctrl+s on mac) to search forward in the list of matches.
...And 12 more matches
Canvas code snippets - Archive of obsolete content
=> canvas.toblob(accept, type, options)); reader.readasarraybuffer(blob); yield new promise(accept => { reader.onloadend = accept }); return yield os.file.writeatomic(path, new uint8array(reader.result), { tmppath: path + '.tmp' }); }); } loading a remote page onto a canvas element the following class first creates a hidden
iframe element and attaches a listener to the frame's load event.
...ld os.file.writeatomic(path, new uint8array(reader.result), { tmppath: path + '.tmp' }); }); } loading a remote page onto a canvas element the following class first creates a hidden
iframe element and attaches a listener to the frame's load event.
...is only works if you are running the page from chrome.
...And 11 more matches
Storage access policy: Block cookies from trackers
origin as described in this section.
...anted access on example.com it would be able to access its storage on bar.foo.example.com, foo.example.com, and example.com.
...access its storage on bar.foo.example.com, foo.example.com, and example.com.
...And 11 more matches
Viewport concepts - CSS: Cascading Style Sheets
ottom of the layout viewport into view, displaying the sticky footer, which will then stay stuck at the bottom.
...wport that is fully or partially displayed within the layout viewport is considered a visual viewport.
... height of the browser window.
...And 11 more matches
Feature-Policy: fullscreen - HTTP
s policy is enabled, the returned promise rejects with a typeerror.
... fullscreen directive didn't work unless the allowfullscreen attribute was also present, but this has been fixed as of firefox 80 (bug 1608358).
... (bug 1608358).
...And 11 more matches
Autoplay guide for media and Web Audio APIs - Web media technologies
is muted or its volume is set to 0 the user has interacted with the site (by clicking, tapping, pressing keys, etc.) if the site has been whitelisted; this may happen either automatically if the browser determines that the user engages with media frequently, or manually through preferences or other user interface features if the autoplay feature policy is used to grant autoplay support to an <
iframe> and its document.
...racters), indicating that autoplay is permitted as they're hosted on the same domain as the document.
...rom all domains, or one or more specific origins from which media can be automatically played.
...And 11 more matches
Feature-Policy: geolocation - HTTP
ir same-origin child frames.
...-origin frames.
...location <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 10 more matches
HTML to DOM - Archive of obsolete content
into dom for easier manipulation.
...ns the element name html (instead of body), you have all document object with its complete functions list, therefore you can retrieve info within div tag like this: var dompars = htmlparser("<div id='userinfo'>john was a mediocre programmer, but people liked him <strong>anyway</strong>.</div>"); alert(dompars.getelementbyid('userinfo').innerhtml); to parse a complete html page, load it into an
iframe whose type is content (not chrome).
...ent object with its complete functions list, therefore you can retrieve info within div tag like this: var dompars = htmlparser("<div id='userinfo'>john was a mediocre programmer, but people liked him <strong>anyway</strong>.</div>"); alert(dompars.getelementbyid('userinfo').innerhtml); to parse a complete html page, load it into an
iframe whose type is content (not chrome).
...And 9 more matches
Splitters - Archive of obsolete content
e attribute, you should also add a grippy element inside the splitter which the user can use to collapse the element.
...utes of the elements next the splitter are adjusted when the splitter is dragged.
...itter is dragged.
...And 9 more matches
Content Panels - Archive of obsolete content
elements such the back and next buttons are the same throughout the interface.
...element of the same name.
...ontents can be loaded from a different file.
...And 7 more matches
mozbrowserasyncscroll
non-standard this feature is non-standard and is not on a standards track.
...not use it on production sites facing the web: it will not work for every user.
...and the behavior may change in the future.
...And 7 more matches
Index
ptable, xpcom, xpcom api reference, xpcom interface reference the console service is the back-end for the error console, bundled with every mozilla application, and for firefox's web console and browser console.
...terfaces:scriptable, needscontent, xpcom, xpcom interface reference the boxobject belonging to a xul browser, editor or
iframe element implements this interface.
...1 nsicontentview electrolysis, interfaces, interfaces:scriptable, mobile, xpcom interface reference see working with content views for details on how to use this api.
...And 7 more matches
Feature-Policy - HTTP
the http feature-policy header provides a mechanism to allow and deny the use of browser features in its own frame, and in content within any <
iframe> elements in the document.
...yes syntax feature-policy: <directive> <allowlist> <directive> the feature policy directive to apply the allowlist to.
....
...And 7 more matches
Embedding the editor
ul application developers need to embed composer widgets in their xul applications, by using the <editor> tag as we do today.
...destroyed by the nseditorboxobject.
...d by content nodes, and survives frame destruction/recreation.
...And 6 more matches
MessageChannel - Web APIs
workers.
... returns port2 of the channel.
...th two new messageport objects.
...And 6 more matches
MessagePort - Web APIs
eserialized.
...e property.
...also available via the onmessageerror property.
...And 6 more matches
Storage Access API - Web APIs
ces loaded from all embedded origins and possibly across all websites.
...addition, sandboxed <
iframe>s cannot be granted storage access by default for security reasons.
...w-storage-access-by-user-activation sandbox token.
...And 6 more matches
Rich-Text Editing in Mozilla - Developer guides
editors.
... : generated html differences mozilla: <span style="font-weight: bold;">i love geckos.</span> <span style="font-weight: bold; font-style: italic; text-decoration: underline;">dinosaurs are big.</span> internet explorer: <strong>i love geckos.</strong> <strong><em><u>dinosaurs are big.</u></em></strong> another difference between mozilla and ie is how to access the document object of an
iframe, which is usually used in conjunction with designmode.
...yle="font-weight: bold; font-style: italic; text-decoration: underline;">dinosaurs are big.</span> internet explorer: <strong>i love geckos.</strong> <strong><em><u>dinosaurs are big.</u></em></strong> another difference between mozilla and ie is how to access the document object of an
iframe, which is usually used in conjunction with designmode.
...And 6 more matches
Using IndexedDB - Web APIs
e the situation where already opened apps may initiate code leading to a new attempt to open the database, but using an outdated version.
...order-radius: 0.3em; display: inline-block; margin-bottom: 0.5em; padding: 1em; } table { border-collapse: collapse; } input { padding: 0.3em; border-color: #cccccc; border-radius: 0.3em; } .required:after { content: "*"; color: red; } .button-pane { margin-top: 1em; } #pub-viewer { float: right; width: 48%; height: 20em; border: solid #d092ff 0.1em; } #pub-viewer
iframe { width: 100%; height: 100%; } #pub-list { width: 46%; background-color: #eeeeee; border-radius: 0.3em; } #pub-list li { padding-top: 0.5em; padding-bottom: 0.5em; padding-right: 0.5em; } #msg { margin-bottom: 1em; } .action-success { padding: 0.5em; color: #00d21e; background-color: #eeeeee; border-radius: 0.2em; } .action-failure { padding: 0.5em; color: #ff140...
...ue) success_callback(value.blob); }; } /** * @param {idbobjectstore=} store */ function displaypublist(store) { console.log("displaypublist"); if (typeof store == 'undefined') store = getobjectstore(db_store_name, 'readonly'); var pub_msg = $('#pub-msg'); pub_msg.empty(); var pub_list = $('#pub-list'); pub_list.empty(); // resetting the
iframe so that it doesn't display previous content newviewerframe(); var req; req = store.count(); // requests are executed in the order in which they were made against the // transaction, and their results are returned in the same order.
...And 5 more matches
MediaDevices.getUserMedia() - Web APIs
a().
...ure policy security management feature of http is in the process of being introduced into browsers, with support available to some extent in many browsers (though not always enabled by default, as in firefox).
... prepared to deal with this.
...And 5 more matches
Index - Archive of obsolete content
ce no summary!
...rsion your code is running on.
...ll checking in xul add-ons, extensions spell checking functionality is available starting in firefox 2.
...And 4 more matches
Adding vector graphics to the Web - Learn web development
ould cache regular image assets, so pages that include the image will not load faster after the first page containing the image is loaded.
...containing the image is loaded.
...in a <foreignobject> element, but browsers that support svg still download any fallback images.
...And 4 more matches
Index - Learn web development
tour would be boring and confusing at this stage, and we just wanted to give you an idea of the most common things you'll find in there for now!
...let's start looking at how to make the web come alive with more interesting content!
... about, and how to include svg inside your webpages.
...And 4 more matches
mozbrowserfindchange
non-standard this feature is non-standard and is not on a standards track.
...tandard this feature is non-standard and is not on a standards track.
... non-standard and is not on a standards track.
...And 4 more matches
mozbrowsershowmodalprompt
non-standard this feature is non-standard and is not on a standards track.
... for every user.
...ershowmodalprompt event is fired when the content of a browser <
iframe> calls the window.alert(), window.confirm(), or window.prompt() methods.
...And 4 more matches
Pointer Lock API - Web APIs
animation = requestanimationframe(function() { animation = null; canvasdraw(); }); } } the canvasdraw() function draws the ball in the current x and y positions: function canvasdraw() { ctx.fillstyle = "black"; ctx.fillrect(0, 0, canvas.width, canvas.height); ctx.fillstyle = "#f00"; ctx.beginpath(); ctx.arc(x, y, radius, 0, degtorad(360), true); ctx.fill(); }
iframe limitations pointer lock can only lock one
iframe at a time.
...vasdraw(); }); } } the canvasdraw() function draws the ball in the current x and y positions: function canvasdraw() { ctx.fillstyle = "black"; ctx.fillrect(0, 0, canvas.width, canvas.height); ctx.fillstyle = "#f00"; ctx.beginpath(); ctx.arc(x, y, radius, 0, degtorad(360), true); ctx.fill(); }
iframe limitations pointer lock can only lock one
iframe at a time.
...w() function draws the ball in the current x and y positions: function canvasdraw() { ctx.fillstyle = "black"; ctx.fillrect(0, 0, canvas.width, canvas.height); ctx.fillstyle = "#f00"; ctx.beginpath(); ctx.arc(x, y, radius, 0, degtorad(360), true); ctx.fill(); }
iframe limitations pointer lock can only lock one
iframe at a time.
...And 4 more matches
Window.pageYOffset - Web APIs
s.
...").contentdocument .body.innerhtml = contenthtml; in this example, an <
iframe> is created and filled with content, then a specific element within the document is scrolled into view in the frame.
...hin the document is scrolled into view in the frame.
...And 4 more matches
Feature-Policy: accelerometer - HTTP
ntrols whether the current document is allowed to gather information about the acceleration of the device through the accelerometer interface.
...er interface.
...erometer <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: ambient-light-sensor - HTTP
allowed to gather information about the amount of light in the environment around the device through the ambientlightsensor interface.
...rface.
...t-sensor <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: autoplay - HTTP
<video> elements will be ignored.
...nd web audio apis.
...autoplay <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: battery - HTTP
ment is allowed to gather information about the acceleration of the device through the batterymanager interface obtained via navigator.getbattery().
...gator.getbattery().
... battery <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: camera - HTTP
owed to use video input devices.
...h a notallowederror.
...: camera <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: display-capture - HTTP
n's contents.
...laymedia().
...-capture <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: document-domain - HTTP
ent.domain.
... be thrown.
...t-domain <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: encrypted-media - HTTP
ns api (eme).
...exception.
...ed-media <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: gyroscope - HTTP
ective controls whether the current document is allowed to gather information about the orientation of the device through the gyroscope interface.
...oscope interface.
...yroscope <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: layout-animations - HTTP
the http feature-policy header layout-animations directive controls whether the current document is allowed to show layout animations.
...imations.
...imations <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: legacy-image-formats - HTTP
ture-policy header legacy-image-formats directive controls whether the current document is allowed to display images in legacy formats.
...rmats.
...-formats <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: magnetometer - HTTP
controls whether the current document is allowed to gather information about the orientation of the device through the magnetometer interface.
...ter interface.
...etometer <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: microphone - HTTP
to use audio input devices.
...notallowederror.
...crophone <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: midi - HTTP
is allowed to use the web midi api.
...t with a domexception.
...cy: midi <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: oversized-images - HTTP
ttp feature-policy header oversized-images directive controls whether the current document is allowed to download and display large images.
...ge images.
...d-images <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: payment - HTTP
current document is allowed to use the payment request api.
...hrow a syntaxerror.
... payment <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: picture-in-picture - HTTP
icture directive controls whether the current document is allowed to play a video in a picture-in-picture mode via the corresponding api.
...ing api.
...-picture <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: publickey-credentials-get - HTTP
als.get({publickey: ..., ...}).
....
...ials-get <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: screen-wake-lock - HTTP
o indicate that device should not dim or turn off the screen.
...ake-lock.
...ake-lock <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: sync-xhr - HTTP
the http feature-policy header sync-xhr directive controls whether the current document is allowed to make synchronous xmlhttprequest requests.
...prequest requests.
...sync-xhr <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: unoptimized-images - HTTP
e-policy header unoptimized-images directive controls whether the current document is allowed to download and display unoptimized images.
... images.
...d-images <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: unsized-media - HTTP
blem caused by providing default dimensions for images whose size is not specified in advance so that image doesn't change size after loading.
...fter loading.
...ed-media <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: usb - HTTP
the http feature-policy header usb directive controls whether the current document is allowed to use the webusb api.
... to use the webusb api.
...icy: usb <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: vibrate - HTTP
der vibrate directive controls whether the current document is allowed to trigger device vibrations via navigator.vibrate() method of vibration api.
...hod of vibration api.
...y: vibrate <allowlist>; <vibrate> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: wake-lock - HTTP
api to indicate that device should not enter power-saving mode.
...-lock directive.
...ake-lock <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
web-share - HTTP
s allowed to use the navigator.share() of web share api to share text, links, images, and other content to arbitrary destiations of user's choice.
...of user's choice.
...eb-share <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
Feature-Policy: xr-spatial-tracking - HTTP
te support for sessions supporting spatial tracking via navigator.xr.issessionsupported() and devicechange event on navigator.xr object.
...object.
...tracking <allowlist>; <allowlist> an allowlist is a list of origins that takes one or more of the following values, separated by spaces: *: the feature will be allowed in this document, and all nested browsing contexts (
iframes) regardless of their origin.
...And 4 more matches
The life of an HTML HTTP request - Archive of obsolete content
ke nshtmlcontentsink::willinterrupt() and nshtmlcontentsink::didbuildmodel().
...umentobserver with the nsidocument it also gets notified of changes in the document/content tree.
...de according to the rules specified in the user agent stylesheet (ua.css) and the document specific style sheets.
...And 3 more matches
mozbrowsercaretstatechanged
non-standard this feature is non-standard and is not on a standards track.
...arge incompatibilities between implementations and the behavior may change in the future.
...hen the user selects content in a page loaded in a browser <
iframe>.
...And 3 more matches
mozbrowsercontextmenu
non-standard this feature is non-standard and is not on a standards track.
...ere may also be large incompatibilities between implementations and the behavior may change in the future.
... is fired when the user tried to access a context menu over a browser <
iframe>.
...And 3 more matches
mozbrowseropenwindow
non-standard this feature is non-standard and is not on a standards track.
...b: it will not work for every user.
...en a new window is required — usually when the content of a browser <
iframe> successfully calls the window.open() method, or the user clicks on a link with an unknown target.
...And 3 more matches
mozbrowserresize
non-standard this feature is non-standard and is not on a standards track.
...not use it on production sites facing the web: it will not work for every user.
...and the behavior may change in the future.
...And 3 more matches
mozbrowserscroll
non-standard this feature is non-standard and is not on a standards track.
...rds track.
...plementations and the behavior may change in the future.
...And 3 more matches
mozbrowserscrollareachanged
non-standard this feature is non-standard and is not on a standards track.
...compatibilities between implementations and the behavior may change in the future.
... available scrolling area in the browser <
iframe> changes.
...And 3 more matches
mozbrowservisibilitychange
non-standard this feature is non-standard and is not on a standards track.
... non-standard this feature is non-standard and is not on a standards track.
...ery user.
...And 3 more matches
contentDocument - Web APIs
if the
iframe and the
iframe's parent document are same origin, returns a document (that is, the active document in the inline frame's nested browsing context), else returns null.
... if the
iframe and the
iframe's parent document are same origin, returns a document (that is, the active document in the inline frame's nested browsing context), else returns null.
... if the
iframe and the
iframe's parent document are same origin, returns a document (that is, the active document in the inline frame's nested browsing context), else returns null.
...And 3 more matches
srcdoc - Web APIs
the srcdoc property of the html
iframeelement specifies the content of the page.
... the srcdoc property of the html
iframeelement specifies the content of the page.
... the srcdoc property of the html
iframeelement specifies the content of the page.
...And 3 more matches
MessageChannel() - Web APIs
) constructor of the messagechannel interface returns a new messagechannel object with two new messageport objects.
...rface returns a new messagechannel object with two new messageport objects.
... channel = new messagechannel(); returns a newly created messagechannel object.
...And 3 more matches
MessageChannel.port1 - Web APIs
— the port attached to the context that originated the channel.
... channel.
...nel, that is the port attached to the context that originated the channel.
...And 3 more matches
MessageChannel.port2 - Web APIs
nnel, which the message is initially sent to.
...t to.
...of the channel, the port attached to the context at the other end of the channel.
...And 3 more matches
MessagePort.onmessage - Web APIs
e messageport interface is an eventlistener, called whenever an messageevent of type message is fired on the port — that is, when the port receives a message.
...never an messageevent of type message is fired on the port — that is, when the port receives a message.
...e in web workers.
...And 3 more matches
MessagePort.postMessage() - Web APIs
type.
...ansferlist optional transferable objects to be transferred — these objects have their ownership transferred to the receiving browsing context, so are no longer usable by the sending browsing context.
...sing context, so are no longer usable by the sending browsing context.
...And 3 more matches
Index - HTTP
nt-security-policy (csp) block-all-mixed-content directive prevents loading any assets using http when the page is loaded using https.
... csp, directive, http, security the http content-security-policy (csp) form-action directive restricts the urls which can be used as the target of a form submissions from a given context.
...ttp content-security-policy (csp) frame-ancestors directive specifies valid parents that may embed a page using <frame>, <
iframe>, <object>, <embed>, or <applet>.
...And 3 more matches
HTTP Index - HTTP
-content directive prevents loading any assets using http when the page is loaded using https.
...curity-policy (csp) form-action directive restricts the urls which can be used as the target of a form submissions from a given context.
...irective specifies valid parents that may embed a page using <frame>, <
iframe>, <object>, <embed>, or <applet>.
...And 3 more matches
Privacy, permissions, and information security
content security policy provides the ability to define the extent to which a document's content can be accessed by other devices over the web; used in particular to prevent or mitigate attacks on the server feature policy lets web developers selectively enable, disable, and modify the behavior of certain features and apis both for a document and for subdocuments loaded in <
iframe>s <
iframe>'s allow attribute technically part of feature policy, the allow attribute on an <
iframe> specifies which web features the document in the frame should be allowed to access http public key pinning (hpkp) hpkp is used by servers to instruct a client to associate a specific public key with the server going forward in order to decrease the likelihood of man-in-the-m...
... transport layer security (tls); formerly known as secure sockets layer (ssl) tls provides security and privacy by encrypting data during transport over the network.
...y used within code; notably, the permissions api, feature policy, and the allow attribute on <
iframe> elements are primary tools directly used by code to help secure a site and its content.
...And 3 more matches
Cross-domain Content Scripts - Archive of obsolete content
by default, content scripts don't have any cross-domain privileges.
... the scheme and fully qualified domain name, and these must exactly match the domains serving the content - so in the example above, the content script will not be allowed to access content served from https://example.com/.
... content script called "page.js" to the page, waits for messages from the script, and logs the payload.
...And 2 more matches
xbDesignMode.js - Archive of obsolete content
l code is * netscape communications corporation.
... * portions created by the initial developer are copyright (c) 2003 * the initial developer.
...l developer.
...And 2 more matches
Gecko info for Windows accessibility vendors
he current document into a buffer in their own process.
... vt_bstr.
... n/a role_caret supported for caret fires event_show, event_hide, event_locationchange role_alert xul: <browsermessage> dhtml: role="wairole:alert" fires event_alert role_window supported automatically by ms windows role_client xul: <browser> html: <frame> or <
iframe> role_menupopup dhtml: role="wairole:menu" fires event_menupopupstart, event_menupopupend role_menuitem xul: menuitem dhtml: role="wairole:menuitem" sets state_checked for radio or checkbox menuitem types accelerator key comes in accname after a \t (tab) character.
...And 2 more matches
mozbrowserloadend
non-standard this feature is not on a current w3c standards track, but it is supported on the firefox os platform.
...x os apps.
...s can be used when the embedder wants to stop spinning a loading indicator, or update the ui in some other way to indicate loading is complete.
...And 2 more matches
DevTools API - Firefox Developer Tools
e has been unregistered.
...oolbox is destroyed.
...etwork monitor initialized to toolbox", toolbox); }); toolsidebar to build a sidebar in your tool, first, add a xul:tabbox where you want the sidebar to live: <splitter class="devtools-side-splitter"/> <tabbox id="mytool-sidebar" class="devtools-sidebar-tabs" hidden="true"> <tabs/> <tabpanels flex="1"/> </tabbox> a sidebar is composed of tabs.
...And 2 more matches
Storage Inspector - Firefox Developer Tools
the storage inspector enables you to inspect various types of storage that a web page can use.
... it can be used to inspect the following storage types: cache storage — any dom caches created using the cache api.
... the page or any
iframes inside of the page.
...And 2 more matches
Web Console Helpers - Firefox Developer Tools
ponding string: "number", "string", "bool", "node", or "nodes"; if not provided, any_type is used.
... in the network monitor, the string now appears and is selected in the request blocking sidebar.
...or, the string now appears and is selected in the request blocking sidebar.
...And 2 more matches
Document.adoptNode() - Web APIs
ode = document.adoptnode(externalnode); parameters externalnode the node from another document to be adopted.
...node); parameters externalnode the node from another document to be adopted.
...ers externalnode the node from another document to be adopted.
...And 2 more matches
Cross-global fetch usage - Web APIs
this article explains an edge case that occurs with fetch (and potentially other apis exhibiting the same kind of resource retrieval behavior).
... this article explains an edge case that occurs with fetch (and potentially other apis exhibiting the same kind of resource retrieval behavior).
...urs with fetch (and potentially other apis exhibiting the same kind of resource retrieval behavior).
...And 2 more matches
Using the Storage Access API - Web APIs
ince embedded content won’t know which storage policy is in use by the user, it’s best to always check whether the embedded frame has storage access before attempting to read or write from storage.
...use by the user, it’s best to always check whether the embedded frame has storage access before attempting to read or write from storage.
...e from storage.
...And 2 more matches
Text labels and names - Accessibility
news about this product.</label> form elements should have a visible text label in addition to having a <label> for every form element, those labels should be visible, not hidden.
...e, with content identical to the frame's title attribute.
...your control; if not, try to match the frame's title attribute to the document's title.) some screen readers replace the contents of the title attribute with the contents of the enclosed document's <title>.
...And 2 more matches
Content-Security-Policy - HTTP
tent-security-policy: <policy-directive>; <policy-directive> where <policy-directive> consists of: <directive> <value> with no internal punctuation.
...s, you should use the frame-src and worker-src directives, respectively.
...fest files.
...And 2 more matches
Array.isArray() - JavaScript
ng calls return false array.isarray(); array.isarray({}); array.isarray(null); array.isarray(undefined); array.isarray(17); array.isarray('array'); array.isarray(true); array.isarray(false); array.isarray(new uint8array(32)); array.isarray({ __proto__: array.prototype }); instanceof vs isarray when checking for array instance, array.isarray is preferred over instanceof because it works through
iframes.
...n false array.isarray(); array.isarray({}); array.isarray(null); array.isarray(undefined); array.isarray(17); array.isarray('array'); array.isarray(true); array.isarray(false); array.isarray(new uint8array(32)); array.isarray({ __proto__: array.prototype }); instanceof vs isarray when checking for array instance, array.isarray is preferred over instanceof because it works through
iframes.
...array({}); array.isarray(null); array.isarray(undefined); array.isarray(17); array.isarray('array'); array.isarray(true); array.isarray(false); array.isarray(new uint8array(32)); array.isarray({ __proto__: array.prototype }); instanceof vs isarray when checking for array instance, array.isarray is preferred over instanceof because it works through
iframes.
...And 2 more matches
Lazy loading - Web Performance
it is possible to perform some css optimizations to achieve that.
...y, and the font loading api.
...es very often, webpages contain many images that contribute to data-usage and how fast a page can load.
...And 2 more matches
page-mod - Archive of obsolete content
contentstyle lists stylesheets to attach, supplied as strings.
...ose specified by the contentstylefile option.
...ment that satisfies the rule includes ten
iframes using a relative url, then your page-mod is applied eleven times.
...alues: "existing": the page-mod will be automatically applied on already opened tabs.
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
des = gbrowser.mtabcontainer.childnodes; for (var i = 0; i < nodes.length; i++) alert(nodes[i].label); ]]></script> listing 18: embedding a script in xul note: although embedding javascript is permitted, it's generally encouraged that you instead place your javascript code in an external file.
...label); ]]></script> listing 18: embedding a script in xul note: although embedding javascript is permitted, it's generally encouraged that you instead place your javascript code in an external file.
...allows you to use inline frames.
...at uri will be opened by default.
Style System Overview - Archive of obsolete content
rents (ugly when we have multiple frames per content node).
...estroys and recreates style contexts for existing frames (rule node pointer immutable).
...ee for a style sheet/rule removal.
...hashtable just for inline style rules so that we don't have to walk the whole tree to find the nodes.
nsIContentPolicy - Archive of obsolete content
indicates a stylesheet (for example, <style> elements).
... a generic object (plugin-handled content typically falls under this category).
...nt policy implementations, and should not be used outside gecko core code.
... type_internal_frame 28 an internal constant used to represent content loaded from <frame> elements.
Mozilla accessibility architecture
the real work.
... is returned by nsiaccessible's traversal methods atk/msaa toolkit traversal method → nsaccessible traversal method → nsaccessibletreewalker method which traverses dom & anonymous content → nsiaccessibilityservice::getaccessible() with the content node → nsdocaccessible::getcachedaccessnode() and returns if successful, or → nsiaccessibleprovider::getaccessible() (if xul) or → ns
iframe::getaccessible() (if html), which either return nothing or → nsiaccessibilityservice::create[inserttypenamehere]accessible() → operator new, which finally constructs the object.
...he content node → nsdocaccessible::getcachedaccessnode() and returns if successful, or → nsiaccessibleprovider::getaccessible() (if xul) or → ns
iframe::getaccessible() (if html), which either return nothing or → nsiaccessibilityservice::create[inserttypenamehere]accessible() → operator new, which finally constructs the object.
... doesn't have a dom node or anonymous content for its s textfield, button or list.
Inner and outer windows
r to represent these levels of complexity, two "types" of window need to be considered.
...w as the answer.
...s become slightly more complex when you consider that documents can contain other documents.
...sent the more abstract inner and outer windows, which are real objects that you don't directly interact with when working with the dom.
mozbrowseractivitydone
non-standard this feature is non-standard and is not on a standards track.
...pp's activity definition in its manifest does not include returnvalue or returnvalue is false, no mozbrowseractivitydone event will be generated as of the landing of bug 1194525 in firefox os 2.5.
...s of the landing of bug 1194525 in firefox os 2.5.
...cancelable read only boolean whether the event is cancellable or not.
mozbrowseraudioplaybackchange
non-standard this feature is non-standard and is not on a standards track.
...uction sites facing the web: it will not work for every user.
...ay change in the future.
... the browser
iframe type read only domstring the type of event.
mozbrowserclose
non-standard this feature is non-standard and is not on a standards track.
...production sites facing the web: it will not work for every user.
...escription target read only eventtarget the event target (the topmost target in the dom tree).
... type read only domstring the type of event.
mozbrowsererror
non-standard this feature is non-standard and is not on a standards track.
...ction sites facing the web: it will not work for every user.
...y change in the future.
...terrupt nettimeout cspblocked phishingblocked malwareblocked unwantedblocked offline malformeduri redirectloop unknownsockettype netreset notcached isprinting deniedportaccess proxyresolvefailure proxyconnectfailure contentencodingfailure remotexul unsafecontenttype corruptedcontenterror certerror other example var browser = document.queryselector("
iframe"); browser.addeventlistener("mozbrowsererror", function( event ) { console.log("an error occurred:" + event.detail); }); related events mozbrowserasyncscroll mozbrowserclose mozbrowsercontextmenu mozbrowsericonchange mozbrowserloadend mozbrowserloadstart mozbrowserlocationchange mozbrowseropenwindow mozbrowsersecuritychange mozbrowsershowmodalprompt mozbrowsertitlechange mozbrow...
mozbrowsericonchange
feature is non-standard and is not on a standards track.
...ities between implementations and the behavior may change in the future.
...k rel="icon"> or <link rel="apple-touch-icon">) is available in the browser <
iframe>'s content.
... the following properties: href a domstring representing the path to the new icon.
mozbrowserlocationchange
non-standard this feature is non-standard and is not on a standards track.
...e web: it will not work for every user.
...e.
...on.
mozbrowsermanifestchange
non-standard this feature is non-standard and is not on a standards track.
...mentations and the behavior may change in the future.
...aded in the browser <
iframe> changes.
... boolean whether the event normally bubbles or not.
mozbrowseropentab
non-standard this feature is non-standard and is not on a standards track.
...incompatibilities between implementations and the behavior may change in the future.
...s opened within a browser <
iframe> as a result of the user issuing a command to open a link target in a new tab (for example ctrl/cmd + click.) general info specification non standard interface customevent bubbles yes cancelable yes target <
iframe> default action none properties property type description target read only eventtarget the browser
iframe type read only domstring the type of event.
...event normally bubbles or not.
mozbrowsersecuritychange
non-standard this feature is non-standard and is not on a standards track.
...t will not work for every user.
... the mozbrowsersecuritychange event is fired when the browser <
iframe> has connected to the server, and when the mixed content state changes.
...tendedvalidation a boolean indicating if the current ssl certificate is an extended validation certificate (true) or not (false).
mozbrowserselectionstatechanged
non-standard this feature is non-standard and is not on a standards track.
...plementations and the behavior may change in the future.
...the browser <
iframe> content changes.
...nitless and represents a percentage increase/decrease, e.g.
mozbrowsertitlechange
non-standard this feature is non-standard and is not on a standards track.
...the web: it will not work for every user.
...ure.
...read only eventtarget the browser
iframe type read only domstring the type of event.
mozbrowserusernameandpasswordrequired
non-standard this feature is non-standard and is not on a standards track.
...sswordrequired event is fired when the content within a browser <
iframe> requires an http authentification.
...the necessary credentials, usually using a dialog or a database of username/passwords, and then call authenticate() or cancel() as appropriate.
...proxy a boolean indicating whether the server dealing with the authentication is a proxy server (true) or not (false).
Midas
teditable attribute; starting with firefox 3, gecko also supports contenteditable.
...s is invoked, a few more methods of the document object become available.
...s also avoids problems with bug 198155.
...e done by manipulating the selection and range objects.
imgIContainer
d long index); obsolete since gecko 1.9.2 void getframecolormap(in unsigned long framenumber, [array, size_is(palettelength)] out pruint32 palettedata, out unsigned long palettelength); obsolete since gecko 2.0 unsigned long getframeimagedatalength(in unsigned long framenumber); obsolete since gecko 2.0 imagecontainer getimagecontainer(); native code only!
...ining the current frame.
...e images.
...ng description violates the xpcom interface guidelines getrootlayoutframe() if this image is type_vector, that is really an embedded svg document, and this method returns a pointer to the root ns
iframe of that document.
Filelink Providers
ername and password.
...mation it gets from the user from the setup dialog by pointing the settingsurl attribute of their nsimsgcloudfileprovider implementation to a chrome url for an xhtml page that contains a form with the extra information.
...lidity method of the form is automatically called.
...l.cloud_files.accounts.account_key.username where account_key is the value passed into the implementations init function.
Firefox Developer Tools
he firefox developer tools from the menu by selecting tools > web developer > toggle tools or use the keyboard shortcut ctrl + shift + i or f12 on windows and linux, or cmd + opt + i on macos.
... tools > web developer > toggle tools or use the keyboard shortcut ctrl + shift + i or f12 on windows and linux, or cmd + opt + i on macos.
...by the currently active tab.
... tools to a variety of other targets, too, both within the current browser and in different browsers or even different devices.
Using files from web applications - Web APIs
style="margin:30px; width:500px; height:300px; border:1px dotted grey;">drag & drop your file here...</div> </div> </body> </html> example: using object urls to display pdf object urls can be used for other things than just images!
... </div> </body> </html> example: using object urls to display pdf object urls can be used for other things than just images!
...n just images!
...mbedded pdf files or any other resources that can be displayed by the browser.
window.postMessage() - Web APIs
the window.postmessage() method safely enables cross-origin communication between window objects; e.g., between a page and a pop-up that it spawned, or between a page and an
iframe embedded within it.
...message”) are exposed to the receiving window through the event object.
... the event object.
...a reference to the window that will receive the message.
Window.print() - Web APIs
t-data and send us a pull request.
...dals.edge full support 12firefox full support 1ie full support 5opera full support 6notes full support 6notes notes starting with opera 33, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.safari full support 1.1webview android full support 1notes full support 1notes notes starting with webview 46, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-moda...
... full support 1notes notes starting with webview 46, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.chrome android full support 18notes full support 18notes notes starting with chrome 46, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.firefox android no support nonotes no support nonotes notes see bug 1247609.opera android full support 10.1notes full support 10.1notes notes starting with oper...
...alue allow-modals.firefox android no support nonotes no support nonotes notes see bug 1247609.opera android full support 10.1notes full support 10.1notes notes starting with opera 33, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.safari ios full support 1samsung internet android full support 1.0notes full support 1.0notes notes starting with samsung internet 5.0, this method is blocked inside an <
iframe> unless its sandbox attribute...
Window.prompt() - Web APIs
-data and send us a pull request.
...r for windows 8.
...tarting with opera 33, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.safari full support 1webview android full support 1notes full support 1notes notes starting with webview 46, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.chrome android full support 18notes full support 18notes notes starting with chrome 46, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.firefox android full support ...
... chrome 46, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.firefox android full support 4opera android full support 10.1notes full support 10.1notes notes starting with opera 33, this method is blocked inside an <
iframe> unless its sandbox attribute has the value allow-modals.safari ios full support 1samsung internet android full support 1.0notes full support 1.0notes notes starting with samsung internet 5.0, this method is blocked inside an <
iframe> unless its sandbox attribute...
Content categories - Developer guides
the flow content category typically contain text or embedded content.
...but is still part of the whatwg specification and is at least partially supported by most browsers.
...<ins>, if it contains only phrasing content <link>, if the itemprop attribute is present <map>, if it contains only phrasing content <meta>, if the itemprop attribute is present embedded content embedded content imports another resource or inserts content from another mark-up language or namespace into the document.
...tent from another mark-up language or namespace into the document.
Printing - Developer guides
event, click the link below to open the window to print.
...link below to open the window to print.
...ipt"> function closeprint () { document.body.removechild(this.__container__); } function setprint () { this.contentwindow.__container__ = this; this.contentwindow.onbeforeunload = closeprint; this.contentwindow.onafterprint = closeprint; this.contentwindow.focus(); // required for ie this.contentwindow.print(); } function printpage (surl) { var ohiddframe = document.createelement("
iframe"); ohiddframe.onload = setprint; ohiddframe.style.position = "fixed"; ohiddframe.style.right = "0"; ohiddframe.style.bottom = "0"; ohiddframe.style.width = "0"; ohiddframe.style.height = "0"; ohiddframe.style.border = "0"; ohiddframe.src = surl; document.body.appendchild(ohiddframe); } </script> </head> <body> <p><span onclick="printpage('externalpage.html');" style="cursor:p...
...rame.style.height = "0"; ohiddframe.style.border = "0"; ohiddframe.src = surl; document.body.appendchild(ohiddframe); } </script> </head> <body> <p><span onclick="printpage('externalpage.html');" style="cursor:pointer;text-decoration:underline;color:#0000ff;">print external page!</span></p> </body> </html> note: older versions of internet explorer cannot print the contents of a hidden <
iframe>.
HTML documentation index - HTML: Hypertext Markup Language
itemprop global attribute is used to add properties to an item.
...che manifest that is downloaded in the early stages of page load.
...rence, web, em the html idiomatic text element (<i>) represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others.
...element (<i>) represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others.
Feature Policy - HTTP
es" for the browser to enforce on specific features used throughout a website.
...allowlist is specific to each feature.
... is a combination of a defined feature name, and an allowlist of origins that can use the feature.
...ader and the allow attribute is that the allow attribute only controls features within an
iframe.
CSP: child-src - HTTP
the http content-security-policy (csp) child-src directive defines the valid sources for web workers and nested browsing contexts loaded using elements such as <frame> and <
iframe>.
...clude the <script> or <style> tags and note that capitalization and whitespace matter, including leading or trailing whitespace.
...capitalization and whitespace matter, including leading or trailing whitespace.
...ncluding leading or trailing whitespace.
CSP: frame-src - HTTP
the http content-security-policy (csp) frame-src directive specifies valid sources for nested browsing contexts loading using elements such as <frame> and <
iframe>.
... <script> or <style> tags and note that capitalization and whitespace matter, including leading or trailing whitespace.
...at capitalization and whitespace matter, including leading or trailing whitespace.
... including leading or trailing whitespace.
Scripting - SVG: Scalable Vector Graphics
svgdocument that points to the svg document.
...or mozilla's native svg implementation; therefore, using window.svgdocument does not work in mozilla.
..."name_of_svg"].getsvgdocument(); to get a reference to an embedded svg document instead.
... to an embedded svg document instead.
Porting the Library Detector - Archive of obsolete content
list.foreach(function(library) { if (worker.tab.libraries.indexof(library) == -1) { worker.tab.libraries.push(library); } }); if (worker.tab == tabs.activetab) { updatewidgetview(worker.tab); } }); } }); the content script is executed once for every window.onload event, so it will run multiple times when a single page containing multiple
iframes is loaded.
...rker.tab.libraries.push(library); } }); if (worker.tab == tabs.activetab) { updatewidgetview(worker.tab); } }); } }); the content script is executed once for every window.onload event, so it will run multiple times when a single page containing multiple
iframes is loaded.
....push(library); } }); if (worker.tab == tabs.activetab) { updatewidgetview(worker.tab); } }); } }); the content script is executed once for every window.onload event, so it will run multiple times when a single page containing multiple
iframes is loaded.
Displaying web content in an extension without security issues - Archive of obsolete content
extension that needs to display web content (which is always potentially dangerous) will use all of them.
... to have any privileges at all.
....allowjavascript = false; frame.docshell.allowmetaredirects = false; frame.docshell.allowplugins = false; frame.docshell.allowsubframes = false; but what about interactivity, for example if you want a certain reaction to mouse clicks?
XUL Questions and Answers - Archive of obsolete content
sses["@mozilla.org/moz/jssubscript-loader;1"].getservice(components.interfaces.mozijssubscriptloader); objscriptloader.loadsubscript(strurl); see http://www.xulplanet.com/references/...iptloader.html for more information.
...bel="rdf:http://home.netscape.com/nc-rdf#dirname" value="rdf:http://home.netscape.com/nc-rdf#diruri"/> </rule> </template> </menupopup> </menulist> drawwindow with transparent background possible?
...asrenderingcontext2d* c2d = //coming from <canvas> nsidomwindow* window = //coming from <
iframe> c2d->drawwindow( window, ..., "rgba(0,0,0,0)"); --------------------------------------------------------- this makes canvas background transparent if background is transparent but when "window" is coming from top level content window, background is not transparent.
Multimedia and Embedding - Learn web development
otating it with captions using <figure>, and how it relates to css background images.
...ges, including basics, providing access to different file formats to different browsers, adding captions and subtitles, and how to add fallbacks for older browsers.
...o different file formats to different browsers, adding captions and subtitles, and how to add fallbacks for older browsers.
Message manager overview
browser windows) getchildat() : get the child at the given index loadframescript() : load a frame script into every tab in the browser broadcastasyncmessage() : send a message to frame scripts addmessagelistener() : start listening to a specific message from all frame scripts removemessagelistener() : stop listening to a specific message interfaces ns
iframescriptloader nsimessagelistenermanager nsimessagebroadcaster how to access access it using components.classes: // chrome script let globalmm = cc["@mozilla.org/globalmessagemanager;1"] .getservice(ci.nsimessagelistenermanager); you can also access it as the mm property of services.jsm, if you are in the parent process.
...s) getchildat() : get the child at the given index loadframescript() : load a frame script into every tab in this window broadcastasyncmessage() : send a message to all frame scripts in this window addmessagelistener() : start listening to a specific message from frame scripts removemessagelistener() : stop listening to a specific message interfaces ns
iframescriptloader nsimessagelistenermanager nsimessagebroadcaster how to access you can access it as a property of the browser window: // chrome script let windowmm = window.messagemanager; browser message manager note that in this context, "browser" refers to the xul <browser> object, which is a frame that hosts a single web document.
... most important functions are: loadframescript() : load a frame script into this browser frame (tab) sendasyncmessage() : send a message to all frame scripts in this browser frame addmessagelistener() : start listening to a specific message from frame scripts removemessagelistener() : stop listening to a specific message interfaces nsiprocesschecker ns
iframescriptloader nsimessagelistenermanager nsimessagesender how to access the browser message manager can be accessed as a property of the xul <browser> element: // chrome script let browsermm = gbrowser.selectedbrowser.messagemanager; content process content frame message manager description there's a content frame message manager for...
Message manager overview
a web browser.
...ger is associated with a specific browser window, and operates on every <browser> (that is, every content tab) loaded into that window: loadframescript() loads the given script into every <browser> in that browser window broadcastasyncmessage() sends the message to every <browser> in that browser window.
... sendasyncmessage() sends the message only to that <browser>.
mozbrowserdocumentfirstpaint
non-standard this feature is non-standard and is not on a standards track.
...tion sites facing the web: it will not work for every user.
...escription target read only eventtarget the event target (the topmost target in the dom tree).
mozbrowserfirstpaint
non-standard this feature is non-standard and is not on a standards track.
... work for every user.
...escription target read only eventtarget the event target (the topmost target in the dom tree).
mozbrowserloadstart
non-standard this feature is non-standard and is not on a standards track.
...d the behavior may change in the future.
... bubbles read only boolean whether the event normally bubbles or not.
mozbrowsermetachange
for every user.
...rmetachange event is fired when a <meta> element related to web applications is added, removed or changed.
...g the <meta> content attribute value, i.e.
mozbrowseropensearch
large incompatibilities between implementations and the behavior may change in the future.
... link to a search engine is found — i.e.
...only boolean whether the event is cancellable or not.
mozbrowserscrollviewchange
on production sites facing the web: it will not work for every user.
...havior may change in the future.
...y boolean whether the event is cancellable or not.
Mozilla Style System Documentation
complete although less detailed documentation.
...e unordered, since the order is not relevant.
...efault or single properties that are set to the initial value by default (see css26.1.1), which is essential for the ruletree.
nsIChromeFrameMessageManager
content/base/public/nsimessagemanager.idlscriptable handles loading of content in a remote chrome frame.
...ipt will only be loaded if the frame is already available.
...loaded if the frame is already available.
Working with windows in chrome code
so some calls, like win.document.getelementbyid() will fail.
... from your chrome document.
...and variables inside the sidebar, you need to use document.getelementbyid("sidebar").contentdocument or .contentwindow, like when accessing content documents.
Index - Firefox Developer Tools
ript code rather than just web pages like the normal toolbox.
...t happen in the tab.
...chitecture allows you to connect a web console client instance to a server running on b2g, fennec or some other firefox instance.
Channel Messaging API - Web APIs
the channel messaging api allows two separate scripts running in different browsing contexts attached to the same document (e.g., two
iframes, or the main document and an
iframe, two documents via a sharedworker, or two workers) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
...ng sending of messages from one port and listening out for them arriving at the other.
...w broadcasting of a message to multiple ports simultaneously.
DOMTokenList.supports() - Web APIs
the supports() method of the domtokenlist interface returns true if a given token is in the associated attribute's supported tokens.
...tokenlist interface returns true if a given token is in the associated attribute's supported tokens.
...pport feature detection.
Document.importNode() - Web APIs
.3), the console warns developers not to omit the argument.
...not to omit the argument.
... starting with gecko 29.0 (firefox 29 / thunderbird 29 / seamonkey 2.26)), a shallow clone is defaulted instead of a deep clone.
DocumentOrShadowRoot.elementFromPoint() - Web APIs
the elementfrompoint() method—available on both the document and shadowroot objects—returns the topmost element at the specified coordinates (relative to the viewport).
... the elementfrompoint() method—available on both the document and shadowroot objects—returns the topmost element at the specified coordinates (relative to the viewport).
...t's parent element is returned (the <
iframe> itself).
Page Visibility API - Web APIs
differently.
...ideo, it can pause the video when the user puts the tab into the background, and resume playback when the user returns to the tab.
...r switches tabs or minimizes the browser window containing the tab.
VisualViewport - Web APIs
the visualviewport interface of the visual viewport api represents the visual viewport for a given window.
... the visualviewport interface of the visual viewport api represents the visual viewport for a given window.
... window object.
Functions and classes available to Web Workers - Web APIs
o postmessage() yes, on dedicatedworkerglobalscope no no unknown no apis available in workers function functionality support in gecko (firefox) support in ie support in blink (chrome and opera) support in webkit (safari) broadcast channel api allows simple communication between browsing contexts (that is windows, tabs, frames, or
iframes) with the same origin (usually pages from the same site).
...same origin (usually pages from the same site).
...ame site).
Window: unload event - Web APIs
the unload event is fired when the document or a child resource is being unloaded.
... before child frame unload (see example below).
...example below).
itemprop - HTML: Hypertext Markup Language
itemprop global attribute is used to add properties to an item.
...he values would be parsed as multiple tokens.
... if the element is a meter element the value is the value of the element's value attribute if the element is a time element the value is the element's datetime value otherwise the value is the element's textcontent.
CSP: frame-ancestors - HTTP
the http content-security-policy (csp) frame-ancestors directive specifies valid parents that may embed a page using <frame>, <
iframe>, <object>, <embed>, or <applet>.
...unding the host are not allowed.
... matches all attempts to load from any subdomain of example.com using the http: url scheme.
Getting started - SVG: Scalable Vector Graphics
n/xhtml+xml, the svg can be directly embedded in the xml source.
...dded in the xml source.
... if the html is html5, and the browser is a conforming html5 browser, the svg can also be directly embedded.
Web security
is called a mixed content page.
...ing, or, in other words, to say that the mime types are deliberately configured.
...eader can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <
iframe>, <embed> or <object>.
ui/frame - Archive of obsolete content
experimental create html
iframes, using bundled html, css and javascript, that can be added to a designated area of the firefox user interface.
...logged from a frame script using the console will not appear in the terminal when you run the add-on using jpm run.
Tabbed browser - Archive of obsolete content
-1, true); detecting page load see also code snippets:on page load function examplepageload(event) { if (event.originaltarget instanceof components.interfaces.nsidomhtmldocument) { var win = event.originaltarget.defaultview; if (win.frameelement) { // frame within a tab was loaded.
...wing line: // return; // find the root document: win = win.top; } } } // do not try to add a callback until the browser window has // been initialised.
jspage - Archive of obsolete content
(a);document.head.removechild(a);}return b;}native.uid=1; var $uid=(browser.engine.trident)?function(a){return(a.uid||(a.uid=[native.uid++]))[0];}:function(a){return a.uid||(a.uid=native.uid++);};var window=new native({name:"window",legacy:(browser.engine.trident)?null:window.window,initialize:function(a){$uid(a); if(!a.element){a.element=$empty;if(browser.engine.webkit){a.document.createelement("
iframe");}a.element.prototype=(browser.engine.webkit)?window["[[domelement.prototype]]"]:{}; }a.document.window=a;return $extend(a,window.prototype);},afterimplement:function(b,a){window[b]=window.prototype[b]=a;}});window.prototype={$family:{name:"window"}}; new window(window);var document=new native({name:"document",legacy:(browser.engine.trident)?null:window.document,initialize:function(a){$uid(a);a.
...lement(a,b);}return document.id(a).set(b);},afterimplement:function(a,b){element.prototype[a]=b; if(array[a]){return;}elements.implement(a,function(){var c=[],g=true;for(var e=0,d=this.length;e<d;e++){var f=this[e][a].apply(this[e],arguments);c.push(f); if(g){g=($type(f)=="element");}}return(g)?new elements(c):c;});}});element.prototype={$family:{name:"element"}};element.constructors=new hash;var
iframe=new native({name:"
iframe",generics:false,initialize:function(){var f=array.link(arguments,{properties:object.type,
iframe:$defined}); var d=f.properties||{};var c=document.id(f.
iframe);var e=d.onload||$empty;delete d.onload;d.id=d.name=$pick(d.id,d.name,c?(c.id||c.name):"
iframe_"+$time()); c=new element(c||"
iframe",d);var b=function(){var g=$try(function(){return c.contentwindow.location.host;});i...
browser.type - Archive of obsolete content
type: one of the values below.
...e preferred value for any browser element in an application, which will use multiple browsers of equal privileges, and is unselected at the moment.
Introduction to XUL - Archive of obsolete content
f="chrome://global/skin/xul.css" type="text/css"?> <!doctype window> <window id="main-window" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <menubar> <menu label="file"> <menupopup> <menuitem label="hello world!" onclick="alert('hello world!\n');"/> </menupopup> </menu> </menubar> <html:
iframe id="content-frame" src="contentframe.html" flex="100%"/> </window> the beginning of this example, down through the window tag, is the standard preamble.
...content area.
XUL Reference - Archive of obsolete content
« xul reference « alphabetical list of all xul elements action arrowscrollbox assign bbox binding bindings box broadcaster broadcasterset button browser checkbox caption clicktoscroll colorpicker column columns commandset command conditions content datepicker deck description dialog dialogheader dropmarker editor grid grippy groupbox hbox
iframe image key keyset label listbox listcell listcol listcols listhead listheader listitem member menu menubar menuitem menulist menupopup menuseparator notification notificationbox observes overlay page panel param popupset preference preferences prefpane prefwindow progressmeter query queryset radio radiogroup resizer richlistbox richlistitem row rows rule scale script...
...rspring tabs and grouping tab tabbox tabpanel tabpanels tabs controls --- text and images label caption image lists --- trees --- layout --- templates --- scripting --- helper elements other xul lists dialog overlay page window wizard wizardpage preference preferences prefpane prefwindow browser tabbrowser editor
iframe titlebar resizer statusbar statusbarpanel dialogheader notification notificationbox menubar menu menuitem menuseparator menupopup panel tooltip popupset toolbar toolbarbutton toolbargrippy toolbaritem toolbarpalette toolbarseparator toolbarset toolbarspacer toolbarspring toolbox tabbox tabs tab tabpanels tabpanel groupbox caption separator spacer button checkbo...
browser - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] a xul <browser> element represents a frame which is expected to contain a view of a web document.
... type: one of the values below.
-ms-flow-into - Archive of obsolete content
the -ms-flow-into css property is a microsoft extension that gets or sets a value identifying an
iframe container in the document that serves as the region's data source.
... the -ms-flow-into css property is a microsoft extension that gets or sets a value identifying an
iframe container in the document that serves as the region's data source.
Index - MDN Web Docs Glossary: Definitions of Web-related terms
er is a program that retrieves and displays pages from the web, and lets users access further pages through hyperlinks.
...7 caret cursor, glossary, input, caret, insertion point, text cursor, text entry, text input, text insertion point a caret (sometimes called a "text cursor") is an indicator displayed on the screen to indicate where text input will be inserted.
Third-party APIs - Learn web development
irst page, we don't need to load the same results again).
...ote: you can find our finished nytimes api example code on github (also see it running live here).
nsIAccessibilityService
cessible createrootaccessible(in nsipresshell ashell, in nsidocument adocument); nsiaccessible createhtml4buttonaccessible(in nsisupports aframe); nsiaccessible createhypertextaccessible(in nsisupports aframe); nsiaccessible createhtmlbraccessible(in nsisupports aframe); nsiaccessible createhtmlbuttonaccessible(in nsisupports aframe); nsiaccessible createhtmlaccessiblebymarkup(in ns
iframe aframe, in nsiweakreference aweakshell, in nsidomnode adomnode); nsiaccessible createhtmlliaccessible(in nsisupports aframe, in nsisupports abulletframe, in astring abullettext); nsiaccessible createhtmlcheckboxaccessible(in nsisupports aframe); nsiaccessible createhtmlcomboboxaccessible(in nsidomnode anode, in nsiweakreference apresshell); nsiaccessible createhtmlgenericaccessible(in...
...; nsiaccessible createhtmltableheadaccessible(in nsidomnode adomnode); nsiaccessible createhtmltextaccessible(in nsisupports aframe); nsiaccessible createhtmltextfieldaccessible(in nsisupports aframe); nsiaccessible createhtmlcaptionaccessible(in nsisupports aframe); nsiaccessible getaccessible(in nsidomnode anode, in nsipresshell apresshell, in nsiweakreference aweakshell, inout ns
iframe framehint, out boolean aishidden); nsiaccessible addnativerootaccessible(in voidptr aatkaccessible); void removenativerootaccessible(in nsiaccessible arootaccessible); void invalidatesubtreefor(in nsipresshell apresshell, in nsicontent achangedcontent, in pruint32 aevent); methods removenativerootaccessible() void removenativerootaccessible( in nsiaccessible arootaccessible ...
nsIAccessibleRole
reen contents of containers advertising this role.
...lication window.
nsIContentView
content/base/public/ns
iframeloader.idlscriptable represents a scrollable content view whose contents are actually drawn by a separate process; this is part of the electrolysis multi-process support framework.
...crollable content view whose contents are actually drawn by a separate process; this is part of the electrolysis multi-process support framework.
nsIDOMMozNetworkStatsManager
to filter a network statistics request made when calling getsamples().
... string used to filter network stats by app.
nsISelectionPrivate
cko 35 (firefox 35 / thunderbird 35 / seamonkey 2.32) warning: the content of this article may be out of date.
...selectionlistener() void addselectionlistener( in nsiselectionlistener newlistener ); parameters newlistener endbatchchanges() will resume user interface updates after a previous call to startbatchchanges().
nsIWebBrowserPersist
value description persist_flags_none 0 no special persistence behavior.
... persist_flags_none 0 no special persistence behavior.
nsIWindowWatcher
he parent window, if any.
... the name doesn't exist, then a new window is opened and the specified resource is loaded into its browsing context.">window.open.
XPCOM Interface Reference
inknsifactorynsifavicondatacallbacknsifaviconservicensifeednsifeedcontainernsifeedelementbasensifeedentrynsifeedgeneratornsifeedpersonnsifeedprocessornsifeedprogresslistenernsifeedresultnsifeedresultlistenernsifeedtextconstructnsifilensifileinputstreamnsifileoutputstreamnsifilepickernsifileprotocolhandlernsifilespecnsifilestreamsnsifileurlnsifileutilitiesnsifileviewnsifocusmanagernsiformhistory2ns
iframeloaderns
iframeloaderownerns
iframemessagelistenerns
iframemessagemanagerns
iframescriptloadernsigsettingscollectionnsigsettingsservicensigeolocationprovidernsigeolocationupdatensiglobalhistorynsiglobalhistory2nsiglobalhistory3nsihtmleditornsihttpheaderlistenernsihapticfeedbacknsihttpactivitydistributornsihttpactivityobservernsihttpchannelnsihttpchannelinternalnsihttpheadervisitornsihttpservernsihttpu...
...amemessagelistenerns
iframemessagemanagerns
iframescriptloadernsigsettingscollectionnsigsettingsservicensigeolocationprovidernsigeolocationupdatensiglobalhistorynsiglobalhistory2nsiglobalhistory3nsihtmleditornsihttpheaderlistenernsihapticfeedbacknsihttpactivitydistributornsihttpactivityobservernsihttpchannelnsihttpchannelinternalnsihttpheadervisitornsihttpservernsihttpupgradelistenernsiidnservicensi
iframeboxobjectnsiiniparsernsiiniparserfactorynsiiniparserwriternsiioservicensiidleservicensiinprocesscontentframemessagemanagernsiinputstreamnsiinputstreamcallbacknsiinstalllocationnsiinterfacerequestornsijscidnsijsidnsijsiidnsijsonnsijetpacknsijetpackservicensijumplistbuildernsijumplistitemnsilivemarkservicensiloadgroupnsilocalfilensilocalfilemacnsilocalensilocaleservicensilogininfonsiloginmanagernsil...
Blocking By Domain - Plugins
as specified by the html standard.
...-party plugin block list sites on this list may not use plugins when they are loaded into a third-party
iframe in another site.
Browser Toolbox - Firefox Developer Tools
a specific add-on that is restartless or sdk-based then try the add-on debugger.) console style editor performance network monitor page inspector accessibility inspector you can debug chrome: and about: pages using the normal debugger, just as if they were ordinary content pages.
...ctor accessibility inspector you can debug chrome: and about: pages using the normal debugger, just as if they were ordinary content pages.
Settings - Firefox Developer Tools
the settings pane looks something like this: categories default firefox developer tools this group of checkboxes determines which tools are enabled in the toolbox.
...w tools are often included in firefox but not enabled by default.
BroadcastChannel: message event - Web APIs
the message event is fired on a broadcastchannel object when a message arrives on that channel.
...e message event is fired on a broadcastchannel object when a message arrives on that channel.
DOMImplementation.createHTMLDocument() - Web APIs
the domimplementation.createhtmldocument() method creates a new html document.
...n.createhtmldocument(title) parameters title optional (except in ie) a domstring containing the title to give the new html document.
Document.cookie - Web APIs
okie "reader" has "1" for value') } //es2016 if (document.cookie.split(';').some((item) => item.includes('reader=1'))) { console.log('the cookie "reader" has "1" for value') } security it is important to note that the path attribute does not protect against unauthorized reading of the cookie from a different path.
...e.split(';').some((item) => item.includes('reader=1'))) { console.log('the cookie "reader" has "1" for value') } security it is important to note that the path attribute does not protect against unauthorized reading of the cookie from a different path.
Document.querySelectorAll() - Web APIs
= document.queryselectorall("div.note, div.alert"); here, we get a list of <p> elements whose immediate parent element is a <div> with the class highlighted and which are located inside a container whose id is test.
...ment is a <div> with the class highlighted and which are located inside a container whose id is test.
Element.querySelectorAll() - Web APIs
yselectorall("div.note, div.alert"); here, we get a list of the document's <p> elements whose immediate parent element is a div with the class "highlighted" and which are located inside a container whose id is "test".
...nt is a div with the class "highlighted" and which are located inside a container whose id is "test".
Using Navigation Timing - Web APIs
which the navigation whose timing was recorded began (performance.timing.navigationstart), and outputs that information to the screen by inserting it into an element.
...ance.navigation.redirectcount.
ParentNode.querySelectorAll() - Web APIs
= document.queryselectorall("div.note, div.alert"); here, we get a list of <p> elements whose immediate parent element is a <div> with the class highlighted and which are located inside a container whose id is test.
...ment is a <div> with the class highlighted and which are located inside a container whose id is test.
Request.context - Web APIs
the deprecated context read-only property of the request interface contains the context of the request (e.g., audio, image,
iframe).
...only property of the request interface contains the context of the request (e.g., audio, image,
iframe).
Screen Capture API - Web APIs
isplaycapturesurfacetype an enumerated string type which is used to identify the kind of display surface to capture.
... used for the displaysurface property in the constraints and settings objects, and has the possible values application, browser, monitor, and window.
TaskAttributionTiming.containerType - Web APIs
the containertype readonly property of the taskattributiontiming interface returns the type of frame container, one of
iframe, embed, or object.
... the containertype readonly property of the taskattributiontiming interface returns the type of frame container, one of
iframe, embed, or object.
TaskAttributionTiming - Web APIs
the taskattributiontiming interface of the long tasks api returns information about the work involved in a long task and its associate frame context.
...="#d4dde4" stroke-width="2px" /><text x="306" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">taskattributiontiming</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties taskattributiontiming.containertype read only returns the type of frame container, one of
iframe, embed, or object.
Web Workers API - Web APIs
those workers are hosted within the same origin as the parent page.
...properties and methods common to all kind of workers (i.e.
Window.frameElement - Web APIs
the window.frameelement property returns the element (such as <
iframe> or <object>) in which the window is embedded.
... the window.frameelement property returns the element (such as <
iframe> or <object>) in which the window is embedded.
Window.open() - Web APIs
the window interface's open() method loads the specified resource into the new or existing browsing context (window, <
iframe> or tab) with the specified name.
...dowfeatures]); parameters url a domstring indicating the url of the resource to be loaded.
Replaced elements - CSS: Cascading Style Sheets
ent whose representation is outside the scope of css; they're external objects whose representation is independent of the css formatting model.
..., may have stylesheets of their own, but they don't inherit the styles of the parent document.
HTML5 - Developer guides
a look at the constraint validation api, several new attributes, new values for the <input> attribute type and the new <output> element.
... new semantic elements beside sections, media and forms elements, there are numerous new elements, like <mark>, <figure>, <figcaption>, <data>, <time>, <output>, <progress>, or <meter> and <main>, increasing the number of valid html5 elements.
<frame> - HTML: Hypertext Markup Language
<frame> is an html element which defines a particular area in which another html document can be displayed.
...ecessary and "no" for forcing no scrollbar even when it is necessary.
CSP: sandbox - HTTP
the http content-security-policy (csp) sandbox directive enables a sandbox for the requested resource similar to the <
iframe> sandbox attribute.
... keyword is not used, that functionality will silently fail.
Large-Allocation - HTTP
r example.
...eader was ignored due to the presence of windows which have a reference to this browsing context through the frame hierarchy or window.opener.
HTTP headers - HTTP
ng and/or enforcement of certificate transparency requirements, which prevents the use of misissued certificates for that site from going unnoticed.
...ns http header indicates that the browser (internet explorer) should not display the option to "open" a file that has been downloaded from an application, to prevent phishing attacks as the file otherwise would gain access to execute in the context of the application.
target - SVG: Scalable Vector Graphics
the target attribute should be used when there are multiple possible targets for the ending resource, such as when the parent document is embedded within an html or xhtml document, or is viewed with a tabbed browser.
... document is to be opened when the link is activated: only one element is using this attribute: <a> html, body, svg { height: 100%; } text { font: 20px arial, helvetica, sans-serif; fill: blue; text-decoration: underline; } <svg viewbox="0 0 300 120" xmlns="http://www.w3.org/2000/svg"> <a href="https://developer.mozilla.org" target="_self"> <text x="0" y="20">open link within
iframe</text> </a> <a href="https://developer.mozilla.org" target="_blank"> <text x="0" y="60">open link in new tab or window</text> </a> <a href="https://developer.mozilla.org" target="_top"> <text x="0" y="100">open link in this tab or window</text> </a> </svg> usage notes value _self | _parent | _top | _blank | <xml-name> default value _self ani...
Content Scripts - Archive of obsolete content
{' + ' var event = new customevent("myaddonid-contextmenu-clicked",' + ' {detail:node.href});' + ' window.dispatchevent(event);' + '});' }); cross-domain content scripts by default, content scripts don't have any cross-domain privileges.
panel - Archive of obsolete content
de: handlehide }); function handlechange(state) { if (state.checked) { mypanel.show({ position: button }); } } function handlehide() { button.state('window', {checked: false}); } updating panel content you can update the panel's content by: sending a message to a content script that updates the dom in the same document.
On page load - Archive of obsolete content
unction(aevent) { var doc = aevent.originaltarget; // doc is document that triggered the event var win = doc.defaultview; // win is the window for the doc // test desired conditions and do something // if (doc.nodename != "#document") return; // only documents // if (win != win.top) return; //only top window.
Code snippets - Archive of obsolete content
vg embedding svg in html and xul using svg to enhance html or xul based markup xul widgets html in xul for rich tooltips dynamically embed html into a xul element to attain markup in a tooltip label and description special uses and line breaking examples tree setup and manipulation of trees using xul and js scrollbar changing style of scrollbars.
Documentation for BiDi Mozilla - Archive of obsolete content
ing, including: character classification symmetric swapping reordering shaping numeric translation conversion to/from presentation forms nsbidipresutils layout/base/nsbidipresutils.cpp utilities for the layout engine including: resolve frames by bidi level split framesreorder frames format bidi text support for deletion and insertion of frames by editor nsbiditextframe layout/generic/nsbid
iframes.cpp subclass of nsframe with additional method setoffsets, to adjust mcontentoffset and mcontentlength during bidi processing nsdirectionalframe layout/generic/nsbid
iframes.cpp subclass of nsframethis is a special frame which represents a bidi control.
elements - Archive of obsolete content
a action arrowscrollbox b bbox binding bindings box broadcaster broadcasterset button browser c checkbox caption colorpicker column columns commandset command conditions content d deck description dialog dialogheader e editor grid grippy groupbox h hbox i
iframe image k key keyset l label listbox listcell listcol listcols listhead listheader listitem m member menu menubar menuitem menulist menupopup menuseparator o observes overlay p page popup popupset preference preferences prefpane prefwindow progressmeter r radio radiogroup resizer richlistbox richlistitem resizer row rows rule s script scrollbar scrollbox scrollcorner ...
page - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] similar to a window, except it should be used for xul files that are to be loaded into an
iframe.
reftest opportunities files - Archive of obsolete content
ml parser/htmlparser/tests/html/26347.html parser/htmlparser/tests/html/24462.html parser/htmlparser/tests/html/24184.html parser/htmlparser/tests/html/22596.html parser/htmlparser/tests/html/22480.html parser/htmlparser/tests/html/22263.html parser/htmlparser/tests/html/20087.html parser/htmlparser/tests/html/19116.html parser/htmlparser/tests/html/187790.html parser/htmlparser/tests/html/184029_
iframe.html parser/htmlparser/tests/html/184029.html parser/htmlparser/tests/html/183711.html parser/htmlparser/tests/html/18308.html parser/htmlparser/tests/html/17003.html parser/htmlparser/tests/html/15204.html parser/htmlparser/tests/html/149877.html parser/htmlparser/tests/html/142965_1.html parser/htmlparser/tests/html/142965.html parser/htmlparser/tests/html/124788.html parser/htmlparser/tests/ht...
CSS - Archive of obsolete content
rosoft extension that sets or retrieves the filter or collection of filters applied to an object.-ms-flow-fromthe -ms-flow-from css property is a microsoft extension that gets or sets a value identifying a region container in the document that accepts the content flow from the data source.-ms-flow-intothe -ms-flow-into css property is a microsoft extension that gets or sets a value identifying an
iframe container in the document that serves as the region's data source.-ms-high-contrast-adjustthe -ms-high-contrast-adjust css property is a microsoft extension that gets or sets a value indicating whether to override any css properties that would have been set in high contrast mode.-ms-hyphenate-limit-charsthe -ms-hyphenate-limit-chars css property is a microsoft extension that specifies one to thre...
What is a URL? - Learn web development
discussed later on — makes extensive use of urls: to create links to other documents with the <a> element; to link a document with its related resources through various elements such as <link> or <script>; to display media such as images (with the <img> element), videos (with the <video> element), sounds and music (with the <audio> element), etc.; to display other html documents with the <
iframe> element.
ZoomText
that you're testing and let me know what bugs you're finding.
Limitations of chrome scripts
e jsm in the chrome process, and have frame scripts store and access the jsm's state by sending messages to the chrome process using the message manager.
Message manager
quires multiprocess firefox: everything described here will work with single-process firefox, so the same code will work on both variants.
Chrome-only API reference
this page lists apis that only run in gecko chrome code (and sometimes in other privileged circumstances).
HTML parser threading
of the parser, so for refcounting purposes, the parser owns each nsicontent object it creates by one reference no matter how many copies of the content handle for the node exist inside the parser.
Introduction to Layout in Mozilla
rough the frame hierarchy, areas are invalidated via nsiviewmanager::updateview unless immediate, invalid areas are coalesced and processed asynchronously via os expose event native expose event dispatched to widget; widget delegates to the view manager view manager paints views back-to-front, invoking presshell’s paint method presshell::paint walks from the view to the frame; invokes ns
iframe::paint for each layer incrementalism single-threaded simple (no locking) can’t leave event queue unattended content construction unwinds “at will” parser and content sink do some buffering content sink has “notification limits” efficiency vs.
Services.jsm
event listener service etld nsieffectivetldservice effectivetld service focus nsifocusmanager focus manager io nsiioservice nsiioservice2 i/o service locale nsilocaleservice locale service logins nsiloginmanager password manager service metro nsiwinmetroutils 2 mm nsimessagebroadcaster ns
iframescriptloader global frame message manager3 obs nsiobserverservice observer service perms nsipermissionmanager permission manager service ppmm nsimessagebroadcaster nsiprocessscriptloader global parent process message manager3 prefs nsiprefbranch nsiprefbranch2 nsiprefservice preferences service prompt nsiprompts...
source-editor.jsm
enever you save the text; the editor will update it to true when the content is changed.
Mozilla Style System
the first of these rules is no longer important (in fact, the separation of the specified values into nscss* structs is no longer important).
Hacking Tips
can call the dumpheap before firefox function to dump out all gc things (reachable and unreachable) that are present in the heap.
nsIContainerBoxObject
layout/xul/base/public/nsicontainerboxobject.idlscriptable please add a summary to this article.
nsIContentFrameMessageManager
idl file: mozilla-central/source/dom/base/nsimessagemanager.idl inherits from: nsisyncmessagesender this interface provides the environment for scripts that are loaded into content frames using the ns
iframescriptloader interface.
nsIContentViewManager
content/base/public/ns
iframeloader.idlscriptable manages the content views contained in a browser 1.0 66 introduced gecko 2.0 inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) to obtain a reference to the view manager for a document, you can queryinterface() the ns
iframeloader object to nsicontentviewmanager.
nsIDOMWindow
dom/interfaces/base/nsidomwindow.idlscriptable this interface is the primary interface for a window object.
nsIDOMWindow2
dom/interfaces/base/nsidomwindow2.idlscriptable this interface is the primary interface for a dom window object.
nsIDOMWindowInternal
void print() void moveto(in long xpos, in long ypos) void moveby(in long xdif, in long ydif) void resizeto(in long width, in long height) void resizeby(in long widthdif, in long heightdif) void scroll(in long xscroll, in long yscroll) nsidomwindow window interface's open() method loads the specified resource into the browsing context (window, <
iframe> or tab) with the specified name.
nsIDOMWindowUtils
om the compositor process, return the corresponding dom element object.
nsIDOMXULElement
tring name, in domstring value); attributes attribute type description align domstring gets/sets the value of the element's align attribute.
nsIDocumentLoader
uriloader/base/nsidocumentloader.idlscriptable this interface responsible for tracking groups of loads that belong together (images, external scripts, and so on.) and subdocuments (
iframe, frame, and so on.).
nsINavHistoryQueryOptions
note that this has no effect on folder links, which are place: uris returned by nsinavbookmarkservice's getfolderuri method.
nsISHEntry
lean hasdetachededitor(); parameters none.
nsIWebBrowserFind
embedding/components/find/public/nsiwebbrowserfind.idlscriptable searches for text in a web browser.
nsIWebBrowserFindInFrames
embedding/components/find/public/nsiwebbrowserfind.idlscriptable controls how find behaves when multiple frames or
iframes are present.
XPCOM Interface Reference by grouping
tree nsitreeboxobject nsitreecolumn nsitreecolumns nsitreecontentview nsitreeselection nsitreeview xform nsixformsmodelelement nsixformsnsinstanceelement nsixformsnsmodelelement xmlhttprequest nsixmlhttprequesteventtarget favicon nsifavicondatacallback nsifaviconservice frame nsichromeframemessagemanager ns
iframeloader ns
iframeloaderowner ns
iframemessagelistener ns
iframemessagemanager interface nsijsxmlhttprequest jetpack nsijetpack nsijetpackservice offlinestorage nsiapplicationcache nsiapplicationcachechannel nsiapplicationcachecontainer nsiapplicationcachenamespace nsiapplicationcacheservice places nsiannotationobserver ...
AuthenticatorAssertionResponse - Web APIs
authenticatorassertionresponse interface of the web authentication api is returned by credentialscontainer.get() when a publickeycredential is passed, and provides proof to a service that it has a key pair and that the authentication request is valid and approved.
BroadcastChannel - Web APIs
the broadcastchannel interface represents a named channel that any browsing context of a given origin can subscribe to.
Broadcast Channel API - Web APIs
the broadcast channel api allows basic communication between browsing contexts (that is, windows, tabs, frames, or
iframes) and workers on the same origin.
Managing screen orientation - Web APIs
*/ @media screen and (orientation: landscape) { #toolbar { position: fixed; width: 2.65em; height: 100%; } p { margin-left: 2em; } li + li { margin-top: .5em; } } and here's the result portrait landscape note: the orientation media query actually applies based on the orientation of the browser window (or
iframe) not the orientation of the device.
CredentialsContainer.create() - Web APIs
the create() method of the credentialscontainer interface returns a promise that resolves with a new credential instance based on the provided options, or null if no credential object can be created.
Detecting device orientation - Web APIs
[0,180] x += 90; y += 90; // 10 is half the size of the ball // it center the positioning point to the center of the ball ball.style.top = (maxy*y/180 - 10) + "px"; ball.style.left = (maxx*x/180 - 10) + "px"; } window.addeventlistener('deviceorientation', handleorientation); click here to open this example in a new window; because deviceorientation doesn't work in a cross-origin <
iframe> in all browsers.
Document.featurePolicy - Web APIs
the featurepolicy read-only property of the document interface returns the featurepolicy interface which provides a simple api for inspecting the feature policies applied to a specific document.
Document: keydown event - Web APIs
something like this (229 is a special value set for a keycode relating to an event that has been processed by an ime): eventtarget.addeventlistener("keydown", event => { if (event.iscomposing || event.keycode === 229) { return; } // do something }); examples addeventlistener keydown example this example logs the keyboardevent.code value whenever you press down a key.
Document: keyup event - Web APIs
ion, do something like this (229 is a special value set for a keycode relating to an event that has been processed by an ime): eventtarget.addeventlistener("keyup", event => { if (event.iscomposing || event.keycode === 229) { return; } // do something }); examples this example logs the keyboardevent.code value whenever you release a key.
The HTML DOM API - Web APIs
t htmlareaelement htmlaudioelement htmlbrelement htmlbaseelement htmlbodyelement htmlbuttonelement htmlcanvaselement htmldlistelement htmldataelement htmldatalistelement htmldetailselement htmldialogelement htmldirectoryelement htmldivelement htmlelement htmlembedelement htmlfieldsetelement htmlformelement htmlhrelement htmlheadelement htmlheadingelement htmlhtmlelement html
iframeelement htmlimageelement htmlinputelement htmllielement htmllabelelement htmllegendelement htmllinkelement htmlmapelement htmlmediaelement htmlmenuelement htmlmetaelement htmlmeterelement htmlmodelement htmlolistelement htmlobjectelement htmloptgroupelement htmloptionelement htmloutputelement htmlparagraphelement htmlparamelement htmlpictureelement htmlpreelement htmlprogress...
Notification.requestPermission() - Web APIs
cation if (permission === "granted") { var notification = new notification("hi there!"); } }); } // at last, if the user has denied notifications, and you // want to be respectful there is no need to bother them any more.
Notification - Web APIs
cation if (permission === "granted") { var notification = new notification("hi there!"); } }); } // at last, if the user has denied notifications, and you // want to be respectful there is no need to bother them any more.
Payment Request API - Web APIs
yment, a web page creates a paymentrequest object in response to a user action that initiates a payment, such as clicking a "purchase" button.
PublicKeyCredential.id - Web APIs
the id read-only property of the publickeycredential interface is a domstring, inherited from credential, which represents the identifier of the current publickeycredential instance.
Request.mode - Web APIs
ther than by the request.request constructor, no-cors is typically used as the mode; for example, for embedded resources where the request is initiated from markup, unless the crossorigin attribute is present, the request is in most cases made using the no-cors mode — that is, for the <link> or <script> elements (except when used with modules), or <img>, <audio>, <video>, <object>, <embed>, or <
iframe> elements.
Request - Web APIs
e likely to encounter a request object being returned as the result of another api operation, such as a service worker fetchevent.request.
Sensor APIs - Web APIs
an alternative approach is to attempt to use the error and listen for the securityerror.
SharedWorker - Web APIs
the sharedworker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows,
iframes or even workers.
Window.getSelection() - Web APIs
the window.getselection() method returns a selection object representing the range of text selected by the user or the current position of the caret.
Window: message event - Web APIs
the message event is fired on a window object when the window receives a message, for example from a call to window.postmessage() from another browsing context.
Web APIs
lcanvaselement htmlcollection htmlcontentelement htmldlistelement htmldataelement htmldatalistelement htmldetailselement htmldialogelement htmldivelement htmldocument htmlelement htmlembedelement htmlfieldsetelement htmlfontelement htmlformcontrolscollection htmlformelement htmlframesetelement htmlhrelement htmlheadelement htmlheadingelement htmlhtmlelement htmlhyperlinkelementutils html
iframeelement htmlimageelement htmlinputelement htmlisindexelement htmlkeygenelement htmllielement htmllabelelement htmllegendelement htmllinkelement htmlmapelement htmlmarqueeelement htmlmediaelement htmlmenuelement htmlmenuitemelement htmlmetaelement htmlmeterelement htmlmodelement htmlolistelement htmlobjectelement htmloptgroupelement htmloptionelement htmloptionscollection htmlorforeigneleme...
ARIA Test Cases - Accessibility
ws 10 - - - - voiceover (leopard) n/a n/a - fail window-eyes - - - - nvda - n/a - - zoom (leopard) pass n/a pass pass zoomtext - - - - orca - - - - listbox and option dojo nightly build single select listbox using aria-activedescendant listbox in an
iframe -- this is an important case as it's an example of how a mashup widget can be built (the widget source simply comes from another url, and is tied in using an
iframe) yui "carousel" listbox -- a more advanced test case expected at behavior: (mz) screen reader should announce the label and role of the listbox when it gains focus.
HTML To MSAA - Accessibility
e_system_ focusable n/a "open"/"close" depending on state event_object_ valuechange when selected option is changed table role_system_ table from @summary attribute n/a described_by (0x100e) points to caption element n/a n/a td, th role_system_ cell n/a n/a n/a n/a n/a n/a thead role_system_ columnheader n/a n/a n/a n/a n/a n/a abbr, acronym, blockquote, form, frame, h1-h6,
iframe bstr role n/a n/a n/a n/a n/a n/a ...
aspect-ratio - CSS: Cascading Style Sheets
and height to aspect-ratio firefox has added an internal aspect-ratio property (in version 69 onwards) that applies to replaced elements and other related elements that accept width and height attributes.
<form> - HTML: Hypertext Markup Language
not set (and therefore the form is validated), it can be overridden by a formnovalidate attribute on a <button>, <input type="submit">, or <input type="image"> element belonging to the form.
CSP: object-src - HTTP
y-policy object-src directive specifies valid sources for the <object>, <embed>, and <applet> elements.
X-Frame-Options - HTTP
the x-frame-options http response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <
iframe>, <embed> or <object>.
Concurrency model and the event loop - JavaScript
just a message'); settimeout(function cb1() { console.log('callback 2: this is a msg from call back'); }, 0); console.log('this is the end'); })(); // "this is the start" // "this is just a message" // "this is the end" // "callback 1: this is a msg from call back" // "callback 2: this is a msg from call back" several runtimes communicating together a web worker or a cross-origin
iframe has its own stack, heap, and message queue.
begin - SVG: Scalable Vector Graphics
e x1="85" y1="25" x2="85" y2="55" stroke="grey" stroke-width=".5" /> <text x="110" y="20" text-anchor="middle">8s</text> <line x1="110" y1="25" x2="110" y2="55" stroke="grey" stroke-width=".5" /> <line x1="10" y1="30" x2="110" y2="30" stroke="grey" stroke-width=".5" /> <line x1="10" y1="55" x2="110" y2="55" stroke="grey" stroke-width=".5" /> </svg> this example is embed in an
iframe.
end - SVG: Scalable Vector Graphics
e x1="85" y1="25" x2="85" y2="55" stroke="grey" stroke-width=".5" /> <text x="110" y="20" text-anchor="middle">8s</text> <line x1="110" y1="25" x2="110" y2="55" stroke="grey" stroke-width=".5" /> <line x1="10" y1="30" x2="110" y2="30" stroke="grey" stroke-width=".5" /> <line x1="10" y1="55" x2="110" y2="55" stroke="grey" stroke-width=".5" /> </svg> this example is embed in an
iframe.
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
unknown elements in text render as unpositioned spans implementation status unknown offset distances of text positioned along a transformed path measured in text elements coordinate system implementation status unknown embedded content change notes <video> implementation status unknown <audio> implementation status unknown <
iframe> implementation status unknown <canvas> implementation status unknown <source> implementation status unknown <track> implementation status unknown painting change notes paint-order implemented (bug 828805) will-change instead of buffered-rendering implementation status unknown context-fill and context-...