File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1717 }
1818 }
1919 </ script >
20- < link rel ="modulepreload " href ="./src/late-panels.mjs " as ="script " />
21- < link rel ="modulepreload " href ="./src/262_worker.mjs " as ="script " />
20+ < link rel ="modulepreload " href ="./src/devtools/ late-panels.mjs " as ="script " />
21+ < link rel ="modulepreload " href ="./src/devtools/ 262_worker.mjs " as ="script " />
2222 < meta
2323 http-equiv ="Content-Security-Policy "
2424 content ="object-src 'none'; script-src 'self' 'sha256-YCezwjqZIYZtHaYW1WJzVCeRrxO0ie1Wg6rRb3iSlno=' https://chrome-devtools-frontend.appspot.com https://cdn.jsdelivr.net/ https://engine262.js.org/ "
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ import { FEATURES } from '../../lib/engine262.mjs';
1515
1616// Fix crash on Firefox (non standard / unsupported api used)
1717ShadowRoot . prototype . getSelection = ShadowRoot . prototype . getComponentSelection ;
18+ ShadowRoot . prototype . getBoundingClientRect = function ( ) {
19+ return this . host . getBoundingClientRect ( ) ;
20+ } ;
1821Element . prototype . scrollIntoViewIfNeeded = Element . prototype . scrollIntoView ;
1922
2023// @ts -ignore
@@ -28,6 +31,9 @@ if (localStorage.getItem('console-show-settings-toolbar') === null) {
2831if ( localStorage . getItem ( 'experiments' ) === null ) {
2932 localStorage . setItem ( 'experiments' , '{"protocol-monitor":true}' ) ;
3033}
34+ if ( localStorage . getItem ( 'engine262:decorators' ) === null ) {
35+ localStorage . setItem ( 'engine262:decorators' , 'true' ) ;
36+ }
3137// #endregion
3238
3339// #region i18n
You can’t perform that action at this time.
0 commit comments